> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orbit.devotel.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Send an RCS message

> Send an RCS Business Messaging message (text, image, standalone rich card, or horizontal carousel of 2-10 rich cards).



## OpenAPI

````yaml /openapi.yaml post /api/v1/messages/rcs
openapi: 3.1.0
info:
  title: Devotel CPaaS API
  description: Orbit by Devotel — Communications Platform as a Service API
  version: 1.0.0
  contact:
    name: Devotel
    url: https://devotel.io
    email: support@devotel.io
  license:
    name: Proprietary
servers:
  - url: https://api.orbit.devotel.io
    description: Production
security:
  - Bearer: []
  - ApiKey: []
tags:
  - name: Messages
    description: >-
      Send and manage messages across all channels (SMS, WhatsApp, RCS, Email,
      Viber, etc.)
  - name: Fax
    description: >-
      List and track fax (MMS/T.38) transmissions on Telnyx-backed fax numbers
      (sending flows through the Messaging API)
  - name: Agents
    description: AI agent creation, configuration, and execution
  - name: Voice
    description: Voice calls, IVR, conferencing, and SIP trunking
  - name: OnCall
    description: On-call rotations and escalation policy planning for incident alerting
  - name: Webhooks
    description: Webhook endpoint management and delivery logs
  - name: Numbers
    description: Phone number search, provisioning, and configuration
  - name: Brand Identity
    description: >-
      Unified cross-channel brand trust posture (10DLC, toll-free, WhatsApp,
      RCS, branded calling, number KYC)
  - name: Contacts
    description: Contact management, segmentation, and lifecycle tracking
  - name: Campaigns
    description: Marketing campaign orchestration and analytics
  - name: Flows
    description: Automation flow builder and execution engine
  - name: Templates
    description: Message template management and approval workflows
  - name: Settings
    description: Organization, channel, and user preference settings
  - name: Verify
    description: OTP generation and verification across channels
  - name: Push
    description: Push notification delivery via FCM and APNs
  - name: Integrations
    description: Third-party service connections and OAuth management
  - name: CDP
    description: >-
      Customer Data Platform — activation surface (CRM object sync, streaming
      destinations, ad-audience activation)
  - name: Files
    description: >-
      Server-to-server media upload, listing, retrieval, and deletion
      (signed-URL backed)
  - name: Commerce
    description: >-
      Omnichannel conversational-commerce — persistent cart + checkout state
      machine, channel-agnostic hosted pay-by-link, native WhatsApp checkout,
      and AP2-style agent payment mandates.
  - name: Sync
    description: >-
      Real-time shared-state primitive (Twilio Sync parity) — Documents, Maps,
      Lists, and ephemeral Streams, with change events relayed over the
      /api/v1/ws/sync WebSocket gateway
paths:
  /api/v1/messages/rcs:
    post:
      tags:
        - Messages
      summary: Send an RCS message
      description: >-
        Send an RCS Business Messaging message (text, image, standalone rich
        card, or horizontal carousel of 2-10 rich cards).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - to
              properties:
                to:
                  type: string
                  description: Recipient phone number in E.164 format.
                from:
                  type: string
                  description: Sender identifier.
                body:
                  type: string
                  maxLength: 4096
                  description: >-
                    Plain text message body. Required for text sends; omit when
                    sending a `rich_card` or `rich_card_carousel`.
                media_url:
                  type: string
                  format: uri
                webhook_url:
                  type: string
                  format: uri
                metadata:
                  type: object
                  additionalProperties:
                    type: string
                  description: >-
                    Free-form string metadata. Caller-supplied keys win on
                    conflict with provider flags translated from
                    `rich_card`/`rich_card_carousel`.
                scheduled_at:
                  type: string
                  format: date-time
                rich_card:
                  type: object
                  required:
                    - card_content
                  description: >-
                    Standalone rich card payload (Twilio / Verizon parity).
                    Mutually exclusive with `rich_card_carousel`.
                  properties:
                    card_content:
                      type: object
                      required:
                        - title
                        - description
                      properties:
                        title:
                          type: string
                          minLength: 1
                          maxLength: 200
                        description:
                          type: string
                          minLength: 1
                          maxLength: 2000
                        media:
                          type: object
                          required:
                            - height
                            - content_info
                          properties:
                            height:
                              type: string
                              enum:
                                - SHORT
                                - MEDIUM
                                - TALL
                            content_info:
                              type: object
                              required:
                                - file_url
                              properties:
                                file_url:
                                  type: string
                                  format: uri
                                thumbnail_url:
                                  type: string
                                  format: uri
                        suggestions:
                          type: array
                          maxItems: 11
                          items:
                            type: object
                            description: RCS suggestion chip (reply or action).
                            oneOf:
                              - type: object
                                required:
                                  - reply
                                properties:
                                  reply:
                                    type: object
                                    required:
                                      - text
                                    properties:
                                      text:
                                        type: string
                                        minLength: 1
                                        maxLength: 25
                                      postback_data:
                                        type: string
                                        maxLength: 2048
                              - type: object
                                required:
                                  - action
                                properties:
                                  action:
                                    type: object
                                    required:
                                      - text
                                    properties:
                                      text:
                                        type: string
                                        minLength: 1
                                        maxLength: 25
                                      postback_data:
                                        type: string
                                        maxLength: 2048
                                      open_url:
                                        type: object
                                        required:
                                          - url
                                        properties:
                                          url:
                                            type: string
                                            format: uri
                                      dial_action:
                                        type: object
                                        required:
                                          - phone_number
                                        properties:
                                          phone_number:
                                            type: string
                                      view_location_action:
                                        type: object
                                        properties:
                                          label:
                                            type: string
                                            maxLength: 100
                                          query:
                                            type: string
                                            maxLength: 100
                                          lat_long:
                                            type: object
                                            required:
                                              - latitude
                                              - longitude
                                            properties:
                                              latitude:
                                                type: number
                                                minimum: -90
                                                maximum: 90
                                              longitude:
                                                type: number
                                                minimum: -180
                                                maximum: 180
                    suggestions:
                      type: array
                      maxItems: 11
                      items:
                        type: object
                        description: RCS suggestion chip (reply or action).
                        oneOf:
                          - type: object
                            required:
                              - reply
                            properties:
                              reply:
                                type: object
                                required:
                                  - text
                                properties:
                                  text:
                                    type: string
                                    minLength: 1
                                    maxLength: 25
                                  postback_data:
                                    type: string
                                    maxLength: 2048
                          - type: object
                            required:
                              - action
                            properties:
                              action:
                                type: object
                                required:
                                  - text
                                properties:
                                  text:
                                    type: string
                                    minLength: 1
                                    maxLength: 25
                                  postback_data:
                                    type: string
                                    maxLength: 2048
                                  open_url:
                                    type: object
                                    required:
                                      - url
                                    properties:
                                      url:
                                        type: string
                                        format: uri
                                  dial_action:
                                    type: object
                                    required:
                                      - phone_number
                                    properties:
                                      phone_number:
                                        type: string
                                  view_location_action:
                                    type: object
                                    properties:
                                      label:
                                        type: string
                                        maxLength: 100
                                      query:
                                        type: string
                                        maxLength: 100
                                      lat_long:
                                        type: object
                                        required:
                                          - latitude
                                          - longitude
                                        properties:
                                          latitude:
                                            type: number
                                            minimum: -90
                                            maximum: 90
                                          longitude:
                                            type: number
                                            minimum: -180
                                            maximum: 180
                      description: Message-level chips rendered below the card.
                    card_orientation:
                      type: string
                      enum:
                        - HORIZONTAL
                        - VERTICAL
                    thumbnail_image_alignment:
                      type: string
                      enum:
                        - LEFT
                        - RIGHT
                      description: >-
                        Only honored when `card_orientation=HORIZONTAL`; ignored
                        otherwise (RBM rejects on VERTICAL cards).
                rich_card_carousel:
                  type: object
                  required:
                    - card_contents
                  description: >-
                    Horizontal carousel of 2-10 rich cards (Twilio / Verizon
                    parity). Single-card carousels render as malformed on
                    Android — use `rich_card` for single cards.
                  properties:
                    card_width:
                      type: string
                      enum:
                        - SMALL
                        - MEDIUM
                      default: MEDIUM
                    card_contents:
                      type: array
                      minItems: 2
                      maxItems: 10
                      items:
                        type: object
                        required:
                          - title
                          - description
                        properties:
                          title:
                            type: string
                            minLength: 1
                            maxLength: 200
                          description:
                            type: string
                            minLength: 1
                            maxLength: 2000
                          media:
                            type: object
                            required:
                              - height
                              - content_info
                            properties:
                              height:
                                type: string
                                enum:
                                  - SHORT
                                  - MEDIUM
                                  - TALL
                              content_info:
                                type: object
                                required:
                                  - file_url
                                properties:
                                  file_url:
                                    type: string
                                    format: uri
                                  thumbnail_url:
                                    type: string
                                    format: uri
                          suggestions:
                            type: array
                            maxItems: 11
                            items:
                              type: object
                              description: RCS suggestion chip (reply or action).
                              oneOf:
                                - type: object
                                  required:
                                    - reply
                                  properties:
                                    reply:
                                      type: object
                                      required:
                                        - text
                                      properties:
                                        text:
                                          type: string
                                          minLength: 1
                                          maxLength: 25
                                        postback_data:
                                          type: string
                                          maxLength: 2048
                                - type: object
                                  required:
                                    - action
                                  properties:
                                    action:
                                      type: object
                                      required:
                                        - text
                                      properties:
                                        text:
                                          type: string
                                          minLength: 1
                                          maxLength: 25
                                        postback_data:
                                          type: string
                                          maxLength: 2048
                                        open_url:
                                          type: object
                                          required:
                                            - url
                                          properties:
                                            url:
                                              type: string
                                              format: uri
                                        dial_action:
                                          type: object
                                          required:
                                            - phone_number
                                          properties:
                                            phone_number:
                                              type: string
                                        view_location_action:
                                          type: object
                                          properties:
                                            label:
                                              type: string
                                              maxLength: 100
                                            query:
                                              type: string
                                              maxLength: 100
                                            lat_long:
                                              type: object
                                              required:
                                                - latitude
                                                - longitude
                                              properties:
                                                latitude:
                                                  type: number
                                                  minimum: -90
                                                  maximum: 90
                                                longitude:
                                                  type: number
                                                  minimum: -180
                                                  maximum: 180
                    suggestions:
                      type: array
                      maxItems: 11
                      items:
                        type: object
                        description: RCS suggestion chip (reply or action).
                        oneOf:
                          - type: object
                            required:
                              - reply
                            properties:
                              reply:
                                type: object
                                required:
                                  - text
                                properties:
                                  text:
                                    type: string
                                    minLength: 1
                                    maxLength: 25
                                  postback_data:
                                    type: string
                                    maxLength: 2048
                          - type: object
                            required:
                              - action
                            properties:
                              action:
                                type: object
                                required:
                                  - text
                                properties:
                                  text:
                                    type: string
                                    minLength: 1
                                    maxLength: 25
                                  postback_data:
                                    type: string
                                    maxLength: 2048
                                  open_url:
                                    type: object
                                    required:
                                      - url
                                    properties:
                                      url:
                                        type: string
                                        format: uri
                                  dial_action:
                                    type: object
                                    required:
                                      - phone_number
                                    properties:
                                      phone_number:
                                        type: string
                                  view_location_action:
                                    type: object
                                    properties:
                                      label:
                                        type: string
                                        maxLength: 100
                                      query:
                                        type: string
                                        maxLength: 100
                                      lat_long:
                                        type: object
                                        required:
                                          - latitude
                                          - longitude
                                        properties:
                                          latitude:
                                            type: number
                                            minimum: -90
                                            maximum: 90
                                          longitude:
                                            type: number
                                            minimum: -180
                                            maximum: 180
                      description: Message-level chips rendered below the carousel.
      responses:
        '202':
          description: Message accepted for delivery (rcs)
          content:
            application/json:
              schema:
                type: object
                description: Message accepted for delivery (rcs)
                properties:
                  data:
                    type: object
                    additionalProperties: true
                    properties:
                      id:
                        type: string
                        description: Devotel message id
                      status:
                        type: string
                        description: >-
                          Lifecycle state at acceptance time (queued | scheduled
                          | sent)
                      channel:
                        type: string
                        enum:
                          - rcs
                      from:
                        type:
                          - 'null'
                          - string
                      to:
                        type:
                          - 'null'
                          - string
                      body:
                        type:
                          - 'null'
                          - string
                      price:
                        type:
                          - 'null'
                          - string
                          - number
                      currency:
                        type:
                          - 'null'
                          - string
                      external_id:
                        type:
                          - 'null'
                          - string
                      created_at:
                        type:
                          - 'null'
                          - string
                        format: date-time
                  meta:
                    type: object
                    properties:
                      request_id:
                        type: string
                        description: >-
                          Unique request identifier (also returned in
                          X-Request-Id header)
                      timestamp:
                        type: string
                        format: date-time
                        description: ISO 8601 UTC timestamp of the response
        '422':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - status
                    properties:
                      code:
                        type: string
                        description: >-
                          Machine-readable error code (e.g.
                          INVALID_PHONE_NUMBER)
                      message:
                        type: string
                        description: Human-readable error description
                      status:
                        type: integer
                        description: HTTP status code
                      details:
                        type: object
                        additionalProperties: true
                        description: Additional context about the error
                  meta:
                    type: object
                    properties:
                      request_id:
                        type: string
                      timestamp:
                        type: string
                        format: date-time
                      docs_url:
                        type: string
                        format: uri
                        description: Link to relevant error documentation
components:
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Dashboard JWT token from Clerk
    ApiKey:
      type: apiKey
      name: X-API-Key
      in: header
      description: Server-to-server API key (dv_live_sk_*)

````