One key, one log, one bill.
Every product shares the same environments, keys, webhooks, logs and invoice, so you only learn them once.
coss.logs.list()
const { : } = await ..();
await ..({
: "https://example.com/webhooks/coss",
: ["email.bounced", "sms.failed"],
});
const { : } = await ..({
: new (.() - 24 * 60 * 60 * 1000),
: ["warning", "error"],
});production
One log, every product
- POST /v1/emails 202
- email.delivered
- POST /v1/sms 202
- sms.delivered
- webhook 200
Test against the real API
Sandbox keys deliver nothing and simulate every event. Live keys can be scoped to full, sending, read-only or custom access.
Read the docsAPI keys
| Key | Environment | Access |
|---|---|---|
| Backendcoss_live_… | production | |
| Mailercoss_live_… | production | |
| Analyticscoss_live_… | production | |
| Local devcoss_test_… | development |
Webhooks you can rely on
Signed with Standard Webhooks and retried 7 times over about 28 hours, for every product.
Read the docsemail.delivered
- webhook-id
- evt_01k7c8m4q2f3e9
- webhook-timestamp
- 1793809923
- webhook-signature
- v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=
- first try500
- + 5 s500
- + 5 mintimed out
- + 30 min200
Logs
- apiPOST /v1/sms503
- webhookemail.bounced500
- apiGET /v1/emails502
One searchable log
Every request, event and webhook attempt, with filters like status:5xx. Stream it to your own stack with a log drain.
Read the docsBudgets
- Project: storefrontsending
- Key: Maileralerted at 80%
- Member: ada@acme.compaused
Spend you can cap
One invoice for every product, with budgets per member, project or key, and alerts before you hit them.
Read the docsLimits
- Environments per project
- 2, live and sandbox
- Webhook signatures
- Standard Webhooks, HMAC-SHA256
- Webhook retries
- 7, over about 28 hours
- Webhook response window
- 10 seconds, any 2xx
- Endpoint auto-disable
- after 5 days of failures
- Secret roll grace period
- a day by default, up to a week
- Log range per query
- 31 days
- Log drains per environment
- 5
- Idempotency window
- 24 hours
- Webhook deliveries kept
- 30 days
Questions
Use a sandbox key (coss_test_). Every project has a development environment whose keys accept any sender and deliver nothing, while delivery events are simulated, including bounces and complaints from the mailbox simulator's addresses. Sandbox sends are never billed.
Yes. Keys are created with full access, sending access only, read-only access or a custom set of permissions. A restricted key keeps exactly the permissions it was created with, and a request it isn't allowed to make fails with 403 and names the permission it needed.
With Standard Webhooks headers (webhook-id, webhook-timestamp and webhook-signature) and an HMAC-SHA256 over the raw body with the endpoint's whsec_ secret. verifyWebhook in the coss package checks them, and any Standard Webhooks library works.
Each environment's log is kept for 30 days, and one query covers at most 31 days. To keep logs longer or search them next to your own, stream them to your logging stack with a log drain.
No. Breaking changes ship as a new dated API version, and your organization stays pinned to its version until you upgrade it in the dashboard. Additive changes, such as new fields and endpoints, reach every version.
A paid plan's monthly fee becomes usage credit that pays for any product, so a month costs the larger of the fee and your usage. Every product is on one invoice, and owners can set a spend limit, budgets per member, project or API key, and usage alerts. The pricing page lists the plans.
Works with
On the same key, SDK, webhooks and logs: nothing more to set up.
Build on one platform today.
Development keys record every request and event and deliver nothing.