Zapier
Start Zaps from DICE events and create leads or answers in DICE from other apps.
With a DICE webhook (works today)
- In Zapier, add the trigger Webhooks by Zapier → Catch Hook and copy its URL.
- In DICE, open Developers → Webhooks → Add endpoint, paste the URL and pick the events.
- Send a test event from DICE, then map the fields in Zapier. Every delivery has
type,created_atanddata.
To act on DICE from a Zap, use Webhooks by Zapier → Custom Request with your API key in Authorization: Bearer … (see getting started).
How the DICE app for Zapier subscribes (REST hooks)
The DICE app authenticates with an API key and manages subscriptions itself:
| Step | Request |
|---|---|
| Subscribe | POST /api/v1/hooks with { "target_url": "…", "event": "lead.created", "source": "zapier" }; the answer holds id and secret |
| Unsubscribe | DELETE /api/v1/hooks/{id} |
| Sample data | GET /api/v1/hooks/samples/{event} |
| Test auth | GET /api/v1/me |
The key needs webhooks:manage for triggers and the matching write scope for actions. Deliveries are signed like every other webhook.