POST
Create Workspace API Token

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de caminho

workspaceId
string
obrigatório

Corpo

application/json
name
string
obrigatório
Required string length: 1 - 255
scopes
enum<string>[]
obrigatório
Required array length: 1 - 20 elements
Opções disponíveis:
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
padrão:90
Intervalo necessário: 1 <= x <= 365

Resposta

201 - application/json

Default Response

apiToken
object
obrigatório