Skip to main content
POST
Create service account

Authorizations

Authorization
string
header
required

User keys begin with darwin_. Application service-account keys begin with darwin_sa_ and are restricted to linked agents.

Path Parameters

applicationId
string
required

Body

application/json
name
string
required
Maximum string length: 160
scopes
enum<string>[]
Available options:
agents:read,
agents:write,
members:read,
conversations:read,
conversations:write,
requests:read,
requests:write,
agent:read,
agent:write,
goals:read,
goals:write,
deals:read,
deals:write
expiresAt
string<date-time>

Response

The service account and one-time plaintext key.

serviceAccount
object
required