robase-dev · Schema

SendSMSResponse

SMSOTPAfricaMessagingAPICommunications

Properties

Name Type Description
id string SMS message ID
phone_number string Phone number the SMS was sent to
country_code string ISO 3166-1 alpha-2 country code
credit_cost integer Credits consumed: the country's rate multiplied by `segments`, since a carrier bills each part of a split message as its own send.
segments integer How many SMS parts the message was split into, and therefore the multiple of the country's rate it was charged at.
encoding string The alphabet the message needed, which is what decided the part size: 160 characters per part in `gsm7`, 70 in `ucs2`. A single character outside the GSM alphabet moves the whole message to `ucs2`.
sanitized boolean Whether the body was rewritten before it was measured. With the workspace's `sanitize_symbols` setting on (the default), characters GSM-7 cannot carry are replaced with plain equivalents (`₦` becomes
status string Initial status, always `pending`; transitions to sent/delivered/failed asynchronously, or to `blocked` if anti-spam screening stops it before dispatch (the credit is then refunded).
created_at string
View JSON Schema on GitHub

JSON Schema

robase-dev-send-smsresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/robase-dev/json-schema/robase-dev-send-smsresponse-schema.json",
  "title": "SendSMSResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/robase-dev-openapi.yaml#/components/schemas/SendSMSResponse",
  "type": "object",
  "required": [
    "id",
    "phone_number",
    "country_code",
    "credit_cost",
    "status",
    "created_at"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "SMS message ID"
    },
    "phone_number": {
      "type": "string",
      "description": "Phone number the SMS was sent to"
    },
    "country_code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code"
    },
    "credit_cost": {
      "type": "integer",
      "description": "Credits consumed: the country's rate multiplied by `segments`, since\na carrier bills each part of a split message as its own send.\n"
    },
    "segments": {
      "type": "integer",
      "description": "How many SMS parts the message was split into, and therefore the\nmultiple of the country's rate it was charged at.\n"
    },
    "encoding": {
      "type": "string",
      "enum": [
        "gsm7",
        "ucs2"
      ],
      "description": "The alphabet the message needed, which is what decided the part\nsize: 160 characters per part in `gsm7`, 70 in `ucs2`. A single\ncharacter outside the GSM alphabet moves the whole message to\n`ucs2`.\n"
    },
    "sanitized": {
      "type": "boolean",
      "description": "Whether the body was rewritten before it was measured. With the\nworkspace's `sanitize_symbols` setting on (the default), characters\nGSM-7 cannot carry are replaced with plain equivalents (`₦`\nbecomes `NGN`, curly quotes straighten), and anything with no\nequivalent, such as an emoji, is removed. Letters are never\nremoved, and the rewrite is dropped whenever it would not lower\nthe part count. Turn the setting off to have bodies delivered\nexactly as sent.\n"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending"
      ],
      "description": "Initial status, always `pending`; transitions to\nsent/delivered/failed asynchronously, or to `blocked` if anti-spam\nscreening stops it before dispatch (the credit is then refunded).\n"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/robase-dev-send-smsresponse"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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