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 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "approved": true
}
'
{
  "status": 123,
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": "<string>",
    "details": {}
  },
  "success": false
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

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