Object

preUploadResponseBody

The JSON dictionary keys contained in the /preUpload body.

Declaration

object preUploadResponseBody

Discussion

The response body for /preUpload is a JSON dictionary containing the following keys:

upload-url

The string, in URL format, used to upload the encrypted attachment data. See Uploading an Attachment for more information.

mmcs-url

A string, in URL format, that identifies the attachment; assigned by Business Chat. Use this value when setting the url key in the Attachment dictionary.

mmcs-owner

The attachment owner's ID. A string value, in URL format, to use when setting the owner key in the Attachment dictionary.

See Also

Message Attachments

Sending Messages with Attachments

Send a text message with attachments from the business to a customer.

Encrypting an Attachment

Secure the contents of the attachment.

Authorizing an Attachment for Upload

Get the URL needed to upload the file by authorizing the attachment for upload to Business Chat.

Uploading an Attachment

Upload the encrypted file to Business Chat.

Adding Attachment Metadata to a Message

Include an attachment in a text message to a customer.