Social Inbox API for Comments, DMs, Mentions, and Reviews
Comments, DMs, mentions, and reviews across platforms, delivered to your webhook or queue as one signed, retried, replayable event stream, however each platform exposes them.
The build-it-yourself version
To receive a comment from every platform, you subscribe to Meta's app-level webhooks, register TikTok's per app, manage a LinkedIn subscription per Page, set up Google Business Profile's Pub/Sub notifications per account, poll YouTube against its daily quota, normalize every platform's payload shape, and work out which events you have already seen. Then you keep all of it working as each platform changes.
Koil does all of that and hands you one stream.
Event Destinations
An Event Destination says where events go and which ones it receives:
- Transport — an HTTPS webhook, or a queue or stream such as SQS, Pub/Sub, or Kafka.
- Topics — exact topics like
content.instagram.media.comments.created, a family likecontent.instagram.*, or everything. - Scope — every Profile in your Organization, including future ones, or a specific list.
Manage destinations through the API, which also lists every delivery attempt.
One envelope
Every delivery has the same shape on every transport: a stable id, a topic, a time, context (mode, platform, collection, and Profile), and data in the collection's schema. Each content type (comments, DMs, mentions, reviews, and reactions) names its fields the same way on every platform, so one handler serves it everywhere. A read returns the same data, so an event and a read are interchangeable.
How Koil learned of the change, whether by webhook, polling, or backfill, is deliberately not in the event. It means the same thing however it was collected.
Delivery you can build on
- Signed. Every webhook delivery is signed with your destination's secret. Rotating the secret opens a window in which both secrets verify, so you can deploy without dropping deliveries.
- Retried and replayable. A delivery that doesn't get a
2xxis retried, and any delivery can be replayed through the API. - Safe to dedupe. At-least-once delivery with an
idthat stays the same across retries, replays, re-sent platform webhooks, and backfills. - Durable on the way in. A verified platform webhook is held until its events are published, so an outage on either side doesn't lose it — and then deleted.
- Both sides of the conversation. Replies your customers' agents write in the platform's own app arrive too, flagged
ownerAuthoredso automations can skip their own messages.
Backfill
Events start when a profile connects, so a new profile's inbox starts empty. Where the platform allows it, a backfill request re-delivers what the platform still has as ordinary created events, with the same ids a webhook or poll would have produced, so nothing arrives twice.
What it costs
Event delivery is unlimited under fair use on every paid plan, and lifecycle topics — your own publishes, connections, and destinations — never count. See pricing →