Patricia Email API

The email API from Patricia — 3 operation(s) for email.

GitHub OpenAPI

Operations 5

GET /v1/email/dashboard-send-unsubscribe/{token} Show Schedule Opt Out Page #
POST /v1/email/dashboard-send-unsubscribe/{token} Record Schedule Opt Out Request #
GET /v1/email/unsubscribe/{token} Unsubscribe Page #
POST /v1/email/unsubscribe/{token} Unsubscribe #
POST /v1/email/unsubscribe/{token}/resubscribe Resubscribe #

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/patricia-app:patricia-app-email-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

patricia-app-email-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Patricia Email API
  version: 0.1.0
tags:
- name: Email
paths:
  /v1/email/dashboard-send-unsubscribe/{token}:
    get:
      tags:
      - Email
      summary: Show Schedule Opt Out Page
      description: The page behind the footer link. It records nothing until the person presses the button.
      operationId: show_schedule_opt_out_page_v1_email_dashboard_send_unsubscribe__token__get
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Email
      summary: Record Schedule Opt Out Request
      description: Record the opt-out. The page button asks for the confirmation page, a one-click POST gets an empty 200.
      operationId: record_schedule_opt_out_request_v1_email_dashboard_send_unsubscribe__token__post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      - name: page
        in: query
        required: false
        schema:
          type: integer
          default: 0
          title: Page
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/email/unsubscribe/{token}:
    get:
      tags:
      - Email
      summary: Unsubscribe Page
      description: 'The footer link''s preference page. Shows unsubscribe or (once opted out) resubscribe, so the

        resubscribe path is reachable by a human instead of being an API-only dead end.'
      operationId: unsubscribe_page_v1_email_unsubscribe__token__get
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Email
      summary: Unsubscribe
      description: 'RFC 8058 one-click unsubscribe (also the preference page''s form target). Idempotent, empty 200.


        Any POST to this URL is an unsubscribe: the mail client''s one-click body

        (``List-Unsubscribe=One-Click``) and the page form both land here, and the body is deliberately

        ignored: fail toward honoring the opt-out.'
      operationId: unsubscribe_v1_email_unsubscribe__token__post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/email/unsubscribe/{token}/resubscribe:
    post:
      tags:
      - Email
      summary: Resubscribe
      description: Undo an opt-out from the preference page (never called by mail clients).
      operationId: resubscribe_v1_email_unsubscribe__token__resubscribe_post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer