Counter API

cURL tool

Generate cURL commands for commonly used APIs. This is a local-browser-only tool that runs in your browser.

Use the public API origin, without a trailing slash.

Used for steps 1, 2, and 4. It stays in this page, but appears in the generated command and clipboard.

Create a tenant

Uses your administrator key. Copy the returned tenant_id for the next step.

Generated command

Create a tenant key

Requires the administrator key. The new key is returned once; save it securely.

Grant scopes

Defaults to read-only access. Select additional permissions only as needed; clearing every option restores this default.

Generated command

Create a counter

Uses a tenant key with counter:create for this tenant.

Generated command

Get tenant

Uses the API Key above. Paste the tenant_id returned in step 1.

Generated command

Get counter

Uses the tenant ID and API Key from step 3 with counter:read. Paste the counter_id returned in step 3.

Generated command