Skip to content
Adoptiv

Tell other systems with outgoing webhooks

Updated 3 min read3 videos

Integrations

New to Adoptiv?

Try it free for 14 days: a US number for every rep, unlimited US and Canada calling and the Android app.

Table of contents
  1. Before you start
  2. Create the webhook
  3. The events
  4. What an event looks like
  5. Check the signature
  6. Answers and retries
  7. See what was sent

An outgoing webhook tells another system when something happens in Adoptiv. Open Settings → Outgoing webhooks, press New outgoing webhook, enter the address and choose the events. Adoptiv then posts a signed JSON event to that address each time one happens.

Before you start

  • Outgoing webhooks are managed by workspace owners and admins, and by roles with Manage Settings.
  • You need an address on the other system that accepts a POST. It must be a public https:// address.
  • A workspace can have up to 25 outgoing webhooks.
  • To send data into Adoptiv instead, see Send leads in with incoming webhooks.

Create the webhook

  1. Open Settings → Outgoing webhooks and press New outgoing webhook.
  2. Enter a Name, such as Our data warehouse.
  3. Paste the Address (HTTPS). It's stored encrypted.
  4. Under Events to send, tick at least one event.
  5. Press Create.
  6. The signing secret opens in its own dialog. Press Copy and give it to whoever runs the receiving system. It isn't shown in full again, but you can show it later with your password.
  7. Press Done.
On Settings, Outgoing webhooks, pressing New outgoing webhook, typing the name Our data warehouse and an https address, and ticking Lead created and Deal won under Events to send; the pointer rests on Create.

The events

EventTypeSent when
Lead createdlead.createdA new lead is added: by hand, an import, Zapier or a call flow.
Lead stage changedlead.stage_changedA lead moves to another stage. Also carries previous_stage.
Call endedcall.endedA call finishes.
Deal createddeal.createdA new deal is added.
Deal stage changeddeal.stage_changedA deal moves to another stage, including won and lost. Also carries previous_stage_id.
Deal wondeal.wonA deal is marked won.
Deal lostdeal.lostA deal is marked lost.

Send test posts a webhook.ping event, so you can check the endpoint before real events arrive.

What an event looks like

Each event is a POST with a JSON body like this:

{"id": "…", "type": "lead.created", "version": 1, "created": "2026-11-27T15:04:05.000Z", "workspace_id": "…", "data": {"lead": {…}}}

data holds a lead, deal or call with snake_case fields: for a lead, for example, first_name, phone, stage and owner_id; for a call, direction, from, to, duration_seconds and has_recording. A call's disposition is often empty when the call ends, because the agent picks it at wrap-up.

Three headers come with it:

  • X-Adoptiv-Event: the event type.
  • X-Adoptiv-Delivery: the event's id. It's the same on every retry, so skip an event you've already handled.
  • X-Adoptiv-Signature: t=<seconds>,v1=<hex>.

Check the signature

  1. Read t and v1 from X-Adoptiv-Signature.
  2. Work out the HMAC-SHA256 of <t>.<raw body> with your signing secret, as hex. Use the body exactly as it arrived, before you parse it.
  3. Accept the event only if your result matches v1 and t is within five minutes of now.

The signing secret dialog shows a short Node.js example of this check.

Answers and retries

  • Answer with any 2xx status within 10 seconds. The event is then Delivered.
  • A timeout, a 408, 425 or 429, or any 5xx is tried again: first after about a minute, then waiting twice as long each time, up to 9 tries in all.
  • Any other status, such as another 4xx, isn't tried again. Nor is an address that isn't a public https:// one.
  • After five events in a row can't be delivered, the webhook pauses itself and shows Paused - failing with the reason. Fix the endpoint, then press Resume. Events that happen while a webhook is paused aren't sent later.
The Outgoing webhooks list shows Old CRM as Paused - failing and the Paused - failing tile at 1; opening it shows five failures in a row, each event failed with a 503 answer, and the pointer rests on Resume.

See what was sent

  1. In Settings → Outgoing webhooks, click the webhook's row.
  2. Under Events sent, choose All, Delivered, Failed or Waiting.
  3. Open an event to see its Attempts, how long it Took, the Next try, the Event id, any error and the payload.
  4. Press Resend on a delivered or failed event to send it again with the same id.

The same panel has Send test, Pause, Show secret (asks for your password and is recorded in the audit log) and New secret, which stops the old secret at once. To change the address or the events, press Edit. Delete webhook asks you to type its name and deletes its log.

Clicking the Data warehouse webhook opens its panel with the address, events, last delivery, failures in a row and masked signing secret; under Events sent, Failed is chosen and the failed Deal won event is opened to show its attempts, time taken, next try, event id, the error and the payload.

Feedback on this article

Was this helpful?

Still need help?

Chat with our team, or email us and we will get back to you.

support@adoptiv.com