ZenMode Webhooks API
Outbound event delivery.
Outbound event delivery.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/zen-mode-io:zen-mode-io-webhooks-api"
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.
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: 3.2.0
info:
title: ZenMode Webhooks API
version: 1.0.0
summary: Read and steer ZenMode LinkedIn outreach.
description: 'ZenMode runs LinkedIn outreach through its desktop app. This API reads the resulting funnel and queues actions for that desktop app to perform.
**When to use it.** Pull leads and reply activity into a CRM, watch the funnel, suppress contacts your team should not touch, or queue connection requests from your own system. Check `GET /api/v1/status` first: tasks queued while the desktop app is offline stay pending until it next runs.
**Authentication.** Every endpoint takes `Authorization: Bearer `. Keys are created in the dashboard on the API page (/dashboard/api). API access requires an active paid plan; a valid key on an ineligible plan returns 403.
**Rate limits.** 100 requests per minute per key. Queueing tasks is additionally bounded by the account''s daily LinkedIn action cap, which returns 429 with `Retry-After: 3600`.'
contact:
name: ZenMode support
url: https://www.zen-mode.io/contact
termsOfService: https://www.zen-mode.io/terms
servers:
- url: https://www.zen-mode.io
description: Production
security:
- bearerAuth: []
tags:
- name: Webhooks
description: Outbound event delivery.
paths:
/api/v1/webhooks:
post:
operationId: createWebhook
summary: Register a webhook
description: 'HTTPS only, on the standard port (443), with no credentials in the URL; the host must be public, and the URL is checked before it is stored and again at every delivery. Redirects from the endpoint are not followed. Deliveries carry `X-ZenMode-Signature` (hex HMAC-SHA256 of the exact raw request body, keyed with the webhook''s `secret`) and `X-ZenMode-Event`. A `task.completed` or `task.failed` body is `{ event, data, timestamp }`, where `data.result` is the task''s `result`. On a free or unconfirmed LinkedIn plan the connection request is sent without a note, and the task result carries `note_dropped: true` with `note_dropped_reason: "free_or_unconfirmed_plan"`. The webhook body carries the same two fields in `data.result`.'
tags:
- Webhooks
responses:
'201':
description: Registered. The response carries the signing `secret`, the only time this endpoint returns it; store it with your endpoint.
content:
application/json:
schema:
type: object
properties:
webhook:
$ref: '#/components/schemas/WebhookCreated'
'400':
description: Malformed JSON, a non-HTTPS or disallowed URL, or an unknown event name.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing, malformed or invalid Authorization header, or an unknown API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key is valid but the account's plan does not include API access.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit exceeded (100 requests/minute). Carries `Retry-After`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Unhandled server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
required: true
description: Endpoint and the events to send it.
content:
application/json:
schema:
type: object
properties:
url:
type: string
format: uri
events:
type: array
items:
type: string
enum:
- task.completed
- task.failed
- lead.replied
- lead.accepted
- lead.sent
- message.received
required:
- url
- events
get:
operationId: listWebhooks
summary: List webhooks
description: Every webhook registered on this account.
tags:
- Webhooks
responses:
'200':
description: The webhooks.
content:
application/json:
schema:
type: object
properties:
webhooks:
type: array
items:
$ref: '#/components/schemas/Webhook'
'401':
description: Missing, malformed or invalid Authorization header, or an unknown API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key is valid but the account's plan does not include API access.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit exceeded (100 requests/minute). Carries `Retry-After`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
delete:
operationId: deleteWebhook
summary: Delete a webhook
description: Deliveries stop immediately.
tags:
- Webhooks
responses:
'200':
description: Deleted.
content:
application/json:
schema:
type: object
properties:
deleted:
type: boolean
'400':
description: Missing or non-integer id.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing, malformed or invalid Authorization header, or an unknown API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key is valid but the account's plan does not include API access.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Webhook not found for this account.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit exceeded (100 requests/minute). Carries `Retry-After`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: id
in: query
required: true
description: The webhook id.
schema:
type: integer
components:
schemas:
Error:
type: object
properties:
error:
type: string
description: Human-readable description of what went wrong.
code:
type: string
description: Stable machine-readable identifier. Absent on some older handlers.
hint:
type: string
description: What to change to make the request succeed.
required:
- error
WebhookCreated:
type: object
properties:
id:
type: integer
url:
type: string
events:
type: array
items:
type: string
is_active:
type: boolean
created_at:
type: string
format: date-time
nullable: true
secret:
type: string
pattern: ^whsec_
description: Signing secret. Verify each delivery by computing HMAC-SHA256 of the raw body with this secret and comparing its hex digest to `X-ZenMode-Signature` in constant time. Returned only here; webhooks registered in the dashboard can reveal theirs there.
required:
- id
- url
- events
- secret
Webhook:
type: object
properties:
id:
type: integer
url:
type: string
events:
type: array
items:
type: string
is_active:
type: boolean
created_at:
type: string
format: date-time
nullable: true
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: An API key created in the dashboard on the API page (/dashboard/api).