POST
Create Workspace API Token

Authorizations

Authorization
string
header
required

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

Path Parameters

workspaceId
string
required

Body

application/json
name
string
required
Required string length: 1 - 255
scopes
enum<string>[]
required
Required array length: 1 - 20 elements
Available options:
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
default:90
Required range: 1 <= x <= 365

Response

201 - application/json

Default Response

apiToken
object
required