Liftli Email API

The email API from Liftli — 2 operation(s) for email.

GitHub OpenAPI

Operations 4

GET /api/v1/email/unsubscribe Unsubscribe Confirm #
POST /api/v1/email/unsubscribe Unsubscribe #
GET /api/v1/email/preferences Preferences #
POST /api/v1/email/preferences Save Preferences #

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/liftli-ai:liftli-ai-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

liftli-ai-email-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Liftli Ai Email API
  version: 1.4.6
  description: 'Operations tagged email across 2 of this provider''s published API definitions: app.liftli.ai.json, app-liftli-ai-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Email
paths:
  /api/v1/email/unsubscribe:
    get:
      tags:
      - Email
      summary: Unsubscribe Confirm
      description: Verify the signed link and render the confirm page. ZERO side effects (F3).
      operationId: unsubscribe_confirm_api_v1_email_unsubscribe_get
      parameters:
      - name: s
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: S
      - name: t
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: T
      - name: stream
        in: query
        required: false
        schema:
          type: string
          default: onboarding
          title: Stream
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Email
      summary: Unsubscribe
      description: Stop ONE stream for the person (idempotent). Any tamper or malformed input -> 400.
      operationId: unsubscribe_api_v1_email_unsubscribe_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_unsubscribe_api_v1_email_unsubscribe_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/email/preferences:
    get:
      tags:
      - Email
      summary: Preferences
      description: 'Render the person''s switches. ZERO side effects: saving is the POST.'
      operationId: preferences_api_v1_email_preferences_get
      parameters:
      - name: s
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: S
      - name: t
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: T
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Email
      summary: Save Preferences
      description: Save the switches. A ticked box RESUBSCRIBES; "all" switches every stream off.
      operationId: save_preferences_api_v1_email_preferences_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_save_preferences_api_v1_email_preferences_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_save_preferences_api_v1_email_preferences_post:
      properties:
        s:
          type: string
          title: S
          default: ''
        t:
          type: string
          title: T
          default: ''
        action:
          type: string
          title: Action
          default: save
      type: object
      title: Body_save_preferences_api_v1_email_preferences_post
    Body_unsubscribe_api_v1_email_unsubscribe_post:
      properties:
        s:
          type: string
          title: S
          default: ''
        t:
          type: string
          title: T
          default: ''
        stream:
          type: string
          title: Stream
          default: onboarding
      type: object
      title: Body_unsubscribe_api_v1_email_unsubscribe_post
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
x-refined-from:
- app.liftli.ai.json
- app-liftli-ai-openapi.json
x-provenance:
  method: harvested
  publisher: Liftli
  source: https://app.liftli.ai/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)