v1

latestOpenAPI 3.0.32026-08-06128539552.6 KB
Conversations
Chatbots

Import conversation

Import a previously created conversation into Dixa. For inbound messages the author is assumed to be the requester of the conversation (end user), unless the specific channel supports overriding the message author through its attributes. For outbound messages the author is specified using the agentId field.

post/beta/conversations/import

Request body

genericChannelNamestring required

The conversation channel. Currently supported values are 'email' and 'genericapimessaging'. See payload examples for each case.

requesterIdstring uuid required
requesterConnectionStatusstring

values: [Connected, Disconnected]

directionstring required

values: [Inbound, Outbound]

createdAtstring date-time required
externalIdstring
{"stackTrail":"components:schemas:GenericConversationImport:properties:attributes","oasType":"schema","type":"unknown","description":"A set of dynamic attributes that are specific to the conversation channel, but not limited to it. See channel specific examples for your use case."}

Response

The id of the imported conversation