Skip to content

Create an API key

POST
/api/api-keys
curl --request POST \
--url https://api.sipstack.com/api/api-keys \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "CRM Integration", "environment": "production" }'

Creates a new key. The full key value is returned only in this response — copy it immediately. Requires API access on your plan.

Media type application/json
object
name
required
string
Example
CRM Integration
environment
string
default: production
Allowed values: production test

Key created — data.key is shown once.

Media type application/json
object
success
boolean
message
string
data
object
key

The full key — shown only here.

string
prefix
string
environment
string
name
string
Example
{
"data": {
"key": "sk_live_..."
}
}

Name missing or invalid environment.

Not an owner/admin, or API access not on your plan.