curl --request POST \
--url https://services.leadconnectorhq.com/conversations/messages/outbound \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"type": "Call",
"conversationId": "ve9EPM428h8vShlRW1KT",
"conversationProviderId": "61d6d1f9cdac7612faf80753",
"attachments": [
"<string>"
],
"altId": "61d6d1f9cdac7612faf80753",
"date": "2023-11-07T05:31:56Z",
"call": {
"to": "+15037081210",
"from": "+15037081210",
"status": "completed"
}
}
'{
"success": true,
"conversationId": "ABC12h2F6uBrIkfXYazb",
"messageId": "t22c6DQcTDf3MjRhwf77",
"message": "<string>",
"contactId": "<string>",
"dateAdded": "2023-11-07T05:31:56Z",
"emailMessageId": "<string>"
}Post the necessary fields for the API to add a new outbound call.
curl --request POST \
--url https://services.leadconnectorhq.com/conversations/messages/outbound \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"type": "Call",
"conversationId": "ve9EPM428h8vShlRW1KT",
"conversationProviderId": "61d6d1f9cdac7612faf80753",
"attachments": [
"<string>"
],
"altId": "61d6d1f9cdac7612faf80753",
"date": "2023-11-07T05:31:56Z",
"call": {
"to": "+15037081210",
"from": "+15037081210",
"status": "completed"
}
}
'{
"success": true,
"conversationId": "ABC12h2F6uBrIkfXYazb",
"messageId": "t22c6DQcTDf3MjRhwf77",
"message": "<string>",
"contactId": "<string>",
"dateAdded": "2023-11-07T05:31:56Z",
"emailMessageId": "<string>"
}Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-04-15 Message Type
Call "Call"
Conversation Id
"ve9EPM428h8vShlRW1KT"
Conversation Provider Id
"61d6d1f9cdac7612faf80753"
Array of attachments
external mail provider's message id
"61d6d1f9cdac7612faf80753"
Date of the outbound message
Show child attributes
Was this page helpful?