Open Data Platform for Headless Content

Go to site

Directus API Integrations

Build and run workflows using the Directus API. Use 1000s of open source triggers and actions across 500+ apps. Or write custom code to integrate any app or API in seconds.

return await require("@pipedreamhq/platform").axios(this, {
  url: `${auths.directus.api_host}/users/me`,
  headers: {
    Authorization: `Bearer ${auths.directus.access_token}`,


Directus uses API keys for authentication. When you connect your Directus account, Pipedream securely stores the keys so you can easily authenticate to Directus APIs in both code and no-code steps.

For api_host, use your API host url such as

For access_token, each user can have one static token that will never expire. This is useful for server-to-server communication. This token is saved to the database (directus_users.token) in plain-text and can be retrieved through the /auth/login endpoint. See docs.