Webhooks let your server receive automatic notifications when activity occurs in your DocInject organization. When a subscribed event fires — a document is published, a member joins, a role changes — DocInject sends an HTTP POST request to your registered URL with a signed JSON payload.Documentation Index
Fetch the complete documentation index at: https://docs.docinject.com/llms.txt
Use this file to discover all available pages before exploring further.
Webhook integrations require the Scale plan. Attempting to register a webhook on a lower-tier plan returns
403.Payload envelope
Every webhook request shares the same top-level structure regardless of event type.The name of the event that fired. See Event reference for all possible values.
UUID of the organization that generated the event.
URL-safe slug for the organization (e.g.
acme-ops).ISO 8601 timestamp marking when the event was dispatched.
Event-specific payload. Shape varies by
event_type; see the event reference for full schemas.Verifying signatures
DocInject signs every request with HMAC-SHA256. The signature is included in theX-DocInject-Signature header as sha256=<hex-digest>.
Your webhook secret is returned once when you register a webhook (POST /webhooks). Store it securely — it is not retrievable afterwards.
To verify a request:
Delivery behavior
DocInject attempts delivery up to 3 times with exponential backoff (delays of 1 s and 2 s between retries). Your endpoint must return a2xx response within 10 seconds. Non-2xx responses and network errors are both treated as delivery failures.
All delivery attempts are recorded in the event log. Retrieve recent events with GET /webhooks/events.
