SendLetter · Schema

Letter

CompanyOnline ServiceLetterEurope

Properties

Name Type Description
id string Use this to poll status and to reconcile invoices.
mode string Which kind of key created it. A test letter is never printed, never posted and never charged for, and says so here and in every callback about it.
status string queued means accepted and waiting on the print partner. posted is the moment the legal clock starts and is what a response deadline should be counted from.
statusDetail stringnull Why it is waiting, or why it failed.
pages integer
sheets integer
destination string
product string
colour boolean
duplex boolean
priceCents integer Excluding VAT.
vatCents integer
totalCents integer Including VAT. This is what is charged.
currency string
trackingCode stringnull
billedToOrganizationId stringnull The organisation that paid for this letter, null when it came out of your own wallet. Present on every read so an integrator sending for several companies can reconcile without keeping its own record.
createdAt string
postedAt stringnull
timeline array Every status this letter has been in. Returned when reading one letter.
View JSON Schema on GitHub

JSON Schema

sendletter-eu-letter-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sendletter-eu/json-schema/sendletter-eu-letter-schema.json",
  "title": "Letter",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendletter-eu-openapi.json#/components/schemas/Letter",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Use this to poll status and to reconcile invoices."
    },
    "mode": {
      "type": "string",
      "enum": [
        "test",
        "live"
      ],
      "description": "Which kind of key created it. A test letter is never printed, never posted and never charged for, and says so here and in every callback about it."
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "scheduled",
        "awaiting_payment",
        "paid",
        "queued",
        "processing",
        "attention_required",
        "submitted",
        "printed",
        "posted",
        "delivered",
        "failed",
        "cancelled",
        "returned",
        "refund_pending",
        "refunded"
      ],
      "description": "queued means accepted and waiting on the print partner. posted is the moment the legal clock starts and is what a response deadline should be counted from."
    },
    "statusDetail": {
      "type": [
        "string",
        "null"
      ],
      "description": "Why it is waiting, or why it failed."
    },
    "pages": {
      "type": "integer"
    },
    "sheets": {
      "type": "integer"
    },
    "destination": {
      "type": "string"
    },
    "product": {
      "type": "string"
    },
    "colour": {
      "type": "boolean"
    },
    "duplex": {
      "type": "boolean"
    },
    "priceCents": {
      "type": "integer",
      "description": "Excluding VAT."
    },
    "vatCents": {
      "type": "integer"
    },
    "totalCents": {
      "type": "integer",
      "description": "Including VAT. This is what is charged."
    },
    "currency": {
      "type": "string",
      "enum": [
        "EUR"
      ]
    },
    "trackingCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "billedToOrganizationId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The organisation that paid for this letter, null when it came out of your own wallet. Present on every read so an integrator sending for several companies can reconcile without keeping its own record."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "postedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "timeline": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TimelineEntry"
      },
      "description": "Every status this letter has been in. Returned when reading one letter."
    }
  },
  "$defs": {
    "TimelineEntry": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string"
        },
        "message": {
          "type": [
            "string",
            "null"
          ]
        },
        "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/sendletter-eu-letter"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.