Skip to content

Issue account API key

POST
/v1/internal/account/{sid}/api-key
curl --request POST \
--url https://example.com/v1/internal/account/example/api-key \
--header 'Content-Type: application/json' \
--data '{ "label": "example", "expires_at": "2026-04-15T12:00:00Z" }'
sid
required
string
Media typeapplication/json
object
label
string
expires_at
string format: date-time
Examplegenerated
{
"label": "example",
"expires_at": "2026-04-15T12:00:00Z"
}

Created

Media typeapplication/json
object
sid
required
string
secret
required
string
Examplegenerated
{
"sid": "example",
"secret": "example"
}