Source:
app/src/lib/webhooks/ (emit.ts, deliver.ts, sign.ts, url.ts)
and the tables webhook_endpoints and webhook_deliveries
(packages/db/migrations/0024_public_api.sql).Events
Each event has its own page under Endpoints, with its body field by field
and an example:
person.job_changed, signal.created, connector.mapped, ask.sent, intro_request.created, intro_request.closed, webhook.test.
An event about someone you keep private is not sent. On ask.sent, a private
connector is left off (connector: null).
The body
GET /v1/people/{id}/paths with a key you created. Never an email address or a
phone number, and nothing from an email.
Checking the signature
Deliveries are signed the Standard Webhooks way, so a stock library can check them. Three headers:
The key is your signing secret (
whsec_…, from Reveal on Settings) with the
whsec_ taken off and base64-decoded. Refuse a timestamp more than five
minutes from your clock. In Node:
Answering, and retries
Answer any2xx within 10 seconds. Otherwise:
Retries go through IntroLink’s job queue. Settings shows the last delivery and
how it went.
Addresses
The address must behttps:// on the public internet: not localhost, a
private or link-local IP address, a host with no dot, or an IntroLink address.