MessagesVersion: v3
Add message attachments
PUT/conversations/messages/{messageId}/attachments
Set attachments on an existing message (replaces existing). Maximum 5 URLs. Supported for Custom Call message type.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
conversations/ message. writeAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Path Parameters
messageIdstringrequired
Message Id
Example:
ve9EPM428h8vShlRW1KTBody
attachmentsstring[]required
Array of attachment URLs to set on the message (replaces existing). Maximum 5 URLs.
Example:
["https://provider.com/recordings/call-123.mp3"]Response
Successfully set message attachments
successbooleanrequired
Indicates whether the operation was successful.
Example:
truemessageIdstringrequired
The ID of the message that was updated.
Example:
ve9EPM428h8vShlRW1KTattachmentsstring[]required
The updated list of attachment URLs on the message.
Example:
["https://provider.com/recordings/call-123.mp3"]