GOV.UK Notify · Schema

Send Email Request

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

NotificationEmailSMSText MessagesLettersGovernmentUnited KingdomPublic SectorGDSREST

Properties

Name Type Description
email_address string Email address of the recipient.
template_id string UUID of the email template to use.
personalisation object Key-value pairs to fill placeholders. Use a link_to_file object to attach a file.
reference string Client-supplied unique reference string for this notification.
one_click_unsubscribe_url string HTTPS URL for RFC 8058 one-click unsubscribe. Recommended for marketing/bulk sends.
email_reply_to_id string UUID of a reply-to email address configured on the service.
sanitise_content_for array List of personalisation field names whose content should be sanitised.
View JSON Schema on GitHub

JSON Schema

send-email-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-email-request.json",
  "title": "Send Email Request",
  "description": "Request body for sending an email notification via the GOV.UK Notify API.",
  "type": "object",
  "required": ["email_address", "template_id"],
  "properties": {
    "email_address": {
      "type": "string",
      "format": "email",
      "description": "Email address of the recipient."
    },
    "template_id": {
      "type": "string",
      "format": "uuid",
      "description": "UUID of the email template to use."
    },
    "personalisation": {
      "type": "object",
      "additionalProperties": true,
      "description": "Key-value pairs to fill placeholders. Use a link_to_file object to attach a file."
    },
    "reference": {
      "type": "string",
      "description": "Client-supplied unique reference string for this notification."
    },
    "one_click_unsubscribe_url": {
      "type": "string",
      "format": "uri",
      "description": "HTTPS URL for RFC 8058 one-click unsubscribe. Recommended for marketing/bulk sends."
    },
    "email_reply_to_id": {
      "type": "string",
      "format": "uuid",
      "description": "UUID of a reply-to email address configured on the service."
    },
    "sanitise_content_for": {
      "type": "array",
      "items": { "type": "string" },
      "description": "List of personalisation field names whose content should be sanitised."
    }
  },
  "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-email-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 email required.

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