Update a WhatsAppMessage activity

View as Markdown

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:)>.

OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired

Request

This endpoint expects an object.
activity_atdatetimeOptional
attachmentslist of objectsOptional
contact_idstringOptional
directionenumOptional

This is the former EmailDirection. Any activity that has a concept of direction (in or out) should be using this enum. For historical reasons, this is different from PhoneActivityDirection but at some point PhoneActivityDirection should be deprecated and replaced with CommunicationDirection.

Allowed values:
local_phonestringOptional
message_markdownstringOptional
remote_phonestringOptional
response_to_idstring or nullOptional
user_idstringOptional

Response

Successful response
_typestring
activity_atdatetime or null
contact_idstring or null
created_bystring or null
date_createddatetime
date_updateddatetime
directionenum

This is the former EmailDirection. Any activity that has a concept of direction (in or out) should be using this enum. For historical reasons, this is different from PhoneActivityDirection but at some point PhoneActivityDirection should be deprecated and replaced with CommunicationDirection.

Allowed values:
external_whatsapp_message_idstring
idstring
integration_namestring or null
lead_idstring or null
local_phonestring
local_phone_formattedstring
message_htmlstring
message_markdownstring
organization_idstring
remote_phonestring
remote_phone_formattedstring
response_to_idstring or null
sourceenum
textstring
updated_bystring or null
user_idstring or null
userslist of strings
attachmentslist of objects
created_by_namestring or null
sequence_idstring or null
sequence_namestring or null
sequence_subscription_idstring or null
updated_by_namestring or null
user_namestring or null

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error