Get Conversation

GET/v1/conversations/{conversationId}

VerifiedPublished by AgentPhone
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": "{id}",
"agentId": "{agentId}",
"groupId": null,
"isGroup": true,
"messages": [ 1 item ],
"metadata": null,
"createdAt": "{createdAt}",
"groupName": null,
"participant": "{participant}",
"phoneNumber": "{phoneNumber}",
"groupIconUrl": null,
"messageCount": 1,
"participants": null,
"lastMessageAt": "{lastMessageAt}",
"phoneNumberId": "{phoneNumberId}"
}
}
Example values, built from the documented fields.

Free

Calls cost nothing.

About this endpoint

Get a conversation with all messages.

Path parameters

Response types

More from AgentPhone

  1. Set Agent WebhookPOST/v1/agents/{agentId}/webhookFree
  2. Detach Number from AgentDELETE/v1/agents/{agentId}/numbers/{numberId}Free
  3. List VoicesGET/v1/agents/voicesFree
  4. Update AgentPATCH/v1/agents/{agentId}Free
  5. List Agent CallsGET/v1/agents/{agentId}/callsFree
  6. Make CallPOST/v1/calls$0.10 per callFixed
  7. Send SMSPOST/v1/messages$0.03 per callFixed
  8. List MessagesGET/v1/numbers/{numberId}/messagesFree
  9. Get AgentGET/v1/agents/{agentId}Free
  10. Release NumberDELETE/v1/numbers/{numberId}Free
  11. Get Agent WebhookGET/v1/agents/{agentId}/webhookFree
  12. Attach Number to AgentPOST/v1/agents/{agentId}/numbersFree
All 20 AgentPhone endpoints