Generate API key
POST/settings/keys
Creates a new API key for your organization. The full key is returned only once in the response — store it securely. Subsequent calls to list keys will only show the last 4 characters.
An optional allowedIps field restricts the new key to a comma-separated
list of literal IPs or CIDR ranges (IPv4/IPv6). The list is validated and
normalized (trimmed, deduped, CIDR host-bits masked to the network address)
before being persisted. Omitting the body — or passing {} — creates a
key with no IP restriction.
Request
Responses
- 200
- 400
- 401
Key generated
Invalid allowedIps value
Missing or invalid credentials