Piloxa Check API

The Check API from Piloxa — 1 operation(s) for check.

GitHub OpenAPI

Operations 1

POST /api/v1/check Check a letter before it is mailed #

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/piloxa-com:piloxa-com-check-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

piloxa-com-check-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Piloxa Certified Mail Check API
  version: 0.31.0
  description: 'Piloxa, the physical-mail action layer for AI agents: prepare, purchase, send and track USPS Certified Mail to any U.S. address. Human approval is required before payment or mailing. Turn a letter an assistant wrote into USPS Certified Mail. This HTTP API only PREPARES a letter and returns a review link: the person opens it, reads the exact document, sees the total, pays by card and authorizes. Nothing is printed, mailed or charged by any call here. No API key, no account and no OAuth. The same operations are available as a remote MCP server at https://piloxa.com/mcp. Capabilities and current prices: https://piloxa.com/agent-capabilities.json.'
  contact:
    name: Piloxa support
    email: support@piloxa.com
    url: https://piloxa.com/support
  termsOfService: https://piloxa.com/terms
servers:
- url: https://piloxa.com
tags:
- name: Check
paths:
  /api/v1/check:
    post:
      operationId: checkCertifiedLetter
      summary: Check a letter before it is mailed
      description: 'Read only. Checks a draft letter before mailing: page count, recipient and sender completeness, missing fields, placeholders, the recommended service and its exact price, and the next action. Stores, mails and charges nothing.'
      x-openai-isConsequential: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                letter_text:
                  type: string
                  description: 'The letter body as it would print: salutation, paragraphs and closing, without the addresses or date (those come from the other fields). Up to 60,000 characters. Pass this OR document_text.'
                document_text:
                  type: string
                  description: The full text of a document that is already finished and prints exactly as written, addresses and signature included. Up to 60,000 characters. Pass this OR letter_text.
                subject:
                  type: string
                  description: The "Re:" line, if any.
                signature_name:
                  type: string
                  description: Name printed under the closing.
                recipient_address_block:
                  type: string
                  description: The recipient as addressed, one part per line. Named recipient fields win over it. Left out, the recipient is read from the inside address in the text, if it has one.
                recipient_name:
                  type: string
                recipient_company:
                  type: string
                address_line1:
                  type: string
                  description: Recipient street address.
                address_line2:
                  type: string
                city:
                  type: string
                state:
                  type: string
                  description: Two-letter U.S. state code.
                postal_code:
                  type: string
                  description: Five-digit ZIP code.
                sender_address_block:
                  type: string
                  description: The sender (return address) as written, one part per line.
                sender_name:
                  type: string
                sender_address_line1:
                  type: string
                sender_city:
                  type: string
                sender_state:
                  type: string
                sender_postal_code:
                  type: string
                desired_service:
                  type: string
                  enum:
                  - CERTIFIED
                  - CERTIFIED_ERR
                  - CERTIFIED_EVIDENCE
                  - CERTIFIED_DEADLINE
                  description: The service the person has in mind, if any; its price is returned as current_estimated_price. Left out, the recommended service is priced.
                enclosures_supplied:
                  type: array
                  items:
                    type: string
                  maxItems: 10
                  description: Names of enclosures the person says they have, so an enclosure the letter mentions is not reported missing.
      responses:
        '200':
          description: The check. Nothing stored.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ready_to_prepare:
                    type: boolean
                    description: 'True when nothing blocks mailing: the recipient address is complete, nothing is left to fix and the length fits the printer.'
                  estimated_page_count:
                    type: integer
                  max_pages:
                    type:
                    - integer
                    - 'null'
                  document_type:
                    type: string
                    enum:
                    - preliminary_notice
                    - notice_of_intent_to_sue
                    - debt_validation_request
                    - credit_dispute
                    - security_deposit_demand
                    - notice_to_vacate
                    - lease_termination
                    - cease_and_desist
                    - insurance_claim
                    - contract_termination
                    - demand_letter
                    - legal_notice
                    - general_letter
                  document_type_label:
                    type: string
                  detected_recipient:
                    type: object
                  recipient_read_from_text:
                    type: boolean
                  recipient_address_complete:
                    type: boolean
                  detected_sender:
                    type: object
                  sender_address_complete:
                    type: boolean
                    description: The sender can also be filled in on the review page, so an incomplete sender does not block preparing.
                  missing_fields:
                    type: array
                    items:
                      type: string
                  potential_deadline_detected:
                    type: boolean
                    description: True when the letter itself asks for an answer, payment or action by a date or within a number of days. Read from the text; it is not a legal deadline determination.
                  deadline_in_letter:
                    type:
                    - object
                    - 'null'
                  recommended_service:
                    type: string
                    enum:
                    - CERTIFIED
                    - CERTIFIED_ERR
                    - CERTIFIED_EVIDENCE
                    - CERTIFIED_DEADLINE
                  recommended_because:
                    type: array
                    items:
                      type: string
                  optional_upgrade:
                    type: object
                    description: 'Present when the letter reads as a dispute or demand that could reach a court or an agency: the Evidence Pack, its reasons and the extra cost. Never selected; mention it as an option only.'
                  current_estimated_price:
                    type: object
                    description: The exact current total for desired_service, or for the recommended service.
                  prices_by_service:
                    type: array
                    items:
                      type: object
                  promotion:
                    type:
                    - object
                    - 'null'
                    description: Present when the first-letter promotion could lower this total; it is applied by the same rule at every checkout once the payer is known.
                  warnings:
                    type: array
                    items:
                      type: object
                  next_action:
                    type: string
                  scope:
                    type: string
                  stored:
                    type: boolean
                    description: 'Always false: nothing from this call is kept.'
                  mailed:
                    type: boolean
                    description: Always false.
                  charged:
                    type: boolean
                    description: Always false.
                  requires_human_approval:
                    type: boolean
                required:
                - ready_to_prepare
                - estimated_page_count
                - missing_fields
                - recommended_service
                - next_action
                - mailed
                - charged
                - stored
        '400':
          description: The request was refused; nothing was prepared, mailed or charged.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                        description: What was wrong, in words that can be read straight to the person, and how to fix the call.
                    required:
                    - code
                    - message
                required:
                - error
        '429':
          description: Too many requests from this address. Wait a few minutes.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                        description: What was wrong, in words that can be read straight to the person, and how to fix the call.
                    required:
                    - code
                    - message
                required:
                - error
      tags:
      - Check
externalDocs:
  description: What Piloxa does and refuses to do, for assistants and agents
  url: https://piloxa.com/for-ai-agents