Iterable · Capability

Iterable REST API — SMS

Iterable REST API — SMS. 1 operations. Lead operation: Send an SMS message. Self-contained Naftiko capability covering one Iterable business surface.

Run with Naftiko IterableSMS

What You Can Do

POST
Sendsms — Send an SMS message
/v1/sms/target

MCP Tools

send-sms-message

Send an SMS message

Capability Spec

rest-sms.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Iterable REST API — SMS
  description: 'Iterable REST API — SMS. 1 operations. Lead operation: Send an SMS message. Self-contained Naftiko capability
    covering one Iterable business surface.'
  tags:
  - Iterable
  - SMS
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ITERABLE_API_KEY: ITERABLE_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-sms
    baseUri: https://api.iterable.com/api
    description: Iterable REST API — SMS business capability. Self-contained, no shared references.
    resources:
    - name: sms-target
      path: /sms/target
      operations:
      - name: sendsms
        method: POST
        description: Send an SMS message
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Api-Key
      value: '{{env.ITERABLE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: rest-sms-rest
    port: 8080
    description: REST adapter for Iterable REST API — SMS. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/sms/target
      name: sms-target
      description: REST surface for sms-target.
      operations:
      - method: POST
        name: sendsms
        description: Send an SMS message
        call: rest-sms.sendsms
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-sms-mcp
    port: 9090
    transport: http
    description: MCP adapter for Iterable REST API — SMS. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: send-sms-message
      description: Send an SMS message
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-sms.sendsms
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.