PATCH
/
messages
/
{id}

Path Parameters

id
string
required

Message is uniquely identified by id

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Body

application/json
id
string

Message is uniquely identified by id

agent

Message is written by Agent

lead

Lead sends/receives chat- Message

salesRep

Sales Rep sends/receives Message

internalEmail
string

Message is with Internal Email

externalPhoneNumber
string

Message is with External Phone Number

externalEmail
string

Message is with External Email

internalPhoneNumber
string

Message is with Internal Phone Number

text
string

Message has Message Text

templateType
string

Message is autofilled by Template Type

template

Message is filled in from Template

attachments
array

Message has Attachment

Response

200 - application/json
data
object
success
boolean