SendForMe Letters API

The Letters API from SendForMe, for letters.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 7

POST /v1/letters/preview Free proof, price, delivery estimate #
POST /v1/letters Mail a letter (letter_id from a preview, or the full request). #
GET /v1/letters Recent letters on the account (needs a key) #
GET /v1/letters/{letter_id} Status, timeline, tracking and proof links; wait holds until the status changes #
DELETE /v1/letters/{letter_id} Cancel during the undo window (credit goes back to the balance) #
POST /v1/letters/{letter_id}/send Mail a previewed letter by id (same as POST /v1/letters with letter_id) #
POST /v1/letters/{letter_id}/cancel Same as DELETE /v1/letters/{letter_id} #

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/sendforme:sendforme-letters-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

sendforme-letters-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SendForMe Letters API
  version: 1.0.0
  description: 'SendForMe lets your AI agent mail real paper letters: it writes the letter or takes your PDF, and SendForMe prints it, mails it by USPS First-Class or Certified Mail, and tracks it. Same behavior as the MCP tools. Auth: Bearer sfm_ key (from the first letter''s setup, or /account). Previews need no key.'
servers:
- url: https://sendforme.co
security:
- bearer: []
- {}
tags:
- name: Letters
paths:
  /v1/letters/preview:
    post:
      operationId: previewLetter
      summary: Free proof, price, delivery estimate
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Letter'
      responses:
        '200':
          description: OK
      tags:
      - Letters
  /v1/letters:
    post:
      operationId: sendLetter
      summary: Mail a letter (letter_id from a preview, or the full request).
      parameters:
      - name: Idempotency-Key
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Letter'
              - type: object
                properties:
                  letter_id:
                    type: string
                  batch_id:
                    type: string
      responses:
        '200':
          description: Scheduled
        '402':
          description: 'needs_setup: show setup_url to the user'
      tags:
      - Letters
    get:
      operationId: listLetters
      summary: Recent letters on the account (needs a key)
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 50
      - name: status
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
      tags:
      - Letters
  /v1/letters/{letter_id}:
    get:
      operationId: getLetter
      summary: Status, timeline, tracking and proof links; wait holds until the status changes
      parameters:
      - name: letter_id
        in: path
        required: true
        schema:
          type: string
      - name: wait
        in: query
        schema:
          type: integer
          maximum: 50
      responses:
        '200':
          description: OK
      tags:
      - Letters
    delete:
      operationId: cancelLetter
      summary: Cancel during the undo window (credit goes back to the balance)
      parameters:
      - name: letter_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      tags:
      - Letters
  /v1/letters/{letter_id}/send:
    post:
      operationId: sendPreviewedLetter
      summary: Mail a previewed letter by id (same as POST /v1/letters with letter_id)
      parameters:
      - name: letter_id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Scheduled or awaiting_approval
        '402':
          description: 'needs_setup: show setup_url to the user'
      tags:
      - Letters
  /v1/letters/{letter_id}/cancel:
    post:
      operationId: cancelLetterPost
      summary: Same as DELETE /v1/letters/{letter_id}
      parameters:
      - name: letter_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      tags:
      - Letters
components:
  schemas:
    Letter:
      type: object
      properties:
        to:
          type: object
          description: name or company is required too (who it goes to or is from). A one-line US address string also works where the MCP tools take one.
          properties:
            name:
              type: string
            company:
              type: string
            line1:
              type: string
            line2:
              type: string
            city:
              type: string
            state:
              type: string
            zip:
              type: string
            country:
              type: string
              description: ISO 2-letter, default US
          required:
          - line1
        from:
          type: object
          description: name or company is required too (who it goes to or is from). A one-line US address string also works where the MCP tools take one.
          properties:
            name:
              type: string
            company:
              type: string
            line1:
              type: string
            line2:
              type: string
            city:
              type: string
            state:
              type: string
            zip:
              type: string
            country:
              type: string
              description: ISO 2-letter, default US
          required:
          - line1
        recipients:
          type: array
          items:
            type: object
            description: name or company is required too (who it goes to or is from). A one-line US address string also works where the MCP tools take one.
            properties:
              name:
                type: string
              company:
                type: string
              line1:
                type: string
              line2:
                type: string
              city:
                type: string
              state:
                type: string
              zip:
                type: string
              country:
                type: string
                description: ISO 2-letter, default US
            required:
            - line1
          description: Mail merge (instead of to)
        body:
          type: string
          description: 'Letter text, markdown. Only the body: no addresses, date or signature.'
        pdf:
          type: string
          description: Upload id (f_...), https URL, or base64
        attachments:
          type: array
          items:
            type: string
        subject:
          type: string
        references:
          type: array
          items:
            type: string
        salutation:
          type: string
        closing:
          type: string
        signature:
          type: string
          enum:
          - script
          - handwritten
          - typed
          - image
          - none
        signer_name:
          type: string
        signer_title:
          type: string
        enclosures:
          type: array
          items:
            type: string
        cc:
          type: array
          items:
            type: string
        postscript:
          type: string
        date:
          type: string
        font:
          type: string
          enum:
          - serif
          - sans
          - handwriting
          - typewriter
        letterhead:
          type: string
          enum:
          - none
          - name
          - full
        mail_class:
          type: string
          enum:
          - first_class
          - certified
          - certified_return_receipt
          description: Non-US recipients always go First-Class International; no need to set it.
        color:
          type: boolean
        double_sided:
          type: boolean
        mail_date:
          type: string
          format: date
        must_arrive_by:
          type: string
          format: date
        pdf_placement:
          type: string
          enum:
          - auto
          - first_page
          - cover_page
        label:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer