The organization inbox is a per-organization feed of document publish and revision events. Each time a document is published or revised, DocInject writes the full event payload to the inbox. Polling the inbox is the simplest way to keep an external system up to date with your latest SOPs without setting up webhooks.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.
Endpoints
All inbox endpoints require authentication via an API key or a user session token. See API keys for how to create one.List all inbox entries
Returns all published document payloads for the organization, most recent first.Get a single inbox entry
Returns the current inbox entry for a specific document.Use the
org_slug value, not the organization UUID. You can find your slug in Settings → Organization under the Slug field.Example inbox entry
Each entry contains the full event envelope that was written when the document was last published or revised.payload.event_type is document.revised and payload.data includes a previous_version_id field.
Fetch the inbox with an API key
When to use the inbox vs. webhooks
| Inbox (polling) | Webhooks | |
|---|---|---|
| Plan required | Any plan | Scale |
| Delivery model | Pull — you fetch on a schedule | Push — DocInject sends to your URL |
| Setup complexity | Low — one API call | Medium — requires a public endpoint |
| Latency | Depends on polling frequency | Near real-time |
| Best for | Simple integrations, scheduled syncs | Event-driven automations, real-time triggers |
