Create Conversation

POSThttps://services.leadconnectorhq.com/conversations/
Creates a new conversation with the data provided
Request

Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.

Provide your bearer token in the Authorization header when making requests to protected resources.

Example: Authorization: Bearer 123
Body
locationId
string
required

Location ID as string

Example:
tDtDnQdgm2LXpyiqYvZ6
contactId
string
required

Contact ID as string

Example:
tDtDnQdgm2LXpyiqYvZ6
Headers
Authorization
string
required

Access Token

Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
string
required

API Version

Allowed value:
2021-07-28

Responses

Successful response

success
boolean
required

Indicates whether the API request was successful.

Example:
true
conversation
object
required

Conversation data of the provided conversation ID.

id
string
required

Unique identifier for the conversation

Example:
tDtDnQdgm2LXpyiqYvZ6
dateUpdated
string
required

Date when the conversation was last updated

Example:
2023-10-01T12:00:00Z
dateAdded
string
required

Date when the conversation was created

Example:
2023-10-01T12:00:00Z
deleted
boolean
required

Flag indicating if this conversation has been deleted

Example:
false
contactId
string
required

Unique identifier of the contact associated with this conversation

Example:
ve9EPM428kjkvShlRW1KT
locationId
string
required

Unique identifier of the business location where this conversation takes place

Example:
ve9EPM428kjkvShlRW1KT
lastMessageDate
string
required

Date of the last message in the conversation

Example:
2023-10-01T12:00:00Z
assignedTo
string

Unique identifier of the team member assigned to this conversation

Example:
ve9EPM428kjkvShlRW1KT

Unprocessable Entity

statusCode
number
Example:
422
message
array[string]
Example:
["Unprocessable Entity"]
error
string
Example:
Unprocessable Entity

Unauthorized

statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized

Bad Request

statusCode
number
Example:
400
message
string
Example:
Bad Request