POST
Create Workspace API Token

Autorisierungen

Authorization
string
header
erforderlich

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

Pfadparameter

workspaceId
string
erforderlich

Body

application/json
name
string
erforderlich
Required string length: 1 - 255
scopes
enum<string>[]
erforderlich
Required array length: 1 - 20 elements
Verfügbare Optionen:
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
Standard:90
Erforderlicher Bereich: 1 <= x <= 365

Antwort

201 - application/json

Default Response

apiToken
object
erforderlich