Authorizations
Path Parameters
The Ampersand project ID or project name.
Query Parameters
Whether to include the credentials in the response. Only access token will be included. Default is false.
Whether to include the refresh token in credentials in the response along with access token. If true, the includeCreds
query parameter will be ignored. Default is false.
Whether to refresh the access token. If value is ifExpired
, the access token will be refreshed only if it has expired. If value is force
, the access token will be refreshed regardless of its expiration.
force
, ifExpired
Response
Connection
The connection ID.
"connection-123"
The Ampersand project ID.
"project-456"
The SaaS provider that this Connection is for.
"salesforce"
The time the connection was created.
"2023-07-13T21:34:44.816Z"
The authentication scheme used for this connection.
none
, apiKey
, basic
, oauth2/authorizationCode
, oauth2/authorizationCodePKCE
, oauth2/clientCredentials
, oauth2/password
"oauth2/authorizationCode"
The status of the connection.
created
: The connection has just been created or the access token was just refreshed.working
: The connection has successfully been used to make a request.bad_credentials
: The connection encountered credential-related issues when making a request, or when attempting to refresh the access token.
created
, working
, bad_credentials
"working"
If available, the identifier for the provider workspace (e.g. the Salesforce subdomain)
"provider-workspace-123"
If available, the ID that Salesforce/Hubspot uses to identify this user (e.g. Salesforce has IDs in the form of https://login.salesforce.com/id/00D4x0000019CQTEA2/0054x000000orJ4AA)
"provider-consumer-123"
The time the connection was last updated.
"2023-07-13T21:34:44.816Z"
The API key used while making the connection.
"api-key-123"