File Server API (Media ID)

Use the File Server API to upload media files and generate a media ID for RCS campaigns or message templates.

Overview

This API allows you to upload media files, such as images or documents, to the RML Connect RCS platform and associate the file with a specific bot. The uploaded file can then be used in RCS campaigns or message templates.

Endpoint details

FieldValue
Endpoint URLhttps://apis.rmlconnect.net/rcs/file_server/v2/uploadfile
MethodPOST
Content-Typeapplication/json
Authentication RequiredYes

Authentication

Pass a valid access token in the Authorization header.

Request headers

HeaderRequiredDescription
AuthorizationYesValid access token for authentication.
Content-TypeYesRequest content type. The current API page lists application/json.

Form data parameters

Use multipart/form-data to upload the media file and associate it with the required bot details.

The current page does not define the individual form-data field names. Use the field names provided by your Route Mobile implementation or support team.

Response

{
  "file_id": "9ccf38d6-2a77-11f0-8dae-0242ac130002",
  "message": "File uploaded successfully"
}

Response fields

FieldTypeDescription
file_idstringMedia file ID generated after upload.
messagestringUpload result message.


Did this page help you?