Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

API key authentication. Pass Authorization: Bearer ek_live_xxxxx on every request.

Path Parameters

ws
required
Required string length: 2 - 48
Pattern: ^[a-z0-9-]+$

Body

application/json
name
string
required
Required string length: 1 - 64
permission
enum<string>
required
Available options:
read,
read-write
scope
object
required
expiresIn
enum<string>
required
Available options:
24h,
5d,
30d,
60d,
3m,
6m

Response

201 - application/json

Default Response

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
token
string
required
name
string
required
prefix
string
required
permission
enum<string>
required
Available options:
read,
read-write
scope
object
required
expiresAt
string
required