Create an installation-scoped access token
Returns a Narrative API access token scoped to the given installation, carrying the permissions granted to the application at installation.
With a user-bound bearer token, the access token is created on behalf of the authenticated user for an installation belonging to the user’s company. The token is used with an application (e.g., the S3 connector) to allow the application to call Narrative’s API on the user’s behalf.
With an app client-credentials bearer token (obtained via POST /oauth/token with
grant_type=client_credentials), the access token is created by the application itself
for one of its own installations, allowing the application to act on behalf of a
company that has installed it. Use GET /installations with the app token to discover
installation ids.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier for the installation.
Response
Successfully created an installation-scoped access token.
The access token
"xxxxxxxxxxx"
The TTL of the access_token in seconds
3600
The refresh token
"yyyyyyyyyyy"
The TTL of the refresh_token in seconds
14400

