This documentation is no longer actively supported and may be out of date. Going forward, please visit and bookmark our new site (https://docs.phunware.com/) for up-to-date documentation.
HTTP Status Codes
Below is a detailed outline of the status codes and messages used in the API.
Used for general success.
Used when a POST operation results in the creation of a new resource (such that response should contain URI of newly created resource).
Used when one or more parameters are invalid.
Used when one or more required parameters are missing.
Used when the JSON payload is not valid JSON.
Used when the requested resource does not exist (e.g. app ID).
Each failed response will include a JSON payload that includes the error code number and message:
The actual message for this "Bad Request" error will vary depending on whether the error was caused by bad data sent in the request, a validation error when validating the request data or any other generic request error.