conversation_create_payload
Conversation source id
1234567890Id of inbox in which the conversation is created
Allowed Inbox Types: Website, Phone, Api, Email
1Contact Id for which conversation is created
1Lets you specify attributes like browser information
{"browser":"Chrome","browser_version":"89.0.4389.82","os":"Windows","os_version":"10"}The object to save custom attributes for conversation, accepts custom attributes key and value
{"attribute_key":"attribute_value","priority_conversation_number":3}Specify the conversation whether it's pending, open, closed
Possible values: [open, resolved, pending]
openAgent Id for assigning a conversation to an agent
1Team Id for assigning a conversation to a team\
1Snoozed until date time
2030-07-21T17:32:28Zmessage object
The initial message to be sent to the conversation
The content of the message
Hello, how can I help you?template_params object
The template params for the message in case of whatsapp Channel
Name of the template
sample_issue_resolutionCategory of the template
UTILITYLanguage of the template
en_USThe processed param values for template variables in template
{"1":"AzChat"}{
"source_id": "1234567890",
"inbox_id": 1,
"contact_id": 1,
"additional_attributes": {
"browser": "Chrome",
"browser_version": "89.0.4389.82",
"os": "Windows",
"os_version": "10"
},
"custom_attributes": {
"attribute_key": "attribute_value",
"priority_conversation_number": 3
},
"status": "open",
"assignee_id": 1,
"team_id": 1,
"snoozed_until": "2030-07-21T17:32:28Z",
"message": {
"content": "Hello, how can I help you?",
"template_params": {
"name": "sample_issue_resolution",
"category": "UTILITY",
"language": "en_US",
"processed_params": {
"1": "AzChat"
}
}
}
}