Skip to main content
POST
Create an API key

Authorizations

Authorization
string
header
required

Your Wixzel Voice API key: Authorization: Bearer wv_live_.... Keys are scoped; grant only what the integration needs.

Body

application/json
name
string
required

For your own reference, e.g. "production backend".

Required string length: 1 - 200
scopes
enum<string>[]
required

Grant only what the key needs. There is no admin scope.

Minimum array length: 1
Available options:
agents:read,
agents:write,
calls:read,
calls:write,
leads:read,
leads:write,
campaigns:read,
campaigns:write,
knowledge_bases:read,
knowledge_bases:write,
phone_numbers:read,
phone_numbers:write,
sip_trunks:read,
sip_trunks:write,
appointments:read,
appointments:write,
webhooks:read,
webhooks:write,
usage:read,
billing:read
spend_limit_micros
integer

Micro-USD. 1_000_000 = $1.00.

Example:

194000

expires_at
string<date-time>

ISO 8601, always UTC.

Example:

"2026-09-01T12:00:00.000Z"

Response

The new key, including its secret

id
string
required
Pattern: ^[0-9a-f]{24}$
Example:

"6a96a3ead6e886d42462dd3e"

object
enum<string>
required
Available options:
api_key
name
string
required
prefix
string
required
Example:

"wv_live_"

last4
string
required
scopes
enum<string>[]
required
Available options:
agents:read,
agents:write,
calls:read,
calls:write,
leads:read,
leads:write,
campaigns:read,
campaigns:write,
knowledge_bases:read,
knowledge_bases:write,
phone_numbers:read,
phone_numbers:write,
sip_trunks:read,
sip_trunks:write,
appointments:read,
appointments:write,
webhooks:read,
webhooks:write,
usage:read,
billing:read
spend_limit_micros
integer | null
required

Guardrail, enforced within about a minute. Not a hard cap.

Example:

194000

last_used_at
string<date-time> | null
required

ISO 8601, always UTC.

Example:

"2026-09-01T12:00:00.000Z"

expires_at
string<date-time> | null
required

ISO 8601, always UTC.

Example:

"2026-09-01T12:00:00.000Z"

created_at
string<date-time>
required

ISO 8601, always UTC.

Example:

"2026-09-01T12:00:00.000Z"

key
string
required

The secret. Shown once and never again — store it now.

Example:

"wv_live_xxxxxxxxxxxxxxxxxxxxxx_ab12"