Creates a new API key for your account. You can optionally specify IP restrictions by providing a list of permitted IP addresses. If IP restrictions are enabled, the API key will only work when requests are made from the specified IP addresses.
Bearer token using appid (Authorization: Bearer
User-defined label for the API key
Whether the API key should be active upon creation
true
Whether to enable IP restrictions for this API key. When enabled, only requests from IP addresses listed in permitted_ips will be allowed.
true
List of IP addresses from which this API key can be used. Each IP address must be in valid IPv4 format. Required if is_restriction is true.
["192.168.1.1", "10.0.0.1"]The API key was created successfully.
Unique identifier of the API key
123
User-defined label for the API key
"Production API Key"
The API key value used for authentication
"abc123def456ghi789jkl012mno345pqr678stu901vwx234yz"
Indicates if the API key is currently active
true
Indicates if IP restrictions are enabled for this API key. When enabled, the API key will only work from the IP addresses listed in permitted_ips.
true
List of IP addresses from which this API key can be used. Empty array means no IP restrictions (if is_restriction is false) or all IPs are restricted (if is_restriction is true).
["192.168.1.1", "10.0.0.1"]Date and time when the API key was created
"2024-01-15T10:30:00Z"