Authorization header with a Bearer token.
Get your API key
- Sign in to your Wavix account.
- Go to Administration → API Keys.
- Click Create new.
- Fill in the form:
- API key name (required): Enter a descriptive name, for example: “Mobile App Production”.
- Key type: Choose Unrestricted for full access to all API resources, or Restricted to configure per-resource permissions.
- Restrict access to authorized IPs only (optional): Toggle to limit the key to specific IP addresses.
- Click Create.
Restricted keys and scopes
When you select the Restricted key type, you assign one of three permission levels to each resource:
The following resources are available:
IP address restriction
Enabling Restrict access to authorized IPs only adds an extra layer of security. Even if your API key is compromised, it can only be used from your authorized servers. This is useful for backend services on fixed IPs, production environments, and compliance requirements.Authenticate your requests
Include your API key in theAuthorization header using Bearer token format:
<your_api_key> with your actual API key.
Code examples
Here are examples showing how to authenticate requests:Manage API keys programmatically
You can create, list, and manage API keys using the API endpoints. For details, see the API Keys endpoint reference.Deprecated method
Previously, you could authenticate requests by including your API key as theappid query parameter: