API response codes
HTTP Code | Description | Occurs When: |
200 | OK | Everything performs as expected. |
201 | Created | A new entity has been created. |
202 | Accepted | The call to the method was accepted and will be handled at the server’s discretion. |
204 | No Content | The call to the method was successful but there is not data that this method will return. |
400 | Bad Request | A malformed request was sent through or when a validation rule failed. Validation messages will be returned in the response body. |
401 | Unauthorised | The user is not correctly authenticated and the call requires authentication. The user does not have access rights for this method. |
402 | Payment Requested | The registration has expired. |
404 | Not Found | The requested entity was not found. Entities are bound to companies. Ensure the entity belongs to the company. |
405 | Method Not Allowed | HTTP Verb is not specified or incorrect verb is used. Or The user does not have access to the specified method. This applies to invited users. |
409 | Conflict | When attempting to delete an item that is currently in use. |
415 | Incorrect or Missing Content-Type header | A valid Content-Type header such as application/json is required on all requests. |
429 | Request Limit Reached | The limit of 100 requests per minute per company is exceeded or more there are more than 20 failed login attempts. |
Request limits Failed login attempts Encountering a rate limit Accounts are automatically unblocked within an hour. Do not continue to make requests as this may extended the blocking period. If you encounter a limit, do not continue to make requests as this may extend the blocking period. Queue Requests until the block is lifted. |
||
500 | Internal Server Error | A server side error occurred. |
503 | Service Unavailable | The service is unavailable due to scheduled maintenance. |