Skip to main content
POST
Submit a conversation

Authorizations

Authorization
string
header
required

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

Body

application/json
id
string

The unique identifier for the conversation.

Example:

"conversation-123"

title
string | null

The title of the conversation.

Example:

"Customer Support Request"

source
string

The source of the conversation.

Example:

"intercom"

createdAt
string<date-time>

The date and time the conversation was created.

Example:

"2024-01-01T00:00:00.000Z"

updatedAt
string<date-time> | null

The date and time the conversation was last updated.

Example:

"2024-01-01T00:00:00.000Z"

contacts
object[]
messages
object[]
rating
number | null

The numeric rating (integer)

shouldUnflattenProperties
boolean | null

Whether to unflatten properties that are meant to be nested objects for example { "plan.type": "Pro" } will be unflattened to { "plan": { "type": "Pro" } }

propagatePropertiesToMessages
boolean | null
default:false

When true, conversation-level properties are merged into each message's rawData. Message properties take precedence over conversation properties when there are key conflicts.

properties
object

Additional metadata properties (key-value pairs)

Response

Conversation submitted successfully.

success
boolean
Example:

true