SMS.to API

SMS.to API as documented publicly: 3 operations. Contract generated from the documentation by API Evangelist (2026-11-16); not the provider's own document.

GitHub OpenAPI

Operations 3

GET /v2/campaigns GET /v2/campaigns #
GET /v2/campaigns/{id} Get campaign by ID #
GET /v2/messages GET /v2/messages #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sms-to:sms-to-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sms-to-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: SMS.to API
  version: '2026-11-16'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-16: 3 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; SMS.to has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 3
    documentation: 0
    pages-with-code: 1
    pages-read: 1
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-16'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://developers.sms.to
servers:
- url: https://api.sms.to
paths:
  /v2/campaigns:
    get:
      operationId: get_v2_campaigns
      tags:
      - Campaigns
      summary: GET /v2/campaigns
      x-source: https://developers.sms.to
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV2CampaignsResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl\ncurl --location 'https://api.sms.to/v2/campaigns'  --header 'Authorization: Bearer <api_key>'  --header 'Content-Type:\
          \ application/json'\n200 OK\nExample Response\nBody\nHeaders (8)\nView More\njson\n{\n \"success\": true,\n \"data\": [\n {\n \"id\"\
          : \"11ec-8330-49701b2a-9992-0242ac120004\",\n \"type\": \"sms\",\n \"user_id\": 342847,\n \"sender_id\": \"SMSto\",\n \"template_id\"\
          : null,\n \"message\": \"This is test\",\n \"list_id\": "
  /v2/campaigns/{id}:
    get:
      operationId: get_v2_campaigns_id
      tags:
      - Campaigns
      summary: Get campaign by ID
      description: Fetch Campaign By ID
      x-source: https://developers.sms.to
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV2CampaignsIdResponse'
      x-evidence:
        kind: documentation
  /v2/messages:
    get:
      operationId: get_v2_messages
      tags:
      - Messages
      summary: GET /v2/messages
      x-source: https://developers.sms.to
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV2MessagesResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl\ncurl --location 'https://api.sms.to/v2/messages'  --header 'Authorization: Bearer <api_key>'  --header 'Content-Type:\
          \ application/json'\n200 OK\nExample Response\nBody\nHeaders (8)\nView More\njson\n{\n \"success\": true,\n \"data\": [\n {\n \"id\"\
          : \"11ec-8330-c25f5870-a614-02420a0002ab\",\n \"campaign_id\": null,\n \"sender_id\": \"SMSto\",\n \"message\": \"This is a test message\"\
          ,\n \"to\": \"+35799999999999\",\n \"status\": \"R"
components:
  schemas:
    GetV2CampaignsResponse:
      type: object
      properties:
        success:
          type: boolean
        data:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              type:
                type: string
              user_id:
                type: integer
              sender_id:
                type: string
              template_id:
                type:
                - string
                - 'null'
              message:
                type: string
              list_id:
                type:
                - string
                - 'null'
              status:
                type: string
              client_total_cost:
                type: integer
              estimated_cost:
                type: integer
              delivered_messages:
                type: integer
              failed_messages:
                type: integer
              pending_messages:
                type: integer
              sent_messages:
                type: integer
              bypass_optout:
                type: integer
              callback_url:
                type: string
              scheduled_for:
                type: integer
              timezone:
                type: string
              created_at:
                type: string
                format: date-time
              updated_at:
                type: string
                format: date-time
              sms_count:
                type: integer
              is_api:
                type: integer
              canceled_at:
                type: string
        links:
          type: array
          items:
            type: object
            properties:
              url:
                type:
                - string
                - 'null'
              label:
                type: string
              active:
                type: boolean
        current_page:
          type: integer
        from:
          type: integer
        last_page:
          type: integer
        path:
          type: string
        per_page:
          type: integer
        to:
          type: integer
        total:
          type: integer
    GetV2CampaignsIdResponse:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
        user_id:
          type: integer
        sender_id:
          type: string
        message:
          type: string
        status:
          type: string
        client_total_cost:
          type: number
        estimated_cost:
          type: number
        delivered_messages:
          type: integer
        failed_messages:
          type: integer
        pending_messages:
          type: integer
        sent_messages:
          type: integer
        callback_url:
          type: string
        scheduled_for:
          type: integer
        timezone:
          type: string
        created_at:
          type: string
        updated_at:
          type: string
        sms_count:
          type: integer
        is_api:
          type: integer
        canceled_at:
          type: string
    GetV2MessagesResponse:
      type: object
      properties:
        success:
          type: boolean
        data:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              campaign_id:
                type:
                - string
                - 'null'
              sender_id:
                type: string
              message:
                type: string
              to:
                type: string
              status:
                type: string
              cost:
                type: integer
              sms_count:
                type: integer
              type:
                type: string
              callback_url:
                type: string
              scheduled_for:
                type:
                - string
                - 'null'
              timezone:
                type:
                - string
                - 'null'
              updated_at:
                type: string
                format: date-time
              created_at:
                type: string
                format: date-time
              sent_at:
                type: string
                format: date-time
              is_api:
                type: boolean
              failed_reason:
                type:
                - string
                - 'null'
              internal_failed_reason:
                type:
                - string
                - 'null'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Campaigns
- name: Messages