# Security & Trust

> Koil isn't a content store: platform content is held only to deliver it, deliveries are signed, and every connection runs on your own app.

## Not a store, by design

Koil delivers the content it observes and keeps no history of it. Comments, DMs, mentions, reviews, and posts flow through as events; reads go to the platform each time. If your product needs history, it lives in your system, from the events you receive. Content is held only where delivering or publishing it needs it:

| What Koil keeps                                                                      | For how long                                                                                                                          |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- |
| Platform content waiting to become events: a verified webhook, or a poll's new items | Until its events are published. One that can't be processed is kept for investigation and deleted after 24 hours                      |
| Each delivered event, in the event delivery service's log                            | For that service's log retention, so a failed delivery can be retried and any delivery replayed through the API                       |
| A publish's own payload                                                              | While it runs and for two days after, encrypted at rest; never copied into Koil's database                                            |
| Media you upload for publishing                                                      | The upload for up to two days; a publish's prepared copy until that publish finishes, so a scheduled post's media waits until it runs |
| Publish status, schedule, and platform references — never the content                | To report each publish's status                                                                                                       |
| Idempotency records, ingestion cursors, and rate-limit counters                      | While they are needed to run your integration                                                                                         |
| Your configuration: apps, Connections, Profiles, and Event Destinations              | Until you delete them                                                                                                                 |
| Database backups                                                                     | Six days of point-in-time restore, so a deleted record stays recoverable that long                                                    |

Holding platform content until its events are published is what lets delivery survive an outage on either side: a backlog waits until it is processed rather than being dropped.

## Credentials

- **Your app's client secret is write-only.** No read returns it, and it can be rotated.
- **Credentials are deleted with what depends on them.** Deleting a Connection deletes its credential and everything derived from it; deleting your app's registration deletes its secret.
- **Revocation is honored.** When a user revokes access, the next refresh fails and Koil reports it. A Connection that still can't refresh six days later is deleted, inside the seven days YouTube allows.
- **Every operation is scoped.** Each request names the Profile it acts on and is checked against that grant's scopes before any platform call.

## Isolation

- **Per-tenant apps.** Every connection runs on the customer's own app, so another tenant's policy strike cannot suspend yours. [Why →](https://koil.co/product/white-label-oauth/)
- **Sandbox and live are separate systems.** The sandbox keeps its own database, event delivery, and workers. Keys carry their mode in the prefix (`koil_sandbox_…`, `koil_live_…`), a key used in the wrong mode is rejected, and the prefix lets leak scanners find them.

## Signed delivery

Every webhook delivery is signed with your destination's secret in the [Standard Webhooks](https://www.standardwebhooks.com) format, with a signed timestamp so a captured delivery can't be replayed later, and secret rotation overlaps old and new so receivers never fail verification mid-deploy. Deliveries carry a stable event id, so retries and replays are safe to dedupe.

## Status, compliance, and contact

Live uptime and incident history are on the [status page](https://status.koil.co). Koil has no SOC 2 report and publishes no SLA. For a security review or questionnaire, [contact us](https://koil.co/contact/).

## Related

- [Data and storage (docs)](https://docs.koil.co/concepts/data-and-storage)
- [Status](https://status.koil.co)
- [Contact](https://koil.co/contact/)
