Create via Dashboard
1
Open API Keys
In the dashboard, open the profile icon (top right), then select API Keys from the dropdown.

2
Click Create API Key
Click the + Create API Key button to open the creation form.

3
Fill in the form
The creation modal has the following fields:
- Name (required) — A label for the key, e.g. “CI pipeline” or “Backend service”.
- Expiration (optional) — Toggle on and pick a date if you want the key to expire automatically.
- IP Restrictions (optional) — Add one or more IP addresses or CIDR ranges. When set, only requests from these IPs can use the key.
- Subaccount Access (optional) — Select specific subaccounts the key can access. Leave empty to allow access to all subaccounts.
- Permissions (required) — Select which actions the key can perform. Permissions are grouped into Account Management (manage API keys themselves) and Product (datacenter, residential, etc.). Use the bulk buttons (“Read All”, “Write All”, “Delete All”) to quickly assign permissions across products.

4
Copy your token
After clicking Create, the dashboard displays your new API key token. This is the only time the full token is shown — copy it and store it securely.

Create via API
For automation and scripting, you can create keys programmatically. This requires an existing API key withaccount:apikeys:create permission.
POST /v4/account/api-keys
Request body
You can only assign permissions that your own key or session is allowed. Use GET /v4/account/api-keys/allowed-permissions to see which permissions you can grant.
Response
On success, the response includes the new API key object. The full token (secret) is returned only once at creation. Store it securely; you cannot retrieve it again. To get a new secret, use the regenerate endpoint.Related
Permissions
How permissions are formatted and how allowed permissions are determined.
Permission reference
Full list of product and account API key permissions.