Resolve An SMS Conversation Thread (M2M)
Read-only lookup for the most recent still-fresh conversation matching (agent_id, source, external_identifier), or null with no messages if none is fresh enough to continue. Authenticated with a BundleAccessToken for the SAME deployment the agent belongs to.
Authorization
BundleAccessToken AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/bundler/conversations/thread-lookup" \ -H "Content-Type: application/json" \ -d '{ "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978", "source": "string", "external_identifier": "string", "window_minutes": 1 }'{ "conversation_id": "cc71b11a-25cd-4c2d-9950-df2cc38e3407", "messages": [ { "role": "string", "tool_name": "string", "content": "string" } ]}Empty
{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}