Create Synchronous Export (Legacy)
Immediately generates and returns an export file (JSON or CSV) containing chat data. Use async export for large datasets.
POST
/api/v1/exports/sync
curl \
--request POST 'http://api.example.com/api/v1/exports/sync' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"format":"json","type":"chats"}'
Request examples
{
"format": "json",
"type": "chats"
}
Response examples (200)
string
Response examples (400)
{
"additionalProperty1": "string",
"additionalProperty2": "string"
}
Response examples (401)
{
"additionalProperty1": "string",
"additionalProperty2": "string"
}
Response examples (500)
{
"additionalProperty1": "string",
"additionalProperty2": "string"
}