Create Conversation
POST/conversations/
Creates a new conversation with the data provided
Request
Version stringrequired
API Version
Available options
v3- application/json
- Body
- Example (auto)
Bodyrequired
locationIdstringrequired
Location ID as string
contactIdstringrequired
Contact ID as string
{
"locationId": "tDtDnQdgm2LXpyiqYvZ6",
"contactId": "tDtDnQdgm2LXpyiqYvZ6"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
Indicates whether the API request was successful.
conversationobjectrequired
Conversation data of the provided conversation ID.
{
"success": true,
"conversation": {
"id": "tDtDnQdgm2LXpyiqYvZ6",
"dateUpdated": "2023-10-01T12:00:00Z",
"dateAdded": "2023-10-01T12:00:00Z",
"deleted": false,
"contactId": "ve9EPM428kjkvShlRW1KT",
"locationId": "ve9EPM428kjkvShlRW1KT",
"lastMessageDate": "2023-10-01T12:00:00Z",
"assignedTo": "ve9EPM428kjkvShlRW1KT"
}
}