Skip to main content
POST
/
v1
/
agents
/
sessions
/
{session_id}
/
confirmations
/
{confirmation_id}
Respond To Confirmation
curl --request POST \
  --url https://api.mixpeek.com/v1/agents/sessions/{session_id}/confirmations/{confirmation_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "approved": true
}
'
{
  "status": 123,
  "error": {
    "message": "<string>",
    "type": "<string>",
    "details": {}
  },
  "success": false
}

Headers

Authorization
string

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

Examples:

"Bearer YOUR_API_KEY"

"Bearer YOUR_STRIPE_API_KEY"

authorization
string
X-Namespace
string

REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace'

Examples:

"ns_abc123def456"

"production"

"my-namespace"

Path Parameters

session_id
string
required

Session ID

confirmation_id
string
required

Confirmation ID

Body

application/json

Request to approve or deny a pending confirmation.

approved
boolean
required

True to approve, False to deny the action

Response

Successful Response