Resolve Page Action (M2M)
Appends the page action's tool_result and closes it, compare-and-set on pending. A call that is no longer pending is a 409 carrying the row, so a retried request can recognise its own success. capture_attachment_ids bind the widget's page captures to the conversation and link them to the tool_result; an id that is not an accessible capture of this agent is a 422 capture_not_accessible and nothing is written.
Authorization
BundleAccessToken AuthorizationBearer <token>
In: header
Path Parameters
conversation_id*Conversation Id
Format
uuidcall_id*Call Id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/bundler/conversations/497f6eca-6276-4993-bfeb-53cbbbba6f08/client-actions/string/resolve" \ -H "Content-Type: application/json" \ -d '{ "status": "completed", "result": "string" }'{ "call_id": "string", "action": "string", "args": {}, "requires_approval": true, "status": "pending", "page_url": "string", "landing_url": "string", "expires_at": "2019-08-24T14:15:22Z", "approval_decision": "approved", "decided_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "result_summary": "string", "capture_attachment_ids": [ "e80675e3-3e76-4b08-a1bb-cef8b56e29d0" ]}Empty
Empty
Empty