Skip to main content
POST
/
conversations
Create a new Conversation
curl --request POST \
  --url https://app.ledger.ai/api/conversations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

filters
string

JSON post body:

{
"chat_app"?: integer
"customer_id"?: integer
"data"?: object
"labels": integer[]
"provider_id"?: integer
"title"?: string
"user_id": integer
}

Possible errors:

Field "labels": "Labels is required"

Field "user_id": "User ID is required"

Body

application/json

Request payload

The body is of type object.

Response

Successful response

The response is of type object.