Management API
//
Create Integration Token
Create an adhoc integration token restricted to a single integration. The token used to call this API must have the necessary permissions to create tokens and have access to the account and integration IDs. Permissions may not be escalated, so any operation that the invocation token does not have access to cannot be granted.
Operation ID: tokens_create_integration_token
Security
BearerAuth
- Synqlyhttps://api.synqly.com/v1/tokens/{accountId}/{integrationId}
curl -i -X POST \
'https://api.synqly.com/v1/tokens/{accountId}/{integrationId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'Response
{ "result": { "secret": "string", "expires": "2019-08-24T14:15:22Z", "permissions": { … }, "claims": {} } }