Features
What you sell access to: on or off, a number setting such as seats, or a limit on a usage metric. Your app checks them by key. Comecero staff must enable entitlements for your shop before setup.
Endpoints
Guides that use it
Send usage events POST
Sends a batch of 1 to 1,000 usage events from your server. Use a usage key, not a Comecero API token. The key sets the account and test or live mode. The whole JSON body is at most 1 MiB. Read every result: HTTP 200 can include rejected or conflicting events. Resend only retry results, or safely resend the same batch with the same operation ids. Billing uses the counted events; an event does not itself charge a customer. This route sends no CORS headers. See [Send usage](/docs/usage-billing/send-usage).
List features GET
Every feature of the account in this mode, by key. Secret and trusted tokens may call it; a limited token may not (`403`).