Skip to main content
POST
Issue Org Service Account Token

Path Parameters

orgSlug
string
required
saSlug
string
required

Body

application/json
clientSecret
string
required

The raw client secret (sas_{orgSlug}_{uuid})

expiresIn
number

Requested token TTL in seconds (default 3600, max SA_TOKEN_MAX_TTL env)

Response

JWT token issued

JWT token issued for a service account

accessToken
string

JWT access token

expiresAt
string<date-time>

Token expiration timestamp

tokenType
string
Example:

"Bearer"

permissions
string[]

Effective permissions from the assigned role

scopes
string[]

Scope restrictions applied to this service account