POST
Create Workspace API Token

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

workspaceId
string
requis

Corps

application/json
name
string
requis
Required string length: 1 - 255
scopes
enum<string>[]
requis
Required array length: 1 - 20 elements
Options disponibles:
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
défaut:90
Plage requise: 1 <= x <= 365

Réponse

201 - application/json

Default Response

apiToken
object
requis