> ## 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.

# Get inbound SMS

> Get details of a received SMS. If it is a reply to something you sent, that link is included.



## OpenAPI

````yaml /en/sms-api/api-reference/openapi-sms.json get /v1/sms/inbound/{id}
openapi: 3.0.3
info:
  title: Notifique API. SMS
  description: >-
    Send SMS, check delivery status, and view inbound messages. Authenticate
    with `Authorization: Bearer sk_live_...` or `x-api-key`.
  version: 1.0.0
servers:
  - url: https://api.notifique.dev
    description: Production
security:
  - ntfSmsBearerAuth: []
  - ntfSmsApiKeyHeader: []
tags:
  - name: SMS
    description: Send SMS, check status, and view received messages.
paths:
  /v1/sms/inbound/{id}:
    get:
      tags:
        - SMS
      summary: Get inbound SMS
      description: >-
        Get details of a received SMS. If it is a reply to something you sent,
        that link is included.
      operationId: ntfSms_getV1SmsInboundById
      parameters:
        - name: id
          in: path
          required: true
          description: ID (cuid) do MO retornado em GET /v1/sms/inbound.
          schema:
            type: string
      responses:
        '200':
          description: Detalhe do MO.
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - data
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/NtfSms_SmsInboundDetail'
        '401':
          description: Missing or invalid API Key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfSms_ErrorResponse'
        '403':
          description: Missing sms:read scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfSms_ErrorResponse'
        '404':
          description: MO não encontrado.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfSms_ErrorResponse'
components:
  schemas:
    NtfSms_SmsInboundDetail:
      type: object
      description: >-
        Detalhe de um MO; inclui `relatedSmsLog` quando houver vínculo com um
        envio.
      properties:
        id:
          type: string
        workspaceId:
          type: string
        provider:
          type: string
        externalMoId:
          type: string
          nullable: true
        from:
          type: string
        body:
          type: string
          nullable: true
        refer:
          type: string
          nullable: true
        receivedAt:
          type: string
          format: date-time
        relatedSmsLogId:
          type: string
          nullable: true
        relatedSmsLog:
          type: object
          nullable: true
          properties:
            id:
              type: string
            to:
              type: string
            message:
              type: string
            status:
              type: string
            createdAt:
              type: string
              format: date-time
    NtfSms_ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          description: HTTP-style error label (e.g. Unauthorized, Bad Request, Not Found).
        message:
          type: string
          description: >-
            Human-readable message for end users (localized via Accept-Language
            / x-locale when applicable).
        code:
          type: string
          description: >-
            Stable API v1 code (enum). Always present on errors. Use with the
            HTTP status to decide retry or fix. See [Error
            responses](/en/guides/conceitos/resposta-de-erros).
        details:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
              message:
                type: string
          description: Lista de erros de validação por campo.
      required:
        - success
        - error
        - message
        - code
  securitySchemes:
    ntfSmsBearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        API Key no header Authorization. Exemplo: `Authorization: Bearer
        sk_live_xxxxx`
    ntfSmsApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: 'API Key no header x-api-key. Exemplo: `x-api-key: sk_live_xxxxx`'

````