GOV.UK Notify · Schema

Send SMS Request

Request body for sending an SMS notification via the GOV.UK Notify API.

NotificationEmailSMSText MessagesLettersGovernmentUnited KingdomPublic SectorGDSREST

Properties

Name Type Description
phone_number string UK mobile phone number of the recipient. E.164 format recommended.
template_id string UUID of the SMS template to use.
personalisation object Key-value pairs to fill placeholders in the template.
reference string Client-supplied unique reference string for this notification.
sms_sender_id string UUID of an SMS sender configured on the service. Overrides service default.
View JSON Schema on GitHub

JSON Schema

send-sms-request.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gov-uk-notify/main/json-schema/send-sms-request.json",
  "title": "Send SMS Request",
  "description": "Request body for sending an SMS notification via the GOV.UK Notify API.",
  "type": "object",
  "required": ["phone_number", "template_id"],
  "properties": {
    "phone_number": {
      "type": "string",
      "description": "UK mobile phone number of the recipient. E.164 format recommended.",
      "example": "+447900900123"
    },
    "template_id": {
      "type": "string",
      "format": "uuid",
      "description": "UUID of the SMS template to use."
    },
    "personalisation": {
      "type": "object",
      "additionalProperties": { "type": "string" },
      "description": "Key-value pairs to fill placeholders in the template."
    },
    "reference": {
      "type": "string",
      "description": "Client-supplied unique reference string for this notification."
    },
    "sms_sender_id": {
      "type": "string",
      "format": "uuid",
      "description": "UUID of an SMS sender configured on the service. Overrides service default."
    }
  },
  "additionalProperties": false
}

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/send-sms-request"
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.