We use standard HTTP codes in return to indicate both the success of a request and to indicate failure. Below are the codes used in our APIs:
| Code | Status | Description |
|---|---|---|
| 200 | Ok | Success |
| 201 | Created | The request is complete, and a new resource was created |
| 400 | Bad Request | Invalid request due a validation error |
| 401 | Unauthorized | Authentication failure |
| 403 | Forbidden | Your application is not authorized to access this environment |
| 500 | Internal Server Error | An internal error has occurred |
