Sms

Upload media for an MMS message

Changed on

Uploads and validates one media attachment, returning the metadata needed to include the asset in a subsequent Leadping MMS send.

post/sms/files

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Request body multipart/form-data

object required
file, string binary required

Binary file content to upload.

Response

The uploaded media attachment metadata.

MessageMediaAttachment required

Media attached to an SMS/MMS conversation event.

fileId, string nullable

The durable Media record containing this attachment's scanned bytes.

url, string uri

URL from which the media attachment can be retrieved.

contentType, string nullable

MIME content type of the media attachment.

size, integer nullable

Size of the media attachment in bytes.

sha256, string nullable

SHA-256 digest of the media content, when available.

fileName, string nullable

Original file name of the media attachment, when available.

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status