Documentation Index
Fetch the complete documentation index at: https://docs.politicalcomms.com/llms.txt
Use this file to discover all available pages before exploring further.
Add an endpoint
Click Add Endpoint and configure:
- Endpoint name - A descriptive label (e.g. “CRM sync - production”).
- HTTPS URL - Your receiving endpoint. Must be HTTPS in production.
- Event subscriptions - Tick the events you want to receive. You can subscribe to one or many.
Copy and store the signing secret
Copy the webhook signing secret and store it securely (a secret manager, not source control). You will need it to validate signatures. The secret is shown only once.
Receiving payloads
Webhooks arrive asPOST requests with Content-Type: application/json. The body is JSON; the headers tell you what kind of event, when it occurred, and how to validate the signature.
Where to go next
Validate signatures
HMAC-SHA256 validation pattern + Node.js example.
Retry policy
What happens if your endpoint is unavailable.
