Wavix API Keys API
API key management
API key management
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/wavix-com:wavix-com-api-keys-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Wavix API Keys API
description: Wavix provides robust APIs that let you integrate voice and text messaging features directly into your app. Send text, place calls, and access detailed reports programmatically.
termsOfService: https://wavix.com/terms-and-conditions
license:
name: MIT
identifier: MIT
contact:
name: Wavix
url: https://wavix.com
email: support@wavix.com
version: 3.2.0
servers:
- url: https://api.wavix.com
description: https://api.wavix.com
variables: {}
security:
- bearerAuth: []
tags:
- name: API Keys
description: API key management
paths:
/v1/api-keys:
get:
operationId: api_keys_list
summary: List API keys
description: Returns the API keys belonging to the authenticated account.
tags:
- API Keys
x-fern-sdk-group-name:
- apiKeys
x-fern-sdk-method-name: list
x-mcp:
readOnly: true
destructive: false
openWorld: false
expose: true
toolset: account
parameters:
- in: query
name: label
schema:
type: string
description: Filters API keys by `label`. Matches partial values.
example: production
responses:
'200':
description: Returns the list of API keys.
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ApiKey'
examples:
default:
value:
- id: 123
label: Production API Key
value: abc123def456ghi789jkl012mno345pqr678stu901vwx234yz
redacted_value: '...wxyz'
active: true
restricted: true
permitted_ips:
- 192.168.1.1
- 10.0.0.1
scopes_enabled: true
last_used_at: '2026-04-20T15:42:11Z'
numbers:
allow: read
trunks:
allow: none
calls:
allow: read
messages:
allow: write
recordings:
allow: read
campaigns:
allow: none
two_fa:
allow: write
validator:
allow: read
webhooks:
allow: none
embeddable:
allow: none
billing:
allow: read
account:
allow: read
subaccounts:
allow: none
created_at: '2024-01-15T10:30:00Z'
'401':
$ref: '#/components/responses/UnauthorizedErrorResponse'
'403':
$ref: '#/components/responses/ForbiddenErrorResponse'
post:
operationId: api_keys_create
summary: Create an API key
description: Creates an API key for the authenticated account. Restrict access by listing permitted IP addresses in `permitted_ips`. Store the returned `value` securely. Later reads return `redacted_value`, and `value` on reads is deprecated.
tags:
- API Keys
x-fern-sdk-group-name:
- apiKeys
x-fern-sdk-method-name: create
x-mcp:
readOnly: false
destructive: false
openWorld: false
expose: true
toolset: account
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyCreateRequest'
example:
label: Production API Key
active: true
restricted: true
permitted_ips:
- 192.168.1.1
- 10.0.0.1
scopes_enabled: true
numbers:
allow: read
calls:
allow: read
messages:
allow: write
two_fa:
allow: write
billing:
allow: read
responses:
'200':
description: Returns the created API key, including the one-time `value` secret.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyWithSecret'
examples:
default:
value:
id: 123
label: Production API Key
value: abc123def456ghi789jkl012mno345pqr678stu901vwx234yz
redacted_value: '...wxyz'
active: true
restricted: true
permitted_ips:
- 192.168.1.1
- 10.0.0.1
scopes_enabled: true
last_used_at: null
numbers:
allow: read
trunks:
allow: none
calls:
allow: read
messages:
allow: write
recordings:
allow: none
campaigns:
allow: none
two_fa:
allow: write
validator:
allow: none
webhooks:
allow: none
embeddable:
allow: none
billing:
allow: read
account:
allow: none
subaccounts:
allow: none
created_at: '2024-01-15T10:30:00Z'
'400':
$ref: '#/components/responses/BadRequestErrorResponse'
'401':
$ref: '#/components/responses/UnauthorizedErrorResponse'
'403':
$ref: '#/components/responses/ForbiddenErrorResponse'
'422':
description: Returns a validation error when a field value is invalid.
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationErrorResponse'
examples:
ip_invalid:
summary: Invalid IP address
value:
success: false
message: Ip has incorrect format
scope_not_hash:
summary: Scope value is not an object
value:
success: false
message: 'API key scope numbers: must be a hash'
scope_extra_keys:
summary: Scope object has unexpected keys
value:
success: false
message: 'API key scope numbers: must have only "allow" key'
scope_invalid_allow:
summary: Unsupported allow value
value:
success: false
message: 'API key scope numbers: allow must be one of: none, read, write'
/v1/api-keys/{id}:
patch:
operationId: api_keys_update
summary: Update an API key
description: Updates an API key identified by `id`. Only the provided fields are changed.
tags:
- API Keys
x-fern-sdk-group-name:
- apiKeys
x-fern-sdk-method-name: update
x-mcp:
readOnly: false
destructive: false
openWorld: false
expose: true
toolset: account
parameters:
- in: path
name: id
schema:
type: integer
required: true
description: The unique ID of the API key.
example: 123
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyUpdateRequest'
example:
active: true
restricted: true
scopes_enabled: true
permitted_ips:
- 192.168.1.1
- 10.0.0.1
label: Production API Key
required: false
responses:
'200':
description: Returns the updated API key.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKey'
'400':
$ref: '#/components/responses/BadRequestErrorResponse'
'401':
$ref: '#/components/responses/UnauthorizedErrorResponse'
'403':
$ref: '#/components/responses/ForbiddenErrorResponse'
'404':
$ref: '#/components/responses/NotFoundErrorResponse'
'422':
$ref: '#/components/responses/ValidationErrorResponse'
delete:
operationId: api_keys_delete
summary: Delete an API key
description: Deletes the API key identified by `id`. Deletion is permanent and revokes the key immediately.
tags:
- API Keys
x-fern-sdk-group-name:
- apiKeys
x-fern-sdk-method-name: delete
x-mcp:
readOnly: false
destructive: true
openWorld: false
expose: true
toolset: account
parameters:
- in: path
name: id
schema:
type: integer
required: true
description: The unique ID of the API key.
example: 123
responses:
'200':
description: Returns a success confirmation. The API key is revoked.
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessResponse'
examples:
success:
summary: Successful response
value:
success: true
'400':
$ref: '#/components/responses/BadRequestErrorResponse'
'401':
$ref: '#/components/responses/UnauthorizedErrorResponse'
'403':
$ref: '#/components/responses/ForbiddenErrorResponse'
'404':
$ref: '#/components/responses/NotFoundErrorResponse'
components:
schemas:
ApiKeyBase:
type: object
description: Shared API key fields without the secret value.
required:
- id
- label
- active
- restricted
- permitted_ips
- scopes_enabled
- last_used_at
- numbers
- trunks
- calls
- messages
- recordings
- campaigns
- two_fa
- validator
- webhooks
- embeddable
- billing
- account
- subaccounts
- created_at
properties:
id:
type: integer
description: API key ID.
example: 123
label:
type: string
description: API key label.
example: Production API Key
active:
type: boolean
description: Indicates whether the API key is active.
example: true
restricted:
type: boolean
description: "Indicates whether IP restrictions are enabled. When enabled,\n the API key works only from IP addresses in `permitted_ips`."
example: true
permitted_ips:
type: array
items:
type: string
description: "List of permitted IP addresses. If `restricted` is false,\n an empty list means no IP restrictions. If `restricted` is true,\n an empty list prevents all requests."
example:
- 192.168.1.1
- 10.0.0.1
scopes_enabled:
type: boolean
description: 'When `true`, the key is restricted to the permissions defined in the
scope fields below. When `false`, the key has full access.'
example: true
last_used_at:
type:
- string
- 'null'
format: date-time
description: Timestamp of the most recent authenticated request made with this key.
example: '2026-04-20T15:42:11Z'
numbers:
anyOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
- type: 'null'
description: View, buy, release, and configure phone numbers, browse inventory, and manage the cart.
trunks:
anyOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
- type: 'null'
description: View, create, update, and delete SIP trunks and their settings.
calls:
anyOf:
- $ref: '#/components/schemas/ApiKeyCallsScopePermission'
- type: 'null'
description: Access call records and active calls, and control live call actions such as starting, answering, ending, audio playback, DTMF, streaming, and transcription requests.
messages:
anyOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
- type: 'null'
description: Access message history and Sender IDs, send messages, manage opt-outs, and create or delete Sender IDs.
recordings:
anyOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
- type: 'null'
description: List, download, and delete call recordings.
campaigns:
anyOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
- type: 'null'
description: View campaign analytics and Sender ID or Brand status, schedule bulk voice or SMS campaigns, register Brands, and create short links.
two_fa:
anyOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
- type: 'null'
description: View 2FA service details and verification logs, trigger OTPs by voice or SMS, and validate verification codes.
validator:
anyOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
- type: 'null'
description: View number validation results and trigger single or bulk validation or HLR lookup requests.
webhooks:
anyOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
- type: 'null'
description: List, create, and delete webhooks.
embeddable:
anyOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
- type: 'null'
description: Manage widget tokens, including listing, viewing, creating, updating, and deleting them.
billing:
anyOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
- type: 'null'
description: Access statements, balance, payment methods, usage reports, and billing settings, including payment method updates.
account:
anyOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
- type: 'null'
description: View and update account profile information and timezone.
subaccounts:
anyOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
- type: 'null'
description: 'Manage subaccounts: list and view them, create, update, and suspend them.'
created_at:
type: string
format: date-time
description: Creation date and time in ISO 8601 format.
example: '2024-01-15T10:30:00Z'
ValidationErrorResponse:
title: ValidationErrorResponse
type: object
properties:
success:
type: boolean
description: Indicates whether the request was successful. Always `false` for this error.
example: false
message:
type: string
description: Human-readable description naming the missing or invalid request parameter.
example: Missing or invalid parameter <param_name>
SuccessResponse:
title: SuccessResponse
required:
- success
type: object
properties:
success:
type: boolean
description: Indicates whether the request was successful.
example: true
UnauthorizedErrorResponse:
title: UnauthorizedErrorResponse
type: object
properties:
success:
type: boolean
description: Indicates whether the request was successful. Always `false` for this error.
example: false
error:
type: boolean
description: Indicates that the response represents an error. Always `true` for this error.
example: true
message:
type: string
description: Human-readable description stating that authentication is missing or invalid.
example: Unauthorized
ApiKeyCallsScopePermission:
type: object
description: Permission level for the `calls` scope group.
properties:
allow:
type: string
enum:
- none
- read
- write
default: none
description: 'Permission level:
- `none`: no access
- `read`: GET requests, `POST /v1/cdrs`
- `write`: all methods (includes read)'
example: read
ApiKeyCreateRequest:
type: object
required:
- label
properties:
label:
type: string
description: API key label.
example: My API key
active:
type: boolean
description: Indicates whether the API key should be activated upon creation.
default: true
example: true
restricted:
type: boolean
description: Indicates whether to restrict API key access by IP address. When enabled, only requests from IP addresses listed in `permitted_ips` are allowed.
default: false
example: true
permitted_ips:
type: array
items:
type: string
description: List of permitted IP addresses for this API key. Each must be a valid IPv4 address. Required when `restricted` is true.
example:
- 192.168.1.1
- 10.0.0.1
scopes_enabled:
type: boolean
description: 'When `true`, scope fields below are enforced. When `false` (default), the
key has full access. Omitted scope fields default to `{ allow: none }`,
so with `scopes_enabled: true` and no scopes set the key has no access.'
default: false
example: true
numbers:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: View, buy, release, and configure phone numbers, browse inventory, and manage the cart.
type: object
trunks:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: View, create, update, and delete SIP trunks and their settings.
type: object
calls:
allOf:
- $ref: '#/components/schemas/ApiKeyCallsScopePermission'
description: Access call records and active calls, and control live call actions such as starting, answering, ending, audio playback, DTMF, streaming, and transcription requests.
type: object
messages:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: Access message history and Sender IDs, send messages, manage opt-outs, and create or delete Sender IDs.
type: object
recordings:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: List, download, and delete call recordings.
type: object
campaigns:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: View campaign analytics and Sender ID or Brand status, schedule bulk voice or SMS campaigns, register Brands, and create short links.
type: object
two_fa:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: View 2FA service details and verification logs, trigger OTPs by voice or SMS, and validate verification codes.
type: object
validator:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: View number validation results and trigger single or bulk validation or HLR lookup requests.
type: object
webhooks:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: List, create, and delete webhooks.
type: object
embeddable:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: Manage widget tokens, including listing, viewing, creating, updating, and deleting them.
type: object
billing:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: Access statements, balance, payment methods, usage reports, and billing settings, including payment method updates.
type: object
account:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: View and update account profile information and timezone.
type: object
subaccounts:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: 'Manage subaccounts: list and view them, create, update, and suspend them.'
type: object
ForbiddenErrorResponse:
title: ForbiddenErrorResponse
type: object
properties:
success:
type: boolean
description: Indicates whether the request was successful. Always `false` for this error.
example: false
message:
type: string
description: Human-readable description of why access is forbidden.
example: The service is not provisioned for your account.
NotFoundErrorResponse:
title: NotFoundErrorResponse
type: object
properties:
success:
type: boolean
description: Indicates whether the request was successful. Always `false` for this error.
example: false
message:
type: string
description: Human-readable description stating that no resource matches the given ID.
example: Record not found
ApiKey:
description: API key details including IP restrictions and scope permissions. The `value` field is deprecated; use `redacted_value`.
allOf:
- $ref: '#/components/schemas/ApiKeyBase'
required:
- value
- redacted_value
properties:
value:
type: string
deprecated: true
description: Full API key value. Deprecated; use `redacted_value`, which shows only the last 4 characters.
example: abc123def456ghi789jkl012mno345pqr678stu901vwx234yz
redacted_value:
type:
- string
- 'null'
description: Redacted API key value, shown as `...` followed by the last 4 characters.
example: '...wxyz'
type: object
ApiKeyScopePermission:
type: object
description: Permission level for an API key scope group.
properties:
allow:
type: string
enum:
- none
- read
- write
default: none
description: 'Permission level:
- `none`: no access
- `read`: GET only
- `write`: all methods (includes read)'
example: read
ApiKeyUpdateRequest:
title: ApiKeyUpdateRequest
type: object
additionalProperties: false
description: Fields to update on an API key. All fields are optional; only the provided fields are changed.
properties:
active:
type: boolean
description: Indicates whether the API key is active.
example: true
restricted:
type: boolean
description: Indicates whether the API key is restricted to the listed permitted IPs.
example: true
scopes_enabled:
type: boolean
description: Indicates whether per-resource scope permissions are enforced for the API key.
example: true
permitted_ips:
type: array
items:
type: string
description: IP addresses allowed to use the API key when restriction is enabled.
example:
- 192.168.1.1
- 10.0.0.1
label:
type: string
description: Human-readable label for the API key.
example: Production API Key
numbers:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: View, buy, release, and configure phone numbers, browse inventory, and manage the cart.
type: object
trunks:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: View, create, update, and delete SIP trunks and their settings.
type: object
calls:
allOf:
- $ref: '#/components/schemas/ApiKeyCallsScopePermission'
description: Access call records and active calls, and control live call actions such as starting, answering, ending, audio playback, DTMF, streaming, and transcription requests.
type: object
messages:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: Access message history and Sender IDs, send messages, manage opt-outs, and create or delete Sender IDs.
type: object
recordings:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: List, download, and delete call recordings.
type: object
campaigns:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: View campaign analytics and Sender ID or Brand status, schedule bulk voice or SMS campaigns, register Brands, and create short links.
type: object
two_fa:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: View 2FA service details and verification logs, trigger OTPs by voice or SMS, and validate verification codes.
type: object
validator:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: View number validation results and trigger single or bulk validation or HLR lookup requests.
type: object
webhooks:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: List, create, and delete webhooks.
type: object
embeddable:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: Manage widget tokens, including listing, viewing, creating, updating, and deleting them.
type: object
billing:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: Access statements, balance, payment methods, usage reports, and billing settings, including payment method updates.
type: object
account:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: View and update account profile information and timezone.
type: object
subaccounts:
allOf:
- $ref: '#/components/schemas/ApiKeyScopePermission'
description: 'Manage subaccounts: list and view them, create, update, and suspend them.'
type: object
ApiKeyWithSecret:
description: 'API key details, including the secret `value`. Store the `value` securely. Later reads return `redacted_value`,
and `value` on reads is deprecated.'
allOf:
- $ref: '#/components/schemas/ApiKeyBase'
required:
- value
- redacted_value
properties:
value:
type: string
description: Full API key value.
example: abc123def456ghi789jkl012mno345pqr678stu901vwx234yz
redacted_value:
type:
- string
- 'null'
description: Redacted API key value, shown as `...` followed by the last 4 characters.
example: '...wxyz'
type: object
responses:
BadRequestErrorResponse:
description: Request failed. Missing or invalid parameter <param_name>
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationErrorResponse'
ForbiddenErrorResponse:
description: Request failed. The feature is disabled for your account.
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenErrorResponse'
UnauthorizedErrorResponse:
description: Unauthorized
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedErrorResponse'
NotFoundErrorResponse:
description: Request failed. An object with the specified ID is not found.
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundErrorResponse'
ValidationErrorResponse:
description: Validation error
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationErrorResponse'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Wavix API key. Pass as `Authorization: Bearer <api_key>`. Keys support per-resource scopes (none / read / write). See [Restricted keys and scopes](https://docs.wavix.com/api-reference/authentication#restricted-keys-and-scopes).
'