POST
/
projects
/
{projectId}
/
conversations
curl --request POST \
  --url https://api.chat-dash.com/v1/public/projects/{projectId}/conversations \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "platformId": "<string>",
  "name": "<string>",
  "read:": false,
  "endedAt": "current_timestamp",
  "browser": "<string>",
  "device": "<string>",
  "os": "<string>",
  "countryCode": "<string>",
  "ipAddress": "<string>",
  "record": false,
  "interacted": false,
  "isLive": false,
  "channel": "<string>",
  "phone": "<string>",
  "instagramId": "<string>",
  "instagramUsername": "<string>"
}'
{
  "message": "Conversation added successfully",
  "conversation": {
    "_id": "<string>",
    "platformId": "<string>",
    "name": "<string>",
    "read:": true,
    "endedAt": "<string>",
    "browser": "<string>",
    "device": "<string>",
    "os": "<string>",
    "countryCode": "<string>",
    "ipAddress": "<string>",
    "record": true,
    "interacted": true,
    "isLive": false,
    "channel": "<string>",
    "phone": "<string>",
    "instagramId": "<string>",
    "instagramUsername": "<string>"
  }
}

Headers

Authorization
string
required

All requests to the ChatDash API must be validated with the agency API Key found on your agency profile

Path Parameters

projectId
string
required

The ID of the project

Body

application/json

Response

200
application/json

OK

The response is of type object.