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

# Consultar envío RCS

> Consulta si fue enviado, entregado o falló, y ve los detalles.



## OpenAPI

````yaml /es/rcs-api/api-reference/openapi-rcs.json get /v1/rcs/messages/{id}
openapi: 3.0.3
info:
  title: Notifique API RCS
  description: >-
    Envíe mensajes RCS y consulte el estado. Autentíquese con `Authorization:
    Bearer sk_live_...` o `x-api-key`.
  version: 1.0.0
servers:
  - url: https://api.notifique.dev
    description: Producción
security:
  - ntfRcsBearerAuth: []
  - ntfRcsApiKeyHeader: []
tags:
  - name: RCS
    description: Envío y consulta de mensajes RCS
paths:
  /v1/rcs/messages/{id}:
    get:
      tags:
        - RCS
      summary: Consultar envío RCS
      description: Consulta si fue enviado, entregado o falló, y ve los detalles.
      operationId: ntfRcs_getV1RcsById
      parameters:
        - name: id
          in: path
          required: true
          description: ID de RCS (cuid) devuelto al enviarlo.
          schema:
            type: string
      responses:
        '200':
          description: Datos RCS.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfRcs_RcsStatusResponse'
        '401':
          description: Clave API faltante o no válida.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfRcs_ErrorResponse'
        '403':
          description: Faltan rcs:leer alcance.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfRcs_ErrorResponse'
        '404':
          description: RCS no encontrado o no pertenece al espacio de trabajo.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfRcs_ErrorResponse'
              example:
                success: false
                error: Not Found
                message: RCS message not found
                code: NOT_FOUND
components:
  schemas:
    NtfRcs_RcsStatusResponse:
      type: object
      required:
        - success
        - data
      properties:
        success:
          type: boolean
          example: true
        data:
          type: object
          properties:
            rcsId:
              type: string
            to:
              type: string
            messageType:
              type: string
              enum:
                - BASIC
                - CARD
                - CAROUSEL
                - FILE
            payload:
              type: object
            refer:
              type: string
              nullable: true
            status:
              type: string
              enum:
                - SCHEDULED
                - QUEUED
                - SENT
                - PROCESSING
                - DELIVERED
                - FAILED
                - CANCELLED
              description: >-
                EN COLA = en cola; PROGRAMADO = programado; PROCESAMIENTO =
                aceptado por el proveedor; ENVIADO = enviado; ENTREGADO =
                entregado; FALLADO = fracaso; CANCELADO = cancelado.
            externalId:
              type: string
              nullable: true
            errorMessage:
              type: string
              nullable: true
            scheduledFor:
              type: string
              format: date-time
              nullable: true
            sentAt:
              type: string
              format: date-time
              nullable: true
            deliveredAt:
              type: string
              format: date-time
              nullable: true
            failedAt:
              type: string
              format: date-time
              nullable: true
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
    NtfRcs_ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          description: >-
            Etiqueta de error de estilo HTTP (por ejemplo, no autorizado,
            solicitud incorrecta, no encontrada).
        message:
          type: string
          description: >-
            Mensaje legible por humanos para usuarios finales (localizado a
            través de Accept-Language/x-locale cuando corresponda).
        code:
          type: string
          description: >-
            Código API v1 estable (enumeración). Siempre presente en los
            errores. Úselo con el estado HTTP para decidir reintentar o
            corregir. Ver [Respuestas de
            error](/es/guides/conceitos/resposta-de-erros).
        details:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
              message:
                type: string
          description: Listado de errores de validación por campo.
      required:
        - success
        - error
        - message
        - code
  securitySchemes:
    ntfRcsBearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Clave API sin autorización de encabezado. Ejemplo: `Authorization:
        Bearer sk_live_xxxxx`
    ntfRcsApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Clave API sin encabezado x-api-key. Ejemplo: `x-api-key: sk_live_xxxxx`'

````