Conversation
post/v1/conversation/email/message
Request body
Example request
{
"customer": {
"firstName": "Lori",
"lastName": "Keet",
"email": "lori@keet.com",
"phoneNumber": "+14155552671",
"displayName": "Lori Keet",
"remoteId": "1234567890",
"subscriberCustomerId": "1234567890",
"avatarUrl": "https://example.com/image.jpg"
},
"attachments": [
{
"url": "https://example.com/example.jpg",
"type": "image/jpeg",
"name": "example.jpg"
}
],
"variables": {
"tags": [
"vip",
"returning"
],
"currentPage": {
"url": "/products",
"title": "Products"
}
}
}Response
The returned message generated from our API. If not returned the message will be processed asynchronously.
Example response
{
"link": "https://app.lorikeetcx.ai/ticket-feedback/tickets/123",
"tags": [
"tag1",
"tag2"
],
"messages": [
{
"attachments": [
{
"url": "https://example.com/example.jpg",
"type": "image/jpeg",
"name": "example.jpg"
}
]
}
]
}