Download a media file delivered by inbound message

GET/v1/files/{ID}

Streams the MO file referenced by the ID of the file (e.g. from a file URL in an inbound message). Requires X-API-Key. Response is proxied from the channel provide. The header Content-Type reflects the media when known.

Base URL
https://unifier-cpaas.sms.es
Authentication

API key — send it in the X-API-Key header.

Request

Path parameters

IDstring (uuid)required

File identifier in UUID format.

Request example

cURL · cURL
curl -L -X GET "https://unifier-cpaas.sms.es/v1/files/{ID}" \
  -H "Accept: application/json" \
  -H "X-API-Key: <X-API-Key>"

Responses

File bytes (binary stream).

*/*
Example response
string