API Reference and Developer Documentation
HTTP Status Codes⚓
https://api.kraken.io/v1/docs
A successful optimization and compression run will result in the 200 OK
HTTP status code:
Sending invalid JSON will result in a 400 Bad Request
response:
Sending an invalid API Key or API Secret will result in a 401 Unauthorized
response:
When a Kraken.io account is overdue the request will result in a 402 Payment Required
response:
When a Kraken.io account is suspended the request will result in a 403 Forbidden
response:
Uploading a file with a file size larger than that set by your plan's limit will result in a413 Request Entity Too Large
response:
Uploading an unsupported image type will result in a 415 Unsupported Media Type
response:
Sending invalid JSON properties will result in a 422 Unprocessable Entity
response:
Any unexpected server error will result in a standard 500 Internal Server Error
response: