Sinch · Capability

Sinch SMS API — Inbounds

Sinch SMS API — Inbounds. 2 operations. Lead operation: List Inbound Messages. Self-contained Naftiko capability covering one Sinch business surface.

Run with Naftiko SinchInbounds

What You Can Do

GET
Listinboundmessages — List Inbound Messages
/v1/xms/v1/{service-plan-id}/inbounds
GET
Getinboundmessage — Get an Inbound Message
/v1/xms/v1/{service-plan-id}/inbounds/{inbound-id}

MCP Tools

list-inbound-messages

List Inbound Messages

read-only idempotent
get-inbound-message

Get an Inbound Message

read-only idempotent

Capability Spec

sms-inbounds.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sinch SMS API — Inbounds
  description: 'Sinch SMS API — Inbounds. 2 operations. Lead operation: List Inbound Messages. Self-contained Naftiko capability
    covering one Sinch business surface.'
  tags:
  - Sinch
  - Inbounds
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SINCH_API_KEY: SINCH_API_KEY
capability:
  consumes:
  - type: http
    namespace: sms-inbounds
    baseUri: https://us.sms.api.sinch.com
    description: Sinch SMS API — Inbounds business capability. Self-contained, no shared references.
    resources:
    - name: xms-v1-service_plan_id-inbounds
      path: /xms/v1/{service_plan_id}/inbounds
      operations:
      - name: listinboundmessages
        method: GET
        description: List Inbound Messages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: The page number to retrieve
        - name: page_size
          in: query
          type: integer
          description: The number of messages per page
        - name: to
          in: query
          type: string
          description: Filter by destination number
        - name: start_date
          in: query
          type: string
          description: Filter messages received after this date
        - name: end_date
          in: query
          type: string
          description: Filter messages received before this date
    - name: xms-v1-service_plan_id-inbounds-inbound_id
      path: /xms/v1/{service_plan_id}/inbounds/{inbound_id}
      operations:
      - name: getinboundmessage
        method: GET
        description: Get an Inbound Message
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: inbound_id
          in: path
          type: string
          description: The unique identifier of the inbound message
          required: true
    authentication:
      type: bearer
      token: '{{env.SINCH_API_KEY}}'
  exposes:
  - type: rest
    namespace: sms-inbounds-rest
    port: 8080
    description: REST adapter for Sinch SMS API — Inbounds. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/xms/v1/{service-plan-id}/inbounds
      name: xms-v1-service-plan-id-inbounds
      description: REST surface for xms-v1-service_plan_id-inbounds.
      operations:
      - method: GET
        name: listinboundmessages
        description: List Inbound Messages
        call: sms-inbounds.listinboundmessages
        with:
          page: rest.page
          page_size: rest.page_size
          to: rest.to
          start_date: rest.start_date
          end_date: rest.end_date
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/xms/v1/{service-plan-id}/inbounds/{inbound-id}
      name: xms-v1-service-plan-id-inbounds-inbound-id
      description: REST surface for xms-v1-service_plan_id-inbounds-inbound_id.
      operations:
      - method: GET
        name: getinboundmessage
        description: Get an Inbound Message
        call: sms-inbounds.getinboundmessage
        with:
          inbound_id: rest.inbound_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sms-inbounds-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sinch SMS API — Inbounds. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-inbound-messages
      description: List Inbound Messages
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sms-inbounds.listinboundmessages
      with:
        page: tools.page
        page_size: tools.page_size
        to: tools.to
        start_date: tools.start_date
        end_date: tools.end_date
      outputParameters:
      - type: object
        mapping: $.
    - name: get-inbound-message
      description: Get an Inbound Message
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sms-inbounds.getinboundmessage
      with:
        inbound_id: tools.inbound_id
      outputParameters:
      - type: object
        mapping: $.