Skip to main content
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).
In IntroLink, Settings, API, Webhooks: enter the address to send events to, tick the events, and press Send a test. Each person sets their own webhook, and it carries their own events only. It works while the workspace is on Individual, Team or Business, the plans that include the API.

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

People carry the same ids as the API: pass one to 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:
Check the raw body, before any JSON parsing changes it.

Answering, and retries

Answer any 2xx within 10 seconds. Otherwise: Retries go through IntroLink’s job queue. Settings shows the last delivery and how it went.

Addresses

The address must be https:// on the public internet: not localhost, a private or link-local IP address, a host with no dot, or an IntroLink address.