Filter for conversations closed after this date. Format should be yyyy-mm-dd or Unix timestamp in ms
Exports API (1.0.0)
Welcome to the Dixa Exports API, which allows you to seamlessly stream up-to-date conversation and message data from the Dixa platform. This can be used to pull Dixa data into your own system, for warehousing purposes. For advanced analytics, BI reporting and audit purposes, have a look at our Analytics API.
Filter for conversations closed before this date. Format should be yyyy-mm-dd or Unix timestamp in ms
Filter for conversations created after this date. Format should be yyyy-mm-dd or Unix timestamp in ms
Filter for conversations created before this date. Format should be yyyy-mm-dd or Unix timestamp in ms
Filter for conversations updated after this date. Format should be yyyy-mm-dd or Unix timestamp in ms
Filter for conversations updated before this date. Format should be yyyy-mm-dd or Unix timestamp in ms
Filter for conversations where the last message was created after this date. Format should be yyyy-mm-dd or Unix timestamp in ms
Filter for conversations where the last message was created before this date. Format should be yyyy-mm-dd or Unix timestamp in ms
- Mock serverhttps://docs.dixa.io/_mock/openapi/exports-api/v1/conversation_export
- https://exports.dixa.io/v1/conversation_export
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.dixa.io/_mock/openapi/exports-api/v1/conversation_export?closed_after=2022-01-01&closed_before=1646151737080&created_after=2019-08-24&created_before=2019-08-24&updated_after=2019-08-24&updated_before=2019-08-24&last_message_created_after=2019-08-24&last_message_created_before=2019-08-24&csids=123%2C456' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Array of conversations
The channel through which the communication was established
Additional email addresses of the enduser who requested the conversation
Additional phone numbers of the enduser who requested the conversation
Called phone number id (for inbound calls), which is the phone number itself
Calling phone number id (for outbound calls), which is the phone number itself
Cumulative assignment time across all agents that handled the conversation (in seconds). Can be different from handling_duration. This value corresponds to the handling_duration field in the "Integrations -> Export Conversations" CSV file.
Type of link associated with the conversation
Rating score. This field is only relevant if you have set up the thumbs up/down ratings
Rating message associated with the rating score. This field is only relevant if you have set up the thumbs up/down ratings
Call duration in seconds if it exists. This is a derived value closed_at - created_at. For advanced analytics, take a look at our Analytics API.
Handling duration in seconds. This is a derived value closed_at - assigned_at. For advanced analytics, take a look at our Analytics API.
[ { "id": 0, "created_at": 0, "initial_channel": "email", "requester_id": "5fe88a55-c92f-4e12-bd25-87bf15036ce9", "requester_name": "string", "requester_email": "string", "requester_additional_emails": [ … ], "requester_phone_number": "string", "requester_additional_phone_numbers": [ … ], "queued_at": 0, "queue_id": "cefd6192-7a66-4699-a2fc-dbb7f43ad507", "queue_name": "string", "closed_at": 0, "rating_score": 0, "rating_message": "string", "ratings": [ … ], "direction": "inbound", "assigned_at": 0, "assignee_id": "e209ca2d-190b-4818-b659-67d4ef4f1ce8", "assignee_name": "string", "assignee_email": "string", "assignee_phone_number": "string", "to_provisioned_phone_number_id": "string", "to_provisioned_phone_number_name": "string", "total_duration": 0, "handling_duration": 0, "dixa_email_integration_id": "string", "dixa_email_integration_sender_name": "string", "forwarding_email": "string", "facebook_page_id": "string", "facebook_page_name": "string", "widget_id": "917f3fdb-2905-481f-8ff6-04c0fb7d466c", "widget_name": "string", "tags": [ … ], "tags_info": [ … ], "conversation_wrapup_notes": [ … ], "transferee_name": "string", "transfer_time": 0, "originating_country": "string", "updated_at": 0, "last_message_created_at": 0, "status": "open", "transferee_number": "string", "from_provisioned_phone_number_id": "string", "from_provisioned_phone_number_name": "string", "subject": "string", "anonymized_at": 0, "custom_fields": [ … ], "exports_handling_duration": 0, "link_type": "side", "linked_at": 1762787749131, "linked_to": 14665 } ]
- Mock serverhttps://docs.dixa.io/_mock/openapi/exports-api/v1/message_export
- https://exports.dixa.io/v1/message_export
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.dixa.io/_mock/openapi/exports-api/v1/message_export?created_after=2022-01-01&created_before=1646151737080' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Array of messages
The channel through which the communication was established
Phone number the conversation was initiated from. Relevant only for PTSN phone and voicemail channels
Phone number the conversation was aimed for. Relevant only for PTSN phone and voicemail channels
Length of the call/voicemail. Relevant only for PTSN phone and voicemail channels
Email address(es) a conversation was aimed for. Relevant only for email and contact form channels
Email address a conversation was initiated from. Relevant only for email and contact form channels
Link(s) to files that have been attached to the message. Relevant only for email and Facebook Messenger channel
Whether a message has been generated automatically or by an agent. Relevant only for widget chat
Input question initiating the conversation. Relevant only for widget chat
Input answer initiating the conversation. Relevant only for widget chat
Menu text initiating the conversation. Relevant only for widget chat
Form submission associated with the message. Relevant only for Messenger and ContactForm channels
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "csid": 0, "created_at": 0, "initial_channel": "widgetchat", "author_name": "string", "author_email": "string", "direction": "inbound", "text": "string", "from_phone_number": "string", "to_phone_number": "string", "duration": 0, "recording_url": "string", "voicemail_url": "string", "to": [ … ], "from": "string", "cc": [ … ], "bcc": [ … ], "attached_files": [ … ], "is_automated_message": true, "chat_input_question": "How can we help?", "chat_input_answer": "None of the above", "chat_menu_text": "Please input your order number.", "form_submission": { … } } ]