API response codes
reading time 3 minutes
Inkit uses a RESTful API approach and utilizes appropriate HTTP response codes to indicate the status of API requests (success or failure).
According to RESTful HTTP standards
- 2xx error codes indicates success;
- 4xx error codes indicates input error (incorrect data/wrong credentials or permissions denied);
- 5xx error codes indicates an error on Inkit's side.
You can find the described status code (code number, code name and the meaning).
200
SUCCESS
Successful API request.
201
CREATED
Successfully created resource.
202
ACCEPTED
Successfully processed request. Request may or may not still fail.
400
BAD REQUEST
Your request is invalid.
401
UNAUTHORIZED
Authorization error with your API key or account.
403
FORBIDDEN
Forbidden error with your API key or account.
404
NOT FOUND
The specified resource could not be found.
405
NOT ALLOWED
HTTP Method not allowed for the endpoint.
422
BAD REQUEST
The query or body parameters did not pass validation.
503
SERVICE UNAVAILABLE
We're temporarily offline for maintenance. Please try again later.
Questions?
We're always happy to help with code or other questions you might have.
Search our documentation, check the help center, or connect with our sales team.
Ask questions to our support team ([email protected]) if you run into any technical roadblock or the links above are not helpful.
Updated over 1 year ago