
Get Conversation
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "agentphone",
"path": "",
"method": "GET"
}'
{
"success": true,
"data": {
"id": "example",
"agentId": "example",
"groupId": null,
"isGroup": true,
"messages": [ 1 item ],
"metadata": null,
"createdAt": "example",
"groupName": null,
"participant": "example",
"phoneNumber": "example",
"groupIconUrl": null,
"messageCount": 123,
"participants": null,
"lastMessageAt": "example",
"phoneNumberId": "example"
}
}
Example values, built from the documented fields.
Free
About this endpoint
Get a conversation with all messages.
Parameters
This endpoint takes no parameters.
Response types
More from AgentPhone
- Set Agent WebhookPOST/v1/agents/{agentId}/webhookFree
- Detach Number from AgentDELETE/v1/agents/{agentId}/numbers/{numberId}Free
- List VoicesGET/v1/agents/voicesFree
- Update AgentPATCH/v1/agents/{agentId}Free
- List Agent CallsGET/v1/agents/{agentId}/callsFree
- Make CallPOST/v1/calls$0.1000 per call
- Send SMSPOST/v1/messages$0.0300 per call
- List MessagesGET/v1/numbers/{numberId}/messagesFree
- Get AgentGET/v1/agents/{agentId}Free
- Release NumberDELETE/v1/numbers/{numberId}Free
- Get Agent WebhookGET/v1/agents/{agentId}/webhookFree
- Attach Number to AgentPOST/v1/agents/{agentId}/numbersFree