Create an integration installation API token
Creates a temporary API token of an integration's installation that has access to the installation and it's scopes. You must be authenticated as the integration to obtain this token.
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
integrationNamestring · max: 100RequiredPattern:
Name of the integration.
^[a-zA-Z0-9-_.]+$installationIdstringRequired
Identifier of the installation
Responses
200
The API token for the installation
application/json
tokenstringRequired
Temporary access token to authenticate with the API
404
Installation could not be found
application/json
post/integrations/{integrationName}/installations/{installationId}/tokens
POST /v1/integrations/{integrationName}/installations/{installationId}/tokens HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"token": "text"
}Last updated
Was this helpful?