curl --request PUT \
--url https://services.leadconnectorhq.com/conversations/messages/{messageId}/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"status": "read",
"error": {
"code": "1",
"type": "saas",
"message": "There was an error from the provider"
},
"emailMessageId": "ve9EPM428h8vShlRW1KT",
"recipients": [
"<string>"
]
}
'{
"conversationId": "ABC12h2F6uBrIkfXYazb",
"messageId": "t22c6DQcTDf3MjRhwf77",
"emailMessageId": "rnGyqh2F6uBrIkfhFo9A",
"messageIds": [
"<string>"
],
"msg": "Message queued successfully."
}Post the necessary fields for the API to update message status.
curl --request PUT \
--url https://services.leadconnectorhq.com/conversations/messages/{messageId}/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"status": "read",
"error": {
"code": "1",
"type": "saas",
"message": "There was an error from the provider"
},
"emailMessageId": "ve9EPM428h8vShlRW1KT",
"recipients": [
"<string>"
]
}
'{
"conversationId": "ABC12h2F6uBrIkfXYazb",
"messageId": "t22c6DQcTDf3MjRhwf77",
"emailMessageId": "rnGyqh2F6uBrIkfhFo9A",
"messageIds": [
"<string>"
],
"msg": "Message queued successfully."
}Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-04-15 Message Id
"ve9EPM428h8vShlRW1KT"
Created the message
Conversation ID.
"ABC12h2F6uBrIkfXYazb"
This is the main Message ID
"t22c6DQcTDf3MjRhwf77"
This contains the email message id (only for Email type). Use this ID to send inbound replies to Hoop to create a threaded email.
"rnGyqh2F6uBrIkfhFo9A"
When sending via the GMB channel, we will be returning list of messageIds instead of single messageId.
Additional response message when sending a workflow message
"Message queued successfully."
Was this page helpful?