RCSv4

Upload an RCS asset

POST/rcs/assets

Host an image or video a sender's profile or launch request points to, and get back its URL. Each kind has its own limits: logo is a 224×224 PNG or JPEG up to 50 KB; banner is a 1440×448 PNG or JPEG up to 200 KB; opt_in_media is a PNG or JPEG screenshot of the opt-in call to action, up to 5 MB; test_video is an MP4 or QuickTime video of the sender in use, up to 50 MB. OAuth apps need numbers:manage.

Headers

AuthorizationRequiredstring

Your API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.

Bearer

Body parameters

form-data
kindRequiredstring
"logo""banner""opt_in_media""test_video"
fileRequiredstring

Returns

dataoptionalobject
kindRequiredstring
urlRequiredstring

Use as logo_url, banner_url, call_to_action_media_url, or test_video_url.

Response codes

201The hosted asset
400`invalid_form_data`, `invalid_field`, `unsupported_media_type`, `file_too_large`, or `invalid_dimensions`.
401Your API key is missing or invalid. Pass it as a bearer token.

Sends a live request with your values and shows the real response below. Your key is stored only in this browser.

Request
curl -X POST https://api.blooio.com/v4/rcs/assets \
Response objectexample
{  "data": {    "kind": "string",    "url": "https://example.com"  }}