Agent Sessions

Approve payment

Changed on

Approve on a payment request posts no body. The API returns the approval token for that pending payment, valid until 2026-09-02T15:10:00Z, with no extra sign-in check.

post/v1/agent-sessions/{id}/approvals/{approvalId}/token

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/agent-sessions/{id}/approvals/{approvalId}/token
  • Auth: HTTP bearer

Path parameters

idstring required

Session id.

Example:session_abc123

Stable session id.

approvalIdstring required

Approval id.

Example:session_abc123/turn/0/approval/0

Pending approval id.

Response

Approval token.

approvalTokenstring required

Token the chat sends with the granted decision.

expiresAtstring required

When this token stops working.

mfaboolean required

Whether an extra sign-in check backed this approval.

Example response

{
  "approvalToken": "agt_example.signature",
  "expiresAt": "2026-09-02T15:10:00Z"
}

Changes