API Reference

The Pass API uses the following hard error codes:


Error CodeMeaning
400Bad Request – Your request is invalid.
401Unauthorized – Your JWT token is invalid.
403Forbidden – You do not enough permissions to perform this action.
404Not Found – The specified resource could not be found.
405Method Not Allowed – You tried to access an API endpoint with an invalid REST method.
406Not Acceptable – You requested by a format that isn’t JSON.
410Gone – The requested resource has been removed from our servers.
429Too Many Requests – You’re requesting too many resources.
500Internal Server Error – We had a problem with our server. Try again later.
502Bad Gateway – The server can't handle your request for the moment. Try again later.
503Service Unavailable – We’re temporarily offline for maintenance. Please try again later.