SMTP Senpai (MailSenpai) SMTP Senpai API

The SMTP Senpai API API from SMTP Senpai (MailSenpai) — 0 operation(s) for smtp senpai api.

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/mailsenpai:mailsenpai-smtp-senpai-api-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

mailsenpai-smtp-senpai-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SMTP Senpai API
  version: 1.1.0
  summary: Transactional email sending, log, suppression list and website forms.
  description: 'REST API of SMTP Senpai, the MailSenpai relay. Every response is JSON with an `ok` field; on errors there is also `errore`, with an Italian message. You find the key in the customer area, SMTP Senpai page. Call it from your server: the API does not accept browser requests (no CORS), except the form endpoint.'
  contact:
    name: MailSenpai
    url: https://en.mailsenpai.com/smtp-api/
servers:
- url: https://app.mailsenpai.com/relay/v1
security:
- chiaveBearer: []
tags:
- name: SMTP Senpai API
paths: {}
webhooks:
  eventoRelay:
    post:
      summary: Relay event (to your address)
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventoWebhook'
      responses:
        '200':
          description: Answer 2xx within 8 seconds.
      tags:
      - SMTP Senpai API
components:
  schemas:
    EventoWebhook:
      type: object
      description: 'Body of the POST we send to your address. Headers: X-MailSenpai-Event, X-MailSenpai-Delivery, X-MailSenpai-Signature (t=<unix>,v1=<HMAC-SHA256 of "<t>.<body>" with the secret>).'
      properties:
        id:
          type: string
          example: evt_88214
        type:
          type: string
        created_at:
          type: string
          format: date-time
        data:
          type: object
          properties:
            email:
              type: string
            domain:
              type: string
            from_domain:
              type: string
            code:
              type: string
            reason:
              type: string
            message_id:
              type: string
            url:
              type: string
        account:
          type: string
        test:
          type: boolean
          description: Only in test events.
  securitySchemes:
    chiaveBearer:
      type: http
      scheme: bearer
      bearerFormat: msp_…
      description: '`Authorization: Bearer msp_…` (the key starts with `msp_`). As an alternative the `chiave` field is accepted in the body (JSON or form). A key in the URL (`?chiave=`) is refused with 401: it would end up in logs.'
externalDocs:
  description: Documentation with examples
  url: https://en.mailsenpai.com/smtp-api/