Skip to main content
This is the unified API reference for Zapier’s public APIs served from https://api.zapier.com. Select an API in the sidebar to browse its endpoints, schemas, authentication, and an interactive playground, all generated from the API’s OpenAPI spec.

Before you begin

Every request acts on behalf of a Zapier user. You need:
  • A Zapier account. The access token you use belongs to that account, so a request can only read or change what that account can access in Zapier.
  • OAuth client credentials, which you exchange for an access token. The next sections cover both.

Authentication

All Zapier public APIs are served from https://api.zapier.com and use OAuth 2.0. Pass your access token in the Authorization header on every request:
Some Workflow API endpoints use Client ID authentication instead.

Get an access token

To call the APIs as yourself (from a script, a server, or an AI agent), create OAuth client credentials and exchange them for an access token. Client credentials are a client ID and client secret that act on behalf of the Zapier user who created them. They are not the Embed app credentials from the Zapier Developer Platform that the Workflow API uses for an app access token. The client secret and the access tokens it creates give access to all public APIs as you. Protect them like your Zapier password.

Create client credentials

Create credentials in your Zapier account, or with the Zapier SDK CLI. Both methods create the same kind of credentials, and you exchange them for a token the same way. In your Zapier account: use this method when you cannot install the Zapier SDK.
  1. Go to SDK credentials in your Zapier account.
  2. Create a new credential.
  3. Copy the client secret immediately and store it in a secret manager. Zapier shows it only once.
  4. Return to the list of credentials.
  5. Select the row for your new credential to get its client ID.
You manage your existing credentials on the same page. With the Zapier SDK CLI: if you already use the Zapier SDK, or can install it (Node.js 20 or later), create credentials from your terminal:
If the terminal cannot open a browser, add --headless to login. login stores its own credential in your operating system’s keychain for the SDK and CLI. create-client-credentials creates a separate credential, asks you to confirm, and then prints the client_id and client_secret as plain text. Copy the secret into a secret manager now: Zapier returns it only once. Do not run the command where the output is recorded, such as CI logs, a shared screen, or a terminal recording. For every option, go to create-client-credentials in the CLI reference.
The Zapier SDK is off by default on Enterprise accounts. To request access, contact your account team or Zapier Support.

Keep your credentials safe

  • Keep the client secret and access tokens in a secret manager, or in a .env file that git ignores. Never commit them.
  • Do not type or paste the secret into a command. For example, export ZAPIER_CREDENTIALS_CLIENT_SECRET=<value> writes the value to your shell history.
  • Never paste a client secret or access token into an AI chat.
  • Use a separate credential for each environment, such as local development, staging, and production.
  • Delete credentials that you no longer use.
  • If a secret is exposed, delete the credential and create a new one.

Exchange the credentials and call an API

1

Load your credentials into environment variables

Set ZAPIER_CREDENTIALS_CLIENT_ID and ZAPIER_CREDENTIALS_CLIENT_SECRET, the same variables the Zapier SDK reads. Load them from your secret manager or a .env file that git ignores. To enter the secret by hand, use read -s, which keeps it off the screen and out of your shell history:
2

Exchange the credentials for an access token

This request matches the one the Zapier SDK sends. printf passes the secret to curl on standard input, so the secret does not appear in the process list. The example uses jq to save the token in a variable:
The response includes an access_token and its lifetime in seconds in expires_in (currently 36000, or 10 hours). Zapier does not return a refresh token. Reuse the token until it expires, then request a new one the same way. Do not exchange the secret for every API call.
3

Call an API

Pass the token in the Authorization header. This request lists the Zapier tables your account can access:
To store client credentials on a server, in CI, or on a cloud platform, follow Deploy.

Act on behalf of other users

Client credentials act as you. To call the APIs on behalf of other people, use the flow that matches your integration:

Using the reference

Each API in the sidebar includes an interactive playground where you can make live requests. Select an endpoint, fill in the parameters, and run it directly from the browser.

Not sure which API to use?

Last modified on December 3, 2026