Decide a pending permission request

POST/v1/threads/{threadId}/permission-requests/{requestId}/decision

Approve or deny a live or persisted runtime permission request for this thread.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
threadIdpathstringYesThread ID
requestIdpathstringYes
Query parameters
None.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
decisionallow | denyYes
reasonstringNo

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Permission decision acceptedapplication/json
FieldTypeRequiredDescription
okbooleanYes
requestIdstringYes
decisionallow | denyYes
activebooleanNoWhether the decision was delivered to a live waiting runtime session.
messagestringNoMessage text.
404Thread or permission request not found
None.
Decide a pending permission request
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow