Skip to main content
POST
/
connections
/
{connection_id}
/
token
Create Connection Token
curl --request POST \
  --url https://api.example.com/connections/{connection_id}/token \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "scope": "access"
}
'
{
  "connection_token": "<string>"
}

Headers

x-api-key
string
required

The client's API key secret value

Path Parameters

connection_id
string
required

A unique identifier for the connection

Body

application/json
scope
enum<string>
required

The intended scope of the token to be generated

Available options:
access
Example:

"access"

Response

Successful Response

connection_token
string
required

The generated connection token

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."