Gateway-API
  1. RCS
Gateway-API
  • Gateway - API
    • Contacts
      • List
    • Routes
      • Routes
    • Reports
      • Received Messages Report
      • Sent Messages Report
    • RCS
      • Send RCS (File) Message
        POST
      • Send RCS (Carrossel) Message
        POST
      • Send RCS (Card) Message
        POST
      • Send RCS (Basic) Message
        POST
    • SMS
      • Send SMS Message
    • Schemas
      • Core
        • CoreResult
      • Contacts
        • Contact
      • Routes
        • Routes
      • Reports
        • Received
        • Sent
      • RCS
        • Send RCS File
        • Send RCS Basic
        • Send RCS carousel
        • Send RCS card
      • SMS
        • Send Sms
  • Default module
    • Raiz
  1. RCS

Send RCS (File) Message

POST
/messages/rcs/file/send
Este endpoint permite o envio de mensagens RCS (Rich Communication Services) com um arquivo em anexo. A funcionalidade é ideal para compartilhar documentos, manuais, folhetos, comprovantes ou qualquer outro tipo de material relevante via canal RCS.
O cliente pode fornecer uma URL pública do arquivo ncorporada na mensagem antes do envio. Além disso, é possível definir destinatários diretos ou grupos de contatos, bem como agendar o envio da mensagem para uma data futura.

Request

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/messages/rcs/file/send' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "receivers": [5516988887777],
    "contactGroups": [],
    "message": "salve from API",
    "route": 14,
    "tag": "API-sending",
    "custom": "123-abc",
    "file": "https://img.freepik.com/free-vector/gradient-beautiful-landscape_23-2149122377.jpg",
    "fileName": "Landscape.jpg"
}'
Response Response Example
{
    "hasError": true,
    "message": "string",
    "totalRecords": 0,
    "errors": [
        "string"
    ],
    "object": null
}
Modified at 2025-11-06 13:38:52
Previous
Sent Messages Report
Next
Send RCS (Carrossel) Message
Built with