Tonedocs
API referencesecrets

List the organization’s secrets (masked)

Names, ids and bound origins. The values are never returned by any route.

Requires the read scope. A key with less gets 403 insufficient_scope.

GET
/v1/secrets
AuthorizationBearer <token>

Authorization: Bearer tone_live_… or tone_test_…. The prefix IS the environment: a test key reaches only the sandbox, and no request field bridges the two.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/secrets"
{  "data": [    {      "allowedOrigin": "https://api.example.com",      "createdAt": "2026-11-11T09:30:00.000Z",      "id": "4c8f8f4e-3b1a-4d7c-9a92-1f2e3d4c5b6a",      "lastUsedAt": null,      "name": "Carselona API key"    }  ]}
Was this page helpful?