Stori Email API

Gmail/Outlook email integration

GitHub OpenAPI

Operations 2

POST /api/recruiter/gmail/send Send email via Gmail #
GET /api/recruiter/gmail/status Get Gmail connection status #

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/onestori-com:onestori-com-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

onestori-com-email-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stori Email API
  version: 1.0.0
  description: '# Stori API Documentation


    Stori is a candidate intelligence platform that helps job seekers stand out and recruiters find the right talent.


    ## Authentication


    Most endpoints require authentication via one of:

    - **Bearer Token**: Pass your Supabase JWT in the `Authorization: Bearer ` header

    - **Session Cookie**: Automatic for web app users


    ## Rate Limits


    All endpoints are rate-limited to prevent abuse:


    | Endpoint Type | Limit |

    |---------------|-------|

    | PDL Search | 75 req/min |

    | AI Generation | 7 req/min |

    | Auth | 5 req/min |

    | Email Send | 10 req/min |

    | Video Upload | 4 req/min |

    | Standard API | 100 req/min |

    | Read-only | 200 req/min |


    Rate limit headers are included in all responses:

    - `X-RateLimit-Limit`: Maximum requests allowed

    - `X-RateLimit-Remaining`: Requests remaining

    - `X-RateLimit-Reset`: Unix timestamp when limit resets


    ## Credits


    Some operations consume credits:

    - PDL searches cost credits based on results

    - Unlocking contact info costs 1 credit per contact

    - Credits can be purchased via Stripe checkout


    ## Error Handling


    All errors follow this format:

    ```json

    {

    "error": "Error message",

    "details": { "field": ["validation error"] }

    }

    ```


    Common status codes:

    - `400` - Validation error

    - `401` - Unauthorized (invalid/missing token)

    - `402` - Payment required (insufficient credits)

    - `403` - Forbidden (subscription required)

    - `429` - Rate limit exceeded

    - `500` - Internal server error'
  contact:
    name: Stori Support
    url: https://onestori.com
servers:
- url: https://onestori.com
  description: Production
- url: http://localhost:3000
  description: Development
tags:
- name: Email
  description: Gmail/Outlook email integration
paths:
  /api/recruiter/gmail/send:
    post:
      tags:
      - Email
      summary: Send email via Gmail
      description: Sends an email through the connected Gmail account
      security:
      - BearerAuth: []
      - CookieAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                to:
                  type: string
                  format: email
                  description: Recipient email
                toName:
                  type: string
                  maxLength: 200
                  description: Recipient name
                subject:
                  type: string
                  minLength: 1
                  maxLength: 500
                  description: Email subject
                bodyText:
                  type: string
                  maxLength: 100000
                  description: Plain text body
                bodyHtml:
                  type: string
                  maxLength: 200000
                  description: HTML body
                draftId:
                  type: string
                  format: uuid
                  description: Draft ID to mark as sent
                videoIntro:
                  type: object
                  properties:
                    gifUrl:
                      type:
                      - string
                      - 'null'
                      format: uri
                    thumbnailUrl:
                      type:
                      - string
                      - 'null'
                      format: uri
                    landingPageUrl:
                      type: string
                      format: uri
                  required:
                  - gifUrl
                  - thumbnailUrl
                  - landingPageUrl
                  description: Video intro to embed
                attachments:
                  type: array
                  items:
                    type: object
                    properties:
                      filename:
                        type: string
                        minLength: 1
                        maxLength: 255
                      mimeType:
                        type: string
                        minLength: 1
                        maxLength: 100
                      content:
                        type: string
                        description: Base64 encoded content
                    required:
                    - filename
                    - mimeType
                    - content
                  maxItems: 10
              required:
              - to
              - subject
              - bodyText
      responses:
        '200':
          description: Email sent
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                    - true
                  messageId:
                    type: string
                required:
                - success
                - messageId
        '401':
          description: Unauthorized
        '403':
          description: Gmail not connected
      operationId: postApiRecruiterGmailSend
      x-operation-id-source: derived
  /api/recruiter/gmail/status:
    get:
      tags:
      - Email
      summary: Get Gmail connection status
      description: Checks if Gmail is connected and returns connection details
      security:
      - BearerAuth: []
      - CookieAuth: []
      responses:
        '200':
          description: Connection status
          content:
            application/json:
              schema:
                type: object
                properties:
                  connected:
                    type: boolean
                  email:
                    type: string
                    format: email
                  expiresAt:
                    type: string
                required:
                - connected
        '401':
          description: Unauthorized
      operationId: getApiRecruiterGmailStatus
      x-operation-id-source: derived
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase JWT token from authentication
    CookieAuth:
      type: apiKey
      in: cookie
      name: sb-access-token
      description: Supabase session cookie
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Stori API key (sk_live_... or sk_test_...). All v1 endpoints are scoped to the key''s company. Scopes: read:jobs, read:candidates, read:credits, read:health.'