POST
/
projects
/
{projectId}
/
conversations

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
browser
string

The browser used for the conversation

channel
string

The channel where the conversation took place (Webchat, WhatsApp, Instagram)

countryCode
string

The country code associated with the user's location (ISO 3166-1 alpha-2)

device
string

The device used for the conversation

endedAt
string
default:
current_timestamp

The date and time the conversation ended (ISO 8601 format: YYYY-MM-DDTHH:mm:ss.sssZ)

instagramId
string

The Instagram ID of the user for Instagram conversations

instagramUsername
string

The Instagram username of the user for Instagram conversations

interacted
boolean
default:
false

Whether there is user interaction in the conversation

ipAddress
string

The IP address of the User

isLive
boolean
default:
false

Whether the conversation is still ongoing or has ended

name
string

The name of the user who created the conversation

os
string

The operating system used for the conversation

phone
string

The phone number of the user for WhatsApp conversations

platformId
string

The ID of the conversation from the original platform (e.g. Voiceflow transcriptID, OpenAI thread_id)

read:
boolean
default:
false

Whether the conversation has been read

record
boolean
default:
false

Whether to record the conversation

Response

200 - application/json
conversation
object
message
string