Create a media RCS template

Creates an RCS template with media (image or short video). Sent as application/json. Provide media via either the public media_url or the base64 data URI media_file — exactly one.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Friendly name persisted in the template registry.

string
required
length ≤ 100

Header text shown above the media.

string
required
length ≤ 1600

Message body. May reference variables via {{N}}.

uri

Public URL of the media. Mutually exclusive with media_file.

file

Media file upload. Sent inline inside the JSON body as a base64 data URI (data:<mime>;base64,<payload>); the request is application/json, NOT multipart/form-data. The format: binary annotation is the trigger that makes the readme.io API Explorer (and Insomnia) render a file-attach widget that serialises the chosen file into this data URI shape on submit; the surrounding application/json content-type keeps SDK generators on the JSON code path. Mutually exclusive with media_url. Limit: 5 MB decoded.

string
length ≤ 306

Optional fallback delivered as SMS when the RCS send fails.

default_variables
array of objects

Optional fallback values for the {{N}} placeholders inside body.

default_variables
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json