Authentication
OAuth2 authentication and authorization endpoints
Authorize Consent
Processes the user's consent decision for an authorization request. This is the delegated flow used by existing integrations such as Zapier. Organisation-owned client_credentials integrations do not call this endpoint. This endpoint is typically called after the user has logged in and granted access to the requested scopes. The response will redirect the user back to the client application with the appropriate authorization code or error.
Authorize Consent › Request Body
client_idThe client ID of the application requesting authorization.
redirect_uriThe URI to redirect the user to after consent.
scopeRequested scopes.
stateAn opaque value used by the client to maintain state.
response_typeExpected response type (e.g. "code").
Authorize Consent › Responses
Consent decision processed. Typically results in a redirect to the client's redirect_uri with an authorization code (if approved) or an error.
Authenticate
Exchanges an authorization grant (e.g., authorization code, client credentials, refresh token) for an access token. Organisation-owned clients support only client_credentials, return a 3600-second access token, and never receive refresh tokens. They accept HTTP Basic or body credentials, in JSON or form-encoded requests. Do not combine authentication methods or send credentials in the query string. Invalid Authorization headers never fall back to body authentication. Requests are rate limited. On 429, wait for the Retry-After delay before retrying. See rate limits for retry guidance. Cache access tokens until near expiry rather than requesting one per API call.
Authenticate › Request Body
grant_typeThe grant type. Determines the set of other required parameters. Supported values include:
authorization_code: For exchanging an authorization code for an access token.refresh_token: For obtaining a new access token using a refresh token.client_credentials: For client authentication directly (if supported by the server).
client_idYour application's client ID.
Required for authorization_code and client_credentials grants.
May be required for refresh_token grant if the server enforces client authentication for refresh tokens.
client_secretYour application's client secret.
Required for authorization_code and client_credentials grants if the client is confidential.
May be required for refresh_token grant if the server enforces client authentication for refresh tokens with confidential clients.
codeThe authorization code received from the authorization server.
Required if grant_type is authorization_code.
redirect_uriThe redirect URI that was used in the initial authorization request to obtain the code.
Required if grant_type is authorization_code. Must match the URI used in the authorization request.
refresh_tokenThe refresh token issued to the client.
Required if grant_type is refresh_token.
scopeOptional. The requested scope(s) for the access token.
For organisation clients, use a space-separated subset of the approved read and write scopes.
Omit this field to request all approved scopes. write does not imply read.
Other grants retain their existing scope behavior.
Authenticate › Responses
Successfully issued access token.
access_tokenThe access token string.
token_typeType of the token issued (e.g., "Bearer").
expires_inThe lifetime in seconds of the access token.
refresh_tokenThe refresh token, which can be used to obtain new access tokens. (Optional)
scopeThe scope of the access token. (Optional)
Revoke an organisation access token
Requires HTTP Basic; body credentials are not accepted. Revokes only tokens belonging to the authenticated organisation client. Unknown or other clients' tokens return 200 without affecting those clients. Does not change legacy Zapier disconnect behavior. Requests are rate limited. On 429, wait for the Retry-After delay before retrying. See rate limits for retry guidance.
Revoke an organisation access token › Responses
Request processed. Empty response body.