Skip to main content
POST
Create a scoped REST credential (secret shown once)

Authorizations

Authorization
string
header
required

A workspace API key, sent as Authorization: Bearer sempera_sk_... Each operation names the one scope it needs. Scopes, key kinds and roles are in the Authentication guide.

Body

application/json
client
enum<string>
required
Available options:
muse
scopes
enum<string>[]
required
Available options:
phone:read,
phone:call,
phone:text
expires_in_days
integer
Required range: 1 <= x <= 365

Response

Created

id
string
required
object
any
required
kind
enum<string>
required
Available options:
oauth,
bearer,
rest
client
string
required
label
string
required
verified
boolean
required
redirect_host
string | null
required
scopes
string[]
required
status
enum<string>
required
Available options:
active,
revoked,
expired
workspace_id
string
required
created_at
string | null
required
expires_at
string | null
required
last_used_at
string | null
required
revoked_at
string | null
required
secret
string
required

Shown once, only on creation.

note
string
required