Ravenpost Email API

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

GitHub OpenAPI

Operations 3

POST /v1/emails Send one transactional email — a template turned on in Email → Transactional… #
GET /v1/emails/{id} What became of one transactional email: queued, sent, delivered, opened… #
GET /v1/email-templates The transactional templates that are turned on, each with the values it takes… #

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/ravenpo-st:ravenpo-st-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

ravenpo-st-email-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ravenpost Email API
  version: 1.0.0
  description: Schedule and publish social posts across Instagram, TikTok, X, Telegram, LinkedIn, Threads, Bluesky, Discord, Mastodon, YouTube, Pinterest, DEV and Hashnode. Every endpoint delegates to the same service the Ravenpost dashboard uses. Authenticate with a personal access token from Settings → API tokens; the token carries one workspace, which is why no route takes a workspace id.
  contact:
    name: Ravenpost support
    email: support@ravenpo.st
servers:
- url: https://api.ravenpo.st
security:
- bearerAuth: []
tags:
- name: Email
paths:
  /v1/emails:
    post:
      summary: Send one transactional email — a template turned on in Email → Transactional…
      description: 'Queued, not sent in the request: the answer (202) is the email with `status: "QUEUED"`, and `GET /v1/emails/:id` says what became of it. A template turned off in Email → Transactional is answered 409 `template_disabled` and nothing is sent — the request is kept as a skipped email, so keep calling: once it is turned on again, the same request sends. Every tag the template writes without a fallback has to be in `data`, or the request is refused (400, `missing_data`) — a hole in a sentence is never sent. An `info` template carries an unsubscribe link and is not sent to anybody who unsubscribed from the workspace’s emails; a `transactional` one (receipts, resets) has none and is; neither goes to an address that bounced or marked the workspace’s mail as spam. Pass an `idempotencyKey` and a retried request gets the first one’s email back (`duplicate: true`) instead of a second email. Needs Email with transactional emails on the workspace’s plan; through Ravenpost’s own sending it counts against the month’s emails (429 `email_month_spent` when they are used up).'
      tags:
      - Email
      operationId: postEmails
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                template:
                  type: string
                  description: The template’s key, e.g. `welcome`.
                to:
                  type: string
                  description: One email address.
                data:
                  type: object
                  description: 'The values its tags take: text, numbers or true/false, up to 50 keys. `email`, `sender_name` and `unsubscribe_url` are filled by Ravenpost.'
                idempotencyKey:
                  type: string
                  description: Up to 200 characters. A second request with the same key in this workspace sends nothing and answers the first email.
              required:
              - template
              - to
              additionalProperties: true
            example:
              template: welcome
              to: ada@example.com
              data:
                first_name: Ada
              idempotencyKey: welcome-user-123
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                id: em_k3
                templateId: tpl_w1
                template: welcome
                kind: info
                to: ada@example.com
                status: QUEUED
                source: api
                error: null
                createdAt: '2026-11-02T12:00:00.000Z'
                duplicate: false
        '401':
          description: Missing, malformed or revoked token
        '429':
          description: Rate limited (600 requests/minute)
  /v1/emails/{id}:
    get:
      summary: 'What became of one transactional email: queued, sent, delivered, opened…'
      description: '`status` is QUEUED, SENDING, SENT, DELIVERED, BOUNCED, COMPLAINED, FAILED or SKIPPED; `error` says why one failed or was skipped (the address unsubscribed, bounced before, a domain that takes no mail). Opens and clicks are timestamps beside the status. Kept for 90 days.'
      tags:
      - Email
      operationId: getEmailsId
      parameters:
      - name: id
        in: path
        required: true
        description: The id `POST /v1/emails` answered.
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                id: em_k3
                template: welcome
                to: ada@example.com
                status: DELIVERED
                sentAt: '2026-11-02T12:00:02.000Z'
                deliveredAt: '2026-11-02T12:00:04.000Z'
                openedAt: null
                error: null
        '401':
          description: Missing, malformed or revoked token
        '429':
          description: Rate limited (120 requests/minute)
  /v1/email-templates:
    get:
      summary: The transactional templates that are turned on, each with the values it takes…
      description: '`requiredData` lists the keys `data` must carry; every other tag has a fallback written in the template.'
      tags:
      - Email
      operationId: getEmailTemplates
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                templates:
                - key: trial-started
                  name: Trial started
                  kind: transactional
                  tags:
                  - key: plan_name
                    fallback: null
                    required: true
                  requiredData:
                  - plan_name
                  - trial_end
        '401':
          description: Missing, malformed or revoked token
        '429':
          description: Rate limited (120 requests/minute)
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: rvp_…