Skip to main content

Key settings

There is no rotate action. To rotate a key, create a new one, move your clients to it, then delete the old one.

In the dashboard

On API Keys, Create API Key asks for a name, an optional credit limit and an expiry. The expiry is never, 7, 30 or 90 days, or a date you pick. The new key is shown once. The table lists each key’s usage against its limit, and the row menu renames, sets the limit or expiry, disables, enables or deletes it.

Through the API

The account API needs a provisioning key.

Create a key

Only name is required. The response carries the secret in key, and no later response shows it again:
Times are UTC without an offset. expires_at must be in the future.

Change a key

PATCH changes only the fields you send. Send null to clear credit_limit, expires_at or default_routing_strategy. name and is_enabled cannot be null.
A key_id that does not exist on the account returns 400 with API key not found.