Skip to main content
POST
Provision agent

Body

application/json

Request payload for agent provisioning.

token
string | null

The pairing code from the Cobo Agentic Wallet app. If provided, runs token-based provisioning and binds the agent to the owner immediately. If omitted, runs agent-first provisioning and returns an active agent credential.

invitation_code
string | null

An optional invitation code to apply during provisioning.

name
string | null

An optional display name for the provisioned agent. Defaults to 'Provisioned Agent' if omitted.

Response

Already exists (idempotent). Successful Response

result
ProvisionResponse · object
required

Provisioning result for both token and agent-first modes.

success
boolean
default:true
suggestion
string
default:""
message
string
default:""
meta
PaginationMeta · object | null

Pagination metadata for list responses.

Supports both legacy offset-based and cursor-based pagination. Cursor fields (has_more, after, before) are populated for cursor-paginated endpoints. Legacy fields (offset, limit) are populated when the caller uses the deprecated offset parameter.