cURL
curl --request GET \ --url https://api.getoutbox.ai/conversations/{contact_id} \ --header 'Authorization: <api-key>'
{ "contact": { "id": "<string>", "name": "<string>", "email": "<string>", "phone": "<string>", "tags": [ "<string>" ] }, "messages": [ { "type": "message", "id": "<string>", "timestamp": "2023-11-07T05:31:56Z", "role": "user", "message": "<string>", "platform": "<string>" } ], "pagination": { "page": 123, "total": 123, "has_next": true, "has_previous": true } }
Retrieve unified conversation history for a contact (messages, calls, tool calls, and interrupts)
Company API Key
User's timezone for timestamp formatting (defaults to UTC)
The ID of the contact
Page number for pagination. Page size is 10 items.
Conversation history retrieved successfully
Show child attributes
Unified conversation history with messages, calls, tool calls, and interrupts
message
In user timezone
user
assistant