Skip to main content
POST
Issue an agent token

Authorizations

Authorization
string
header
required

Organization key (alk_…) created under Settings; acts for the whole organization

Path Parameters

agentId
string
required

Agent id

Body

application/json
name
string
required
Required string length: 1 - 80
capabilities
string[]
required
Required array length: 1 - 10 elements
expires_in_days
integer
Required range: 1 <= x <= 365

Response

Token and plaintext

token
object
required
plaintext
string
required

Shown once