AgenticTrade Email API

The email API from AgenticTrade — 7 operation(s) for email.

Operations 7

POST /api/v1/download-gate Download Gate #
GET /api/v1/unsubscribe Unsubscribe #
GET /api/v1/admin/subscribers Subscriber Stats #
POST /api/v1/email/drip-process Drip Process #
POST /api/v1/email/drip-trigger Drip Trigger #
GET /api/v1/email/drip-status Drip Status #
POST /api/v1/email/inbound Resend Inbound Webhook #

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/agentictrade-io:agentictrade-io-email-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

agentictrade-io-email-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Agentictrade Io Email API
  version: 0.7.1
  description: 'Operations tagged email across 2 of this provider''s published API definitions: agentictrade-io-openapi.json, agentictrade-io.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Email
paths:
  /api/v1/download-gate:
    post:
      tags:
      - Email
      summary: Download Gate
      description: 'Email-gated download endpoint.

        Collects email, sends welcome email, returns download link.'
      operationId: download_gate_api_v1_download_gate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DownloadGateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DownloadGateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/unsubscribe:
    get:
      tags:
      - Email
      summary: Unsubscribe
      description: One-click unsubscribe (requires valid token from email link).
      operationId: unsubscribe_api_v1_unsubscribe_get
      parameters:
      - name: email
        in: query
        required: true
        schema:
          type: string
          title: Email
      - name: token
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnsubscribeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/admin/subscribers:
    get:
      tags:
      - Email
      summary: Subscriber Stats
      description: Get subscriber count (admin only).
      operationId: subscriber_stats_api_v1_admin_subscribers_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/v1/email/drip-process:
    post:
      tags:
      - Email
      summary: Drip Process
      description: 'Cron-friendly endpoint: process all pending provider drip emails.


        Secured via admin key in x-admin-key header.

        Pass ?dry_run=true to preview without actually sending.'
      operationId: drip_process_api_v1_email_drip_process_post
      parameters:
      - name: dry_run
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Dry Run
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DripProcessResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/email/drip-trigger:
    post:
      tags:
      - Email
      summary: Drip Trigger
      description: 'Trigger a milestone-based drip email (e.g., first_sale).


        Secured via admin key in x-admin-key header.

        Idempotent — won''t send duplicate if already triggered.'
      operationId: drip_trigger_api_v1_email_drip_trigger_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DripTriggerRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DripTriggerResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/email/drip-status:
    get:
      tags:
      - Email
      summary: Drip Status
      description: 'Get drip email status for a provider (or global pending count).


        Secured via admin key in x-admin-key header.'
      operationId: drip_status_api_v1_email_drip_status_get
      parameters:
      - name: provider_id
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Provider Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/email/inbound:
    post:
      tags:
      - Email
      summary: Resend Inbound Webhook
      description: 'Resend inbound webhook endpoint.


        When someone sends email to *@agentictrade.io, Resend fires a POST here.

        We fetch the full email via Resend API and forward it to FORWARD_TO_EMAIL.'
      operationId: resend_inbound_webhook_api_v1_email_inbound_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  schemas:
    DownloadGateRequest:
      properties:
        email:
          type: string
          maxLength: 254
          minLength: 5
          title: Email
          description: Email address
        source:
          type: string
          maxLength: 50
          title: Source
          default: website
        locale:
          type: string
          maxLength: 10
          title: Locale
          description: Preferred locale (auto-detected if empty)
          default: ''
        consent:
          type: boolean
          title: Consent
          description: Explicit consent to receive marketing emails. Must be True.
          default: false
      type: object
      required:
      - email
      title: DownloadGateRequest
    DripTriggerResponse:
      properties:
        triggered:
          type: boolean
          title: Triggered
        drip_type:
          type: string
          title: Drip Type
        message:
          type: string
          title: Message
      type: object
      required:
      - triggered
      - drip_type
      - message
      title: DripTriggerResponse
    UnsubscribeResponse:
      properties:
        message:
          type: string
          title: Message
      type: object
      required:
      - message
      title: UnsubscribeResponse
    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
    DripTriggerRequest:
      properties:
        provider_id:
          type: string
          maxLength: 100
          minLength: 1
          title: Provider Id
        email:
          type: string
          maxLength: 254
          minLength: 5
          title: Email
        trigger:
          type: string
          title: Trigger
          description: 'Trigger type: first_sale'
      type: object
      required:
      - provider_id
      - email
      - trigger
      title: DripTriggerRequest
    DownloadGateResponse:
      properties:
        download_url:
          type: string
          title: Download Url
        message:
          type: string
          title: Message
        already_subscribed:
          type: boolean
          title: Already Subscribed
          default: false
      type: object
      required:
      - download_url
      - message
      title: DownloadGateResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DripProcessResponse:
      properties:
        sent:
          type: integer
          title: Sent
        failed:
          type: integer
          title: Failed
        skipped:
          type: integer
          title: Skipped
        details:
          items: {}
          type: array
          title: Details
          default: []
      type: object
      required:
      - sent
      - failed
      - skipped
      title: DripProcessResponse
x-refined-from:
- agentictrade-io-openapi.json
- agentictrade-io.json