Skip to content

List API keys

GET
/api/api-keys
curl --request GET \
--url https://api.sipstack.com/api/api-keys \
--header 'Authorization: Bearer <token>'

All API keys for your organization (secrets are never included).

Media type application/json
object
success
boolean
data
Array<object>

API key record (the secret value itself is never returned after creation).

object
id
integer
uuid
string format: uuid
name
string
key_prefix

First characters of the key, for identification.

string
environment
string
Allowed values: production test
scopes

Capability scopes granted to the key (e.g. ["sms:send","calls:read"]), or ["*"] for full access. null/[] on an unscoped or legacy key — such a key holds no scopes and is denied every scoped endpoint (403 insufficient_scope); it is not treated as full access.

Array<string>
nullable
expires_at

When the key expires. null = never expires. An expired key is rejected with 401.

string format: date-time
nullable
last_used_at
string format: date-time
nullable
is_active
boolean
created_at
string format: date-time
requests_today
integer
requests_this_month
integer
requests_total
integer
Example
{
"data": [
{
"name": "CRM Integration",
"key_prefix": "sk_live_a1b2",
"environment": "production",
"scopes": [
"*"
]
}
]
}

Not authenticated.

Missing permission.