Skip to main content
POST
Issue an app-scoped offline bearer token

Authorizations

X-API-KEY
string
header
required

Body

application/json

Optional parent viewer bearer

parent
string

Parent is the viewer bearer of the person whose request this app is serving. When present it must be valid; it is never ignored.

sandboxGrant
string

SandboxGrant is the credential only the app's sandbox holds. When present it must be the live grant of that sandbox; it is never ignored.

Response

OK

onBehalfOf
object

OnBehalfOf is set only when the request carried a valid parent bearer.

token
string

Token is an app-scoped bearer token for use in subsequent API calls.

tokenExpiresAt
integer

TokenExpiresAt is the Unix timestamp (seconds) when the bearer token expires.