When Pepperi receives a request to an API endpoint, a number of different HTTP status codes can be returned in the response depending on the original request.


200 OK
The request was successfully processed by Pepperi (in case of Upsert - indicates data updated sucessfully)
201 Created
The request has been fulfilled and a new resource has been created. (in case of Upsert - indicates data created sucessfully)
400 Bad Request

The request was not understood by the server, generally due to bad syntax.

This status is also returned when the request provides an invalid code parameter during the OAuth token exchange process.

401 Unauthorized
The necessary authentication credentials are not present in the request or are incorrect.
404 Not Found
The requested resource was not found.
429 Too Many Requests
The request was not accepted because the application has exceeded the rate limit. See the API Rate Limit documentation for a breakdown of Pepperi's rate-limiting mechanism.
500 Internal Server Error
An internal error occurred in Pepperi. Please contact our API support team : api@support.pepperi.com so that our support team could investigate it.
501 Not Implemented
The requested endpoint is not available on that particular resource, e.g: currently we do not support POST for the users resource.
504 Gateway Timeout
The request could not complete in time. Try breaking it down with our support team.