The file you want to upload. The maximum allowed size is 20 MB.
ttl_secs
integer
The number of seconds after which the media resource will be deleted, defaults to 2 days. The maximum allowed vale is 630720000, which translates to 20 years.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-update-media-multipart-request-schema.json",
"title": "Upload media multipart request",
"x-generated": "2026-10-08",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/telnyx-media-storage-api-api-openapi.yml#/components/schemas/UpdateMediaMultipartRequest",
"properties": {
"media": {
"description": "The file you want to upload. The maximum allowed size is 20 MB.",
"format": "binary",
"type": "string"
},
"ttl_secs": {
"description": "The number of seconds after which the media resource will be deleted, defaults to 2 days. The maximum allowed vale is 630720000, which translates to 20 years.",
"type": "integer"
}
},
"type": "object"
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.