Skip to main content
POST
/
v1
/
conversations
/
{id}
/
export
Export a conversation
curl --request POST \
  --url https://dev.flextell.ai/api/v1/conversations/{id}/export \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "format": "json",
  "message_count": 5000,
  "export_all": true,
  "include_context": true
}
'
{}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Tenant
number

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Path Parameters

id
integer
required

The conversation identifier

Body

application/json
format
enum<string>
required
Available options:
json,
csv,
txt,
html
message_count
integer | null
Required range: 1 <= x <= 10000
export_all
boolean | null
include_context
boolean | null

Response

The response is of type object.