v2

latestOpenAPI 3.1.02026-07-31822441.6 KB

Retrieve access token

Uses the tenant's linked credentials to retrieve a new access token for a given connector. Only supported on select connectors

get/{env_id}/{flow_id}/{tenant}/connectors/{connector_id}/accesstoken

Path parameters

env_idstring required

ID of environment

flow_idstring required

ID of flow

tenantstring required

ID of tenant

connector_idstring required
Example:salesforce

ID of connector

Query parameters

include_propertiesstring
Example:refresh_token,expires_in

Comma separated list of properties to include in addition to acces token.

Response

200

successboolean
access_tokenstring

Example response

{
  "success": true,
  "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."
}