Get a connection to a 3rd Party Application
This endpoint can be used by your server to retrieve an access token for a specific connection to a 3rd party application. It will automatically refresh expired access tokens if the corresponding service supports it.
This is an advanced API endpoint. If you only have one connection to a given service per user, you should instead use Get User Connection by slug.
If the user has not yet enabled the connection, the enabled
parameter of the connection
will be false
.
If the user has enabled the connection, but no access token is available, the credential
parameter of the authorization
will be empty, and the status
parameter will be something other than active
(most commonly error
).
See the Retrieving Access Tokens Guide for examples of how to use this endpoint.