WarmySender Webhooks API

The Webhooks API from WarmySender, for webhooks.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 6

GET /webhooks List webhooks #
POST /webhooks Create a webhook #
PATCH /webhooks/{id} Update a webhook #
DELETE /webhooks/{id} Delete a webhook #
POST /webhooks/{id}/test Send a test event #
POST /webhooks/{id}/rotate-secret Rotate a webhook signing secret #

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

warmysender-com-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WarmySender Public Webhooks API
  version: 1.0.0
  description: 'The WarmySender Public REST API for Cold Email, Email Warmup, LinkedIn, Instagram and multichannel campaigns.


    **Authentication.** Every request (except `GET /me` and this spec) requires a Bearer API key in the `Authorization` header: `Authorization: Bearer ws_...`. Create keys in your workspace settings and grant each key only the scopes it needs.


    **Response envelope.** Successful responses wrap their payload in a `data` field. List endpoints add a `pagination` object (`{ has_more, next_cursor }`) for cursor-based paging, and most responses include a `meta.request_id`. Errors return `{ error: { code, message, ... } }` with the matching HTTP status. (`GET /me` is the one endpoint not wrapped in `data`.)


    **Rate limit.** 60–480 requests per minute, per workspace, depending on your plan (Pro 60 · Enterprise 240 · Ultimate 480). The limit is per WORKSPACE, not per API key — minting more keys does not raise it. Connection-test endpoints have an additional, stricter limit. When throttled you receive `429` with a `Retry-After` header.


    **Idempotency.** Write endpoints that create or mutate resources accept (and some require) a unique `Idempotency-Key` header so retries never duplicate work. Reusing a key returns the original result; reusing it with a different body returns `409`.


    **Webhooks.** WarmySender also delivers outbound webhooks (reply received, bounce, open, click, LinkedIn invite accepted, and more). Register endpoints with the Webhooks API; the available event types and their payloads are listed under the `x-webhook-events` extension of this document.'
  contact:
    name: WarmySender Support
    url: https://warmysender.com/support
servers:
- url: https://warmysender.com/api/v1
security:
- bearerAuth: []
tags:
- name: Webhooks
paths:
  /webhooks:
    get:
      operationId: webhooks-list
      summary: List webhooks
      description: 'Returns your configured webhook endpoints (without secrets). An endpoint that was turned off carries disabledReason.


        Required scope: `webhooks:read`.'
      tags:
      - Webhooks
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                data:
                - id: wh_2c1a9f
                  url: https://example.com/hooks/warmysender
                  events:
                  - reply.received
                  - email.bounced
                  isActive: true
                  lastTriggeredAt: null
                  failureCount: 0
                  createdAt: '2026-06-10T12:00:00.000Z'
                  updatedAt: '2026-06-10T12:00:00.000Z'
        '401':
          description: '`unauthorized` — Missing or invalid API key.'
          content:
            application/json:
              example:
                error:
                  code: unauthorized
                  message: Missing or invalid API key.
        '403':
          description: '`insufficient_scope` — The API key lacks the scope this endpoint requires.'
          content:
            application/json:
              example:
                error:
                  code: insufficient_scope
                  message: The API key lacks the scope this endpoint requires.
        '429':
          description: '`rate_limited` — Too many requests — slow down and retry after the Retry-After delay.'
          content:
            application/json:
              example:
                error:
                  code: rate_limited
                  message: Too many requests — slow down and retry after the Retry-After delay.
    post:
      operationId: webhooks-create
      summary: Create a webhook
      description: 'Registers a webhook endpoint for one or more event types. The signing secret (whsec_…) is returned ONCE in this response — store it; you''ll use it to verify payload signatures.


        Required scope: `webhooks:write`.


        Requires a unique `Idempotency-Key` request header so retries never duplicate.'
      tags:
      - Webhooks
      parameters:
      - name: Idempotency-Key
        in: header
        required: true
        description: A unique key (e.g. a UUID) that makes this write safe to retry. Reusing a key returns the original result; reusing it with a different body returns 409.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  maxLength: 500
                  format: uri
                  description: Public https URL that receives POST deliveries. Private or internal addresses (localhost, 10.x, 192.168.x, 169.254.x and similar) are refused.
                events:
                  type: array
                  items:
                    type: string
                  minItems: 1
                  description: Event types to subscribe to (see Webhook Events).
              required:
              - url
              - events
            example:
              url: https://example.com/hooks/warmysender
              events:
              - reply.received
              - email.bounced
              - linkedin.reply_received
      responses:
        '201':
          description: Success
          content:
            application/json:
              example:
                data:
                  id: wh_2c1a9f
                  url: https://example.com/hooks/warmysender
                  events:
                  - reply.received
                  - email.bounced
                  - linkedin.reply_received
                  isActive: true
                  secret: whsec_3f9a...redacted
                  createdAt: '2026-06-10T12:00:00.000Z'
                message: Webhook created. Save the secret - it will not be shown again.
        '400':
          description: '`validation_error` — Invalid URL or unknown event type.'
          content:
            application/json:
              example:
                error:
                  code: validation_error
                  message: Invalid URL or unknown event type.
        '401':
          description: '`unauthorized` — Missing or invalid API key.'
          content:
            application/json:
              example:
                error:
                  code: unauthorized
                  message: Missing or invalid API key.
        '403':
          description: '`insufficient_scope` — The API key lacks the scope this endpoint requires.'
          content:
            application/json:
              example:
                error:
                  code: insufficient_scope
                  message: The API key lacks the scope this endpoint requires.
        '429':
          description: '`rate_limited` — Too many requests — slow down and retry after the Retry-After delay.'
          content:
            application/json:
              example:
                error:
                  code: rate_limited
                  message: Too many requests — slow down and retry after the Retry-After delay.
  /webhooks/{id}:
    patch:
      operationId: webhooks-update
      summary: Update a webhook
      description: 'Change a webhook''s URL, subscribed events, or active flag.


        Required scope: `webhooks:write`.'
      tags:
      - Webhooks
      parameters:
      - name: id
        in: path
        required: true
        description: Webhook id.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  maxLength: 500
                  format: uri
                  description: 'New delivery URL. Same rule as create: public https only.'
                events:
                  type: array
                  items:
                    type: string
                  minItems: 1
                  description: Replacement list of event types.
                isActive:
                  type: boolean
                  description: Enable or disable deliveries.
            example:
              isActive: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                data:
                  id: wh_2c1a9f
                  url: https://example.com/hooks/warmysender
                  events:
                  - reply.received
                  isActive: false
                  lastTriggeredAt: null
                  failureCount: 0
                  createdAt: '2026-06-10T12:00:00.000Z'
                  updatedAt: '2026-06-10T12:05:00.000Z'
        '400':
          description: '`validation_error` — Body failed validation.'
          content:
            application/json:
              example:
                error:
                  code: validation_error
                  message: Body failed validation.
        '401':
          description: '`unauthorized` — Missing or invalid API key.'
          content:
            application/json:
              example:
                error:
                  code: unauthorized
                  message: Missing or invalid API key.
        '403':
          description: '`insufficient_scope` — The API key lacks the scope this endpoint requires.'
          content:
            application/json:
              example:
                error:
                  code: insufficient_scope
                  message: The API key lacks the scope this endpoint requires.
        '404':
          description: '`not_found` — Webhook not found.'
          content:
            application/json:
              example:
                error:
                  code: not_found
                  message: Webhook not found.
        '429':
          description: '`rate_limited` — Too many requests — slow down and retry after the Retry-After delay.'
          content:
            application/json:
              example:
                error:
                  code: rate_limited
                  message: Too many requests — slow down and retry after the Retry-After delay.
    delete:
      operationId: webhooks-delete
      summary: Delete a webhook
      description: 'Permanently removes a webhook endpoint. Returns 204 with no body.


        Required scope: `webhooks:write`.'
      tags:
      - Webhooks
      parameters:
      - name: id
        in: path
        required: true
        description: Webhook id.
        schema:
          type: string
      responses:
        '204':
          description: Success — no response body.
        '401':
          description: '`unauthorized` — Missing or invalid API key.'
          content:
            application/json:
              example:
                error:
                  code: unauthorized
                  message: Missing or invalid API key.
        '403':
          description: '`insufficient_scope` — The API key lacks the scope this endpoint requires.'
          content:
            application/json:
              example:
                error:
                  code: insufficient_scope
                  message: The API key lacks the scope this endpoint requires.
        '404':
          description: '`not_found` — Webhook not found.'
          content:
            application/json:
              example:
                error:
                  code: not_found
                  message: Webhook not found.
        '429':
          description: '`rate_limited` — Too many requests — slow down and retry after the Retry-After delay.'
          content:
            application/json:
              example:
                error:
                  code: rate_limited
                  message: Too many requests — slow down and retry after the Retry-After delay.
  /webhooks/{id}/test:
    post:
      operationId: webhooks-test
      summary: Send a test event
      description: 'Queues a webhook.test delivery to the endpoint so you can verify signature handling end-to-end. No request body.


        Required scope: `webhooks:write`.


        Requires a unique `Idempotency-Key` request header so retries never duplicate.'
      tags:
      - Webhooks
      parameters:
      - name: id
        in: path
        required: true
        description: Webhook id.
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: true
        description: A unique key (e.g. a UUID) that makes this write safe to retry. Reusing a key returns the original result; reusing it with a different body returns 409.
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                data:
                  eventId: evt_a1b2c3
                  status: queued
                  message: Test webhook event has been queued for delivery
        '401':
          description: '`unauthorized` — Missing or invalid API key.'
          content:
            application/json:
              example:
                error:
                  code: unauthorized
                  message: Missing or invalid API key.
        '403':
          description: '`insufficient_scope` — The API key lacks the scope this endpoint requires.'
          content:
            application/json:
              example:
                error:
                  code: insufficient_scope
                  message: The API key lacks the scope this endpoint requires.
        '404':
          description: '`not_found` — Webhook not found.'
          content:
            application/json:
              example:
                error:
                  code: not_found
                  message: Webhook not found.
        '429':
          description: '`rate_limited` — Too many requests — slow down and retry after the Retry-After delay.'
          content:
            application/json:
              example:
                error:
                  code: rate_limited
                  message: Too many requests — slow down and retry after the Retry-After delay.
  /webhooks/{id}/rotate-secret:
    post:
      operationId: webhooks-rotate-secret
      summary: Rotate a webhook signing secret
      description: 'Replaces the signing secret. The new secret is returned ONCE. The previous secret stops verifying on the next delivery. Same scope as creating a webhook.


        Required scope: `webhooks:write`.


        Requires a unique `Idempotency-Key` request header so retries never duplicate.'
      tags:
      - Webhooks
      parameters:
      - name: id
        in: path
        required: true
        description: Webhook id.
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: true
        description: A unique key (e.g. a UUID) that makes this write safe to retry. Reusing a key returns the original result; reusing it with a different body returns 409.
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                data:
                  id: wh_2c1a9f
                  secret: whsec_3f9a...redacted
                message: Webhook secret rotated. Save the secret - it will not be shown again. The previous secret no longer works.
        '401':
          description: '`unauthorized` — Missing or invalid API key.'
          content:
            application/json:
              example:
                error:
                  code: unauthorized
                  message: Missing or invalid API key.
        '403':
          description: '`insufficient_scope` — The API key lacks the scope this endpoint requires.'
          content:
            application/json:
              example:
                error:
                  code: insufficient_scope
                  message: The API key lacks the scope this endpoint requires.
        '404':
          description: '`not_found` — Webhook not found.'
          content:
            application/json:
              example:
                error:
                  code: not_found
                  message: Webhook not found.
        '429':
          description: '`rate_limited` — Too many requests — slow down and retry after the Retry-After delay.'
          content:
            application/json:
              example:
                error:
                  code: rate_limited
                  message: Too many requests — slow down and retry after the Retry-After delay.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key (ws_...)
x-webhook-events:
- type: reply.received
  description: A prospect replied (email or LinkedIn). messageId is the Message-ID of the reply itself. For email, inReplyToMessageId is the messageId of the email it answered (the same value as in email.sent and GET /emails/sent), plus the stepIndex and stepNumber of that email; these three fields are left out when the reply does not name one of your emails. For email, bodyText is the full reply as it arrived (up to 4,000 characters, with bodyTruncated telling you when it was cut) and fromEmail is the address it came from. When known, an email reply also includes toEmail (the mailbox it arrived at), campaignName, prospectName, prospectCompany, and bodyTextStripped (only the words the person typed, without the quoted earlier email; empty when the reply is only that quote). Each of those is left out when unknown. GET /replies returns the same record for backfilling.
  payloadExample:
    prospectId: f3c4a2d1-...
    prospectEmail: jane@acme.com
    campaignId: c1a2b3c4-...
    campaignName: Q3 founders outreach
    mailboxId: 5bd50e20-...
    subject: 'Re: Quick question, Jane'
    messageId: <CAJx9f2k7Qp@mail.acme.com>
    receivedAt: '2026-06-10T11:00:00.000Z'
    channel: email
    inReplyToMessageId: <a1b2c3d4-5e6f-7a8b@yourdomain.com>
    stepIndex: 1
    stepNumber: 2
    fromEmail: jane@acme.com
    toEmail: alex@yourdomain.com
    prospectName: Jane Cooper
    prospectCompany: Acme
    bodyText: Hi Alex, yes, send me the details on Thursday.
    bodyTruncated: false
    bodyTextStripped: Hi Alex, yes, send me the details on Thursday.
- type: email.sent
  description: 'A campaign email was accepted by your sending mailbox server. This is not yet a delivery confirmation: problems found later arrive as email.bounced. Warmup emails and test sends are not included. Same fields as GET /emails/sent.'
  payloadExample:
    prospectId: f3c4a2d1-...
    prospectEmail: jane@acme.com
    campaignId: c1a2b3c4-...
    campaignName: Q3 founders outreach
    stepIndex: 1
    stepNumber: 2
    mailboxId: 5bd50e20-...
    fromEmail: alex@yourdomain.com
    subject: Quick question, Jane
    messageId: <a1b2c3d4-5e6f-7a8b@yourdomain.com>
    sentAt: '2026-06-10T10:42:00.000Z'
    channel: email
- type: email.bounced
  description: An outbound email bounced (hard or soft).
  payloadExample:
    prospectEmail: jane@acme.com
    campaignId: c1a2b3c4-...
    mailboxId: 5bd50e20-...
    bounceType: hard
    bounceReason: 550 user unknown
    bouncedAt: '2026-06-10T11:01:00.000Z'
- type: email.unsubscribed
  description: A prospect unsubscribed.
  payloadExample:
    prospectId: f3c4a2d1-...
    prospectEmail: jane@acme.com
    campaignId: c1a2b3c4-...
    unsubscribedAt: '2026-06-10T11:02:00.000Z'
- type: email.opened
  description: A tracked email was opened.
  payloadExample:
    prospectId: f3c4a2d1-...
    prospectEmail: jane@acme.com
    campaignId: c1a2b3c4-...
    stepIndex: 0
    openedAt: '2026-06-10T11:03:00.000Z'
- type: email.clicked
  description: A tracked link was clicked. likelyAutomated is true when it was probably a mail security system rather than a person.
  payloadExample:
    prospectId: f3c4a2d1-...
    prospectEmail: jane@acme.com
    campaignId: c1a2b3c4-...
    url: https://yourdomain.com/demo
    clickedAt: '2026-06-10T11:04:00.000Z'
    likelyAutomated: false
- type: prospect.suppressed
  description: A prospect was added to the suppression list.
  payloadExample:
    prospectId: f3c4a2d1-...
    email: jane@acme.com
    reason: manual opt-out
    suppressedAt: '2026-06-10T11:05:00.000Z'
- type: limit.hit
  description: A sending limit (mailbox/domain/prospect/cooldown) was reached.
  payloadExample:
    limitType: daily_mailbox
    mailboxId: 5bd50e20-...
    currentValue: 50
    limitValue: 50
    hitAt: '2026-06-10T11:06:00.000Z'
- type: linkedin.invite_accepted
  description: A LinkedIn connection invite was accepted. Sent once per person per campaign. lateAccept is true when the person accepted after their last step in the campaign had already run (for example on an invite-only campaign, or after the wait-for-acceptance window); lateAcceptObservedAt is when we saw it. Nothing extra is sent on LinkedIn because of this event.
  payloadExample:
    prospectName: Sam Rivera
    prospectLinkedinUrl: https://www.linkedin.com/in/samrivera
    campaignId: c1a2b3c4-...
    enrollmentId: enr_...
    linkedinAccountId: li_5a2b1c
    acceptedAt: '2026-06-10T11:07:00.000Z'
    lateAccept: false
    lateAcceptObservedAt: null
- type: linkedin.reply_received
  description: A LinkedIn message reply was received.
  payloadExample:
    prospectName: Sam Rivera
    prospectLinkedinUrl: https://www.linkedin.com/in/samrivera
    campaignId: c1a2b3c4-...
    enrollmentId: enr_...
    linkedinAccountId: li_5a2b1c
    messageText: Sure, let's talk
    threadId: th_...
    receivedAt: '2026-06-10T11:08:00.000Z'
- type: instagram.reply_received
  description: An Instagram DM reply was received.
  payloadExample:
    prospectName: Sam Rivera
    instagramProfileUrl: https://instagram.com/samrivera
    instagramUsername: samrivera
    campaignId: c1a2b3c4-...
    enrollmentId: enr_...
    instagramAccountId: ig_5a2b1c
    messageText: Sure, send it over
    threadId: th_...
    receivedAt: '2026-06-10T11:08:30.000Z'
- type: whatsapp.reply_received
  description: A WhatsApp reply was received.
  payloadExample:
    prospectName: Sam Rivera
    whatsappPhone: '491712345678'
    campaignId: c1a2b3c4-...
    enrollmentId: enr_...
    whatsappAccountId: wa_5a2b1c
    messageText: Yes, go ahead
    chatId: ch_...
    receivedAt: '2026-06-10T11:08:45.000Z'
- type: inbox.received
  description: Every new message that arrived, including a later reply, an automatic reply, and a bounce of one of your contacts (with failedRecipient). kind is reply, auto_reply, or bounce. Warmup mail is not included.
  payloadExample:
    channel: email
    kind: reply
    messageId: <sample.inbox@example.invalid>
    receivedAt: '2026-06-10T11:00:00.000Z'
    threadId: sample-thread-id
    text: Got it, let us talk next week.
    textTruncated: false
- type: webhook.test
  description: A manual test event sent from the test endpoint.
  payloadExample:
    webhookId: wh_2c1a9f
    timestamp: '2026-06-10T11:09:00.000Z'
    message: This is a test event from WarmySender