PumpGTM Webhooks API

Signed events for replies, leads and connections.

GitHub OpenAPI

Operations 4

GET /webhooks List enabled subscriptions #
POST /webhooks Subscribe to signed events #
POST /webhooks/{id}/test Schedule a signed ping #
DELETE /webhooks/{id} Disable a subscription #

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

pumpgtm-com-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PumpGTM Webhooks API
  version: 1.1.0
  description: 'Run outreach from your own backend or agent: plain REST for sequences, leads, people search, replies and webhooks; adding people to any Play in one call; X follower checks; and the Partner API for agencies and platforms that run PumpGTM for many end users from one account (hosted LinkedIn connect links, per-user workspaces, X-PumpGTM-User). The workspace MCP key also authenticates REST. Start at https://pumpgtm.com/docs/api. No browser session required. Versioning: the major version is in the path (/api/v1); v1 only gains fields. A breaking change ships under a new major path while v1 keeps working, and anything scheduled for removal answers with Deprecation: true and a Sunset header at least 90 days ahead (policy: https://pumpgtm.com/docs/api#versioning).'
  contact:
    url: https://pumpgtm.com
servers:
- url: https://app.pumpgtm.com/api/v1
  description: Production
- url: https://app.pumpgtm.com/api/partner/v1
  description: Partner API (partner workspace key)
security:
- WorkspaceKey: []
tags:
- name: Webhooks
  description: Signed events for replies, leads and connections.
paths:
  /webhooks:
    get:
      operationId: listWebhooks
      tags:
      - Webhooks
      summary: List enabled subscriptions
      description: Lists workspace webhook URLs and events; never returns signing secrets.
      parameters:
      - name: X-PumpGTM-Client
        in: header
        required: false
        schema:
          type: string
          format: uuid
        description: Optional authorized Team workspace ID from GET /workspaces. Omit to use the key's home workspace.
      - name: X-PumpGTM-User
        in: header
        required: false
        schema:
          type: string
          pattern: ^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,119}$
        description: 'Enterprise partners: act on one end user''s workspace using the partner key (a workspace or Team owner key; a personal key gets 403 partner_key_required). Requires the outreach capability on the partner account (403 enterprise_required otherwise); the user must exist and be active (404 user_not_found, 403 user_disabled). Never send it together with X-PumpGTM-Client (400 invalid_request). Omit to use the key''s own workspace, unless the partner account has rest.requireUserHeader on (PATCH /api/partner/v1/account): then any /api/v1 request without it is 400 user_header_required and nothing runs.'
      responses:
        '200':
          description: Successful response. Read outcome fields; success does not imply delivery.
          content:
            application/json:
              schema:
                type: object
                properties:
                  webhooks:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        url:
                          type: string
                        events:
                          type: array
                          items:
                            type: string
                        createdAt:
                          type: string
                      required:
                      - id
                      - url
                      - events
                      - createdAt
                  events:
                    type: array
                    items:
                      type: string
                required:
                - webhooks
                - events
        '400':
          description: Invalid input; for partner keys also user_header_required when the account requires X-PumpGTM-User
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, invalid or revoked key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Workspace mismatch, channel or feature disabled; for partner keys also enterprise_required and user_disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource unavailable in this workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: 'Revision, identity or state conflict: { error, message } and nothing changed'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit; respect Retry-After when provided
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: 'internal_error: an unexpected failure on our side; retry, then contact PumpGTM'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Dependency unavailable; identity may be unknown
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      operationId: createWebhook
      tags:
      - Webhooks
      summary: Subscribe to signed events
      description: 'Maximum 10 enabled hooks. Save the returned secret securely; it is shown only at creation. HTTPS port 443 and publicly resolving IPv4 DNS required. Private/mixed IPs, URL credentials, fragments and redirects are rejected. Registration is not idempotent: list before retrying after a timeout; 409 webhook_limit_reached at the maximum. Delivery is best-effort: up to three attempts, retried on network errors, 5xx and 429; not a durable replay queue. Verify signatures on the exact raw body (X-PumpGTM-Signature, t=,v1=; reject t older than 5 minutes) and deduplicate event IDs. x.followed means an inbound follow of your connected account. lead.messaged includes successful x_dm with channel x; reply.received can include unreadable encrypted content. linkedin.connected fires on the partner workspace when an end user completes a hosted connect link; register it with the partner key. linkedin.disconnected fires when a connected LinkedIn identity stops being usable (source: provider, dashboard or api), on the owning workspace and, for a partner end user, on the partner workspace. linkedin.limited fires once when LinkedIn declines an account''s connection requests and invites are held (data.account{id,displayName}, reason invite_limit, heldSince, retryAt = earliest automatic retry, attempt 1..3; a failed retry fires it again with the next attempt); linkedin.resumed fires when a retry goes through (data.account, resumedAt, warmupRestarted false: the account keeps its existing warm-up progress or full pace). Messages and other steps keep running during a hold; nothing to do on your side.'
      parameters:
      - name: X-PumpGTM-Client
        in: header
        required: false
        schema:
          type: string
          format: uuid
        description: Optional authorized Team workspace ID from GET /workspaces. Omit to use the key's home workspace.
      - name: X-PumpGTM-User
        in: header
        required: false
        schema:
          type: string
          pattern: ^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,119}$
        description: 'Enterprise partners: act on one end user''s workspace using the partner key (a workspace or Team owner key; a personal key gets 403 partner_key_required). Requires the outreach capability on the partner account (403 enterprise_required otherwise); the user must exist and be active (404 user_not_found, 403 user_disabled). Never send it together with X-PumpGTM-Client (400 invalid_request). Omit to use the key''s own workspace, unless the partner account has rest.requireUserHeader on (PATCH /api/partner/v1/account): then any /api/v1 request without it is 400 user_header_required and nothing runs.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                  maxLength: 2000
                events:
                  type: array
                  items:
                    enum:
                    - reply.received
                    - lead.invited
                    - lead.accepted
                    - lead.messaged
                    - lead.emailed
                    - lead.meeting_booked
                    - x.followed
                    - linkedin.connected
                    - linkedin.disconnected
                    - linkedin.limited
                    - linkedin.resumed
                    - linkedin.watched_post
                    - x.competitor_follower
                    - x.intent_detected
                    - ping
                  minItems: 1
                  maxItems: 15
              required:
              - url
              - events
            example:
              url: https://hooks.example.com/pump
              events:
              - reply.received
              - lead.messaged
              - x.followed
      responses:
        '201':
          description: Successful response. Read outcome fields; success does not imply delivery.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  url:
                    type: string
                  events:
                    type: array
                    items:
                      type: string
                  secret:
                    type: string
                required:
                - id
                - url
                - events
                - secret
        '400':
          description: Invalid input; for partner keys also user_header_required when the account requires X-PumpGTM-User
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, invalid or revoked key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Workspace mismatch, channel or feature disabled; for partner keys also enterprise_required and user_disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource unavailable in this workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: 'Revision, identity or state conflict: { error, message } and nothing changed'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit; respect Retry-After when provided
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: 'internal_error: an unexpected failure on our side; retry, then contact PumpGTM'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Dependency unavailable; identity may be unknown
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /webhooks/{id}/test:
    post:
      operationId: testWebhook
      tags:
      - Webhooks
      summary: Schedule a signed ping
      description: 202 means the ping was scheduled, not that the receiver accepted it. Verify the event at your receiver.
      parameters:
      - name: X-PumpGTM-Client
        in: header
        required: false
        schema:
          type: string
          format: uuid
        description: Optional authorized Team workspace ID from GET /workspaces. Omit to use the key's home workspace.
      - name: X-PumpGTM-User
        in: header
        required: false
        schema:
          type: string
          pattern: ^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,119}$
        description: 'Enterprise partners: act on one end user''s workspace using the partner key (a workspace or Team owner key; a personal key gets 403 partner_key_required). Requires the outreach capability on the partner account (403 enterprise_required otherwise); the user must exist and be active (404 user_not_found, 403 user_disabled). Never send it together with X-PumpGTM-Client (400 invalid_request). Omit to use the key''s own workspace, unless the partner account has rest.requireUserHeader on (PATCH /api/partner/v1/account): then any /api/v1 request without it is 400 user_header_required and nothing runs.'
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '202':
          description: Successful response. Read outcome fields; success does not imply delivery.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  id:
                    type: string
                    format: uuid
                  event:
                    const: ping
                required:
                - ok
                - id
                - event
        '400':
          description: Invalid input; for partner keys also user_header_required when the account requires X-PumpGTM-User
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, invalid or revoked key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Workspace mismatch, channel or feature disabled; for partner keys also enterprise_required and user_disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource unavailable in this workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: 'Revision, identity or state conflict: { error, message } and nothing changed'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit; respect Retry-After when provided
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: 'internal_error: an unexpected failure on our side; retry, then contact PumpGTM'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Dependency unavailable; identity may be unknown
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /webhooks/{id}:
    delete:
      operationId: deleteWebhook
      tags:
      - Webhooks
      summary: Disable a subscription
      description: Only an enabled hook belonging to the selected workspace can be disabled. A subsequent delete returns 404. Already queued delivery may still complete.
      parameters:
      - name: X-PumpGTM-Client
        in: header
        required: false
        schema:
          type: string
          format: uuid
        description: Optional authorized Team workspace ID from GET /workspaces. Omit to use the key's home workspace.
      - name: X-PumpGTM-User
        in: header
        required: false
        schema:
          type: string
          pattern: ^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,119}$
        description: 'Enterprise partners: act on one end user''s workspace using the partner key (a workspace or Team owner key; a personal key gets 403 partner_key_required). Requires the outreach capability on the partner account (403 enterprise_required otherwise); the user must exist and be active (404 user_not_found, 403 user_disabled). Never send it together with X-PumpGTM-Client (400 invalid_request). Omit to use the key''s own workspace, unless the partner account has rest.requireUserHeader on (PATCH /api/partner/v1/account): then any /api/v1 request without it is 400 user_header_required and nothing runs.'
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Successful response. Read outcome fields; success does not imply delivery.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  id:
                    type: string
                    format: uuid
                required:
                - ok
                - id
        '400':
          description: Invalid input; for partner keys also user_header_required when the account requires X-PumpGTM-User
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, invalid or revoked key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Workspace mismatch, channel or feature disabled; for partner keys also enterprise_required and user_disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource unavailable in this workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: 'Revision, identity or state conflict: { error, message } and nothing changed'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit; respect Retry-After when provided
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: 'internal_error: an unexpected failure on our side; retry, then contact PumpGTM'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Dependency unavailable; identity may be unknown
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        status:
          type: string
        reason:
          type: string
      additionalProperties: true
      required:
      - error
      description: Every error response. error is a stable machine-readable code (for example invalid_request, sequence_not_active, energy_exhausted); message is plain language for a person.
  securitySchemes:
    WorkspaceKey:
      type: http
      scheme: bearer
      bearerFormat: Workspace MCP key
      description: 'Keep the key in a server-side secret. Do not send Pump keys to X or data vendors. For partners this is the partner workspace key from signup (shown and rotated on /api-keys): it authenticates /api/partner/v1 and, with X-PumpGTM-User, acts on an end user''s workspace under /api/v1. Only a workspace key or a Team owner key can act for end users; a personal key issued through an OAuth sign-in gets 403 partner_key_required.'