POST
Create Workspace API Token

Autorizări

Authorization
string
header
obligatoriu

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parametri cale

workspaceId
string
obligatoriu

Corp

application/json
name
string
obligatoriu
Required string length: 1 - 255
scopes
enum<string>[]
obligatoriu
Required array length: 1 - 20 elements
Opțiuni disponibile:
workspace:read,
bots:read,
bots:write,
sessions:read,
sessions:write,
results:read,
results:write,
webhooks:read,
webhooks:write,
billing:read,
integrations:read,
integrations:write
expiresInDays
integer
implicit:90
Interval necesar: 1 <= x <= 365

Răspuns

201 - application/json

Default Response

apiToken
object
obligatoriu