Post the necessary fields for the API to add a new outbound call.
Request
Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Provide your bearer token in the Authorization header when making requests to protected resources.
Body
type
stringMessage Type
Allowed value:
Call
Example:
Call
attachments
array[string]Array of attachments
conversationId
stringConversation Id
Example:
ve9EPM428h8vShlRW1KT
conversationProviderId
stringConversation Provider Id
Example:
61d6d1f9cdac7612faf80753
altId
stringexternal mail provider's message id
Example:
61d6d1f9cdac7612faf80753
date
string<date-time>Date of the outbound message
call
objectPhone call dialer and receiver information
to
stringPhone number of the receiver
Example:
+15037081210
from
stringPhone number of the dialer
Example:
+15037081210
status
stringCall status
Allowed values:
pendingcompletedansweredbusyno-answerfailedcanceledvoicemail
Example:
completed
Headers
Authorization
stringAccess Token
Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
stringAPI Version
Allowed value:
2021-07-28
Responses
200
Successful response
Body
success
booleanconversationId
stringConversation ID.
Example:
ABC12h2F6uBrIkfXYazb
messageId
stringThis is the main Message ID
Example:
t22c6DQcTDf3MjRhwf77
message
stringcontactId
stringdateAdded
string<date-time>emailMessageId
string
422
Unprocessable Entity
Body
statusCode
number
Example:
422
message
array[string]
Example:
["Unprocessable Entity"]
error
string
Example:
Unprocessable Entity
401
Unauthorized
Body
statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized
400
Bad Request
Body
statusCode
number
Example:
400
message
string
Example:
Bad Request