Account
API Keys
Create, list, and revoke API keys for your account.
Each API key is an Auth ID and Auth Token pair. An account can have several keys, and each one can be revoked on its own. You can also manage keys in the dashboard under Account → API keys.
Treat keys created for your master account as full-account credentials. Don't share one key across unrelated systems, because revoking it would stop all of them. To give a customer's sub-account its own key, see sub-account API keys.
Create a key
https://api.tryvox.io/v1/account/{auth_id}/api-keys| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | A label for the key, up to 255 characters |
curl -X POST https://api.tryvox.io/v1/account/$TRYVOX_AUTH_ID/api-keys \
-u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN \
-H "Content-Type: application/json" \
-d '{"name": "production-server"}'Response — 201 Created:
{
"data": {
"id": "6f1c2b9e-3a4d-4c1e-9b7a-2d5e8f0a1b2c",
"name": "production-server",
"auth_id": "TJab12cd34",
"key": "<auth-token>",
"permissions": [],
"created_at": "2026-11-04T10:30:00Z"
}
}key is the Auth Token. It is returned only in this response, so store it in a secrets manager straight away. If you lose it, create a new key.
List keys
https://api.tryvox.io/v1/account/{auth_id}/api-keysReturns your active keys. The Auth Token is never included.
{
"data": [
{
"id": "6f1c2b9e-3a4d-4c1e-9b7a-2d5e8f0a1b2c",
"name": "production-server",
"auth_id": "TJab12cd34",
"permissions": [],
"is_active": true,
"created_at": "2026-11-04T10:30:00Z"
}
]
}Revoke a key
https://api.tryvox.io/v1/account/{auth_id}/api-keys/{id}{id} is the key's id, not its Auth ID. A successful request returns 204 No Content, and the key stops working on its next request. An unknown id returns 404 NOT_FOUND.
Don't revoke the key you are using until its replacement works. See Rotate Keys Regularly.