Stori Webhooks API

External webhook handlers

GitHub OpenAPI

Operations 1

POST /api/stripe/webhook Stripe webhook handler #

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-webhooks-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-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stori Webhooks 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: Webhooks
  description: External webhook handlers
paths:
  /api/stripe/webhook:
    post:
      tags:
      - Webhooks
      summary: Stripe webhook handler
      description: Handles Stripe webhook events (signature verification required)
      parameters:
      - schema:
          type: string
          description: Stripe signature header
        required: true
        description: Stripe signature header
        name: stripe-signature
        in: header
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: Event ID
                type:
                  type: string
                  description: Event type
                data:
                  type: object
                  properties:
                    object: {}
              required:
              - id
              - type
              - data
      responses:
        '200':
          description: Webhook processed
          content:
            application/json:
              schema:
                type: object
                properties:
                  received:
                    type: boolean
                    enum:
                    - true
                required:
                - received
        '400':
          description: Invalid signature or duplicate event
      operationId: postApiStripeWebhook
      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.'