Webhook Events
Seleqt can POST an event to your own URL when something happens in your workspace: a lead is added, replies, is tagged Interested, changes status, or a campaign completes. Webhook endpoints are set up by an Admin in the app under Settings › Public API › Webhook events: add anhttps:// URL, pick the events it receives and copy its signing secret. Use Send test there to receive a sample of any event (sent with "test": true and placeholder values).
Events
Delivery
Every event is aPOST with a JSON body:
Headers:
- Reply with any
2xxstatus within 10 seconds. Otherwise Seleqt retries 5 times, after 1, 2, 4, 8 and 16 minutes. - Verify the signature:
v1is the hex HMAC-SHA256 of"<timestamp>.<raw body>"with your endpoint’s signing secret. Compute it over the raw request body (not re-serialized JSON) and reject old timestamps (e.g. older than 5 minutes) to stop replays.
The lead object
Thelead in each lead event:
campaign is null for a lead that is only in a lead list.
lead.added
A lead is added to a campaign.lead.replied
A lead replies on any channel.lead.interested
A reply is tagged Interested, by Seleqt’s reply classification or by hand in the inbox.campaign.completed
Every lead in a campaign has finished its sequence. Sent once per campaign; sent again only if new leads were added and finished too.lead.status_changed
A lead’s status changed — set by Seleqt, by a person, by a Google Sheet or CRM sync, or through the API. Sent once per change of the person (not once per campaign they are in).lead.status is the lead’s row status in its list or campaign (IN_REVIEW, CONTACTED, …), not the lead status.