Skip to main content
POST
Upload media for an MMS message

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Accepted values are Leadping user JWT access tokens and WorkOS organization API keys beginning with sk_.

Body

multipart/form-data

The image or media file to validate and upload for a subsequent MMS message.

file
file
required

Binary file content to upload.

Response

OK

Media attached to an SMS/MMS conversation event.

url
string<uri>

URL from which the media attachment can be retrieved.

contentType
null | string

MIME content type of the media attachment.

size
null | integer<int64>

Size of the media attachment in bytes.

sha256
null | string

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

fileName
null | string

Original file name of the media attachment, when available.