Create a Chats Export

Create a chat log export for agent_id containing all of the Agent's chats.

Use the export_id in the GET chat logs endpoint to get the result of the create chat logs request (zipped JSON files).

(The chat log export will be deleted from the database after 7 days from the export creation date)

Body Params
string
required

The id of the agent that the export will run for

string

The start of the time range for the export. If not provided, the export will start from the beginning of the agent's data

string

The end of the time range for the export. If not provided, the export will run until the current time

boolean

Determines if the export should fetch persistent chats. Defaults to true.

string

Pagination - used to continue the creation of the chat log using this same endpoint

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json