Telesign · Capability

Telesign SMS API — Messaging

Telesign SMS API — Messaging. 2 operations. Lead operation: Send SMS Message. Self-contained Naftiko capability covering one Telesign business surface.

Run with Naftiko TelesignMessaging

What You Can Do

POST
Sendsms — Send SMS Message
/v1/messaging
GET
Getsmsstatus — Get SMS Transaction Status
/v1/messaging/{reference-id}

MCP Tools

send-sms-message

Send SMS Message

get-sms-transaction-status

Get SMS Transaction Status

read-only idempotent

Capability Spec

sms-messaging.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Telesign SMS API — Messaging
  description: 'Telesign SMS API — Messaging. 2 operations. Lead operation: Send SMS Message. Self-contained Naftiko capability
    covering one Telesign business surface.'
  tags:
  - Telesign
  - Messaging
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TELESIGN_API_KEY: TELESIGN_API_KEY
capability:
  consumes:
  - type: http
    namespace: sms-messaging
    baseUri: https://rest-ww.telesign.com/v1
    description: Telesign SMS API — Messaging business capability. Self-contained, no shared references.
    resources:
    - name: messaging
      path: /messaging
      operations:
      - name: sendsms
        method: POST
        description: Send SMS Message
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: messaging-reference_id
      path: /messaging/{reference_id}
      operations:
      - name: getsmsstatus
        method: GET
        description: Get SMS Transaction Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: reference_id
          in: path
          type: string
          description: The unique reference ID returned when the message was sent.
          required: true
    authentication:
      type: basic
      username: '{{env.TELESIGN_USER}}'
      password: '{{env.TELESIGN_PASS}}'
  exposes:
  - type: rest
    namespace: sms-messaging-rest
    port: 8080
    description: REST adapter for Telesign SMS API — Messaging. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/messaging
      name: messaging
      description: REST surface for messaging.
      operations:
      - method: POST
        name: sendsms
        description: Send SMS Message
        call: sms-messaging.sendsms
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/messaging/{reference-id}
      name: messaging-reference-id
      description: REST surface for messaging-reference_id.
      operations:
      - method: GET
        name: getsmsstatus
        description: Get SMS Transaction Status
        call: sms-messaging.getsmsstatus
        with:
          reference_id: rest.reference_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sms-messaging-mcp
    port: 9090
    transport: http
    description: MCP adapter for Telesign SMS API — Messaging. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: send-sms-message
      description: Send SMS Message
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sms-messaging.sendsms
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-sms-transaction-status
      description: Get SMS Transaction Status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sms-messaging.getsmsstatus
      with:
        reference_id: tools.reference_id
      outputParameters:
      - type: object
        mapping: $.