Skip to main content
POST
Approve access request as test customer
Approves a pending access request as the test customer it was sent to. The agent gains the approved permissions exactly as if a real customer had approved. Send approvedPermissions to approve only some of them, or leave it out to approve them all.

Authorizations

Authorization
string
header
required

Bearer authentication: send your API key, agent key, or OAuth access token as Authorization: Bearer <credential>.

Headers

Idempotency-Key
string
required

Unique key for safely retrying a request without creating duplicates.

Maximum string length: 255
X-Instance-ID
string | null

Caller-chosen identifier for the agent run, session, or conversation, required when an agent moves money.

Maximum string length: 1024

Path Parameters

accessRequestId
string
required

Access request ID (aar_*).

Pattern: ^aar_[0-9a-f]{32}$

Body

application/json
data
SimulateAccessRequestApproveData · object
required

Response

Successful Response

data
AgentAccessRequestResource · object
required