Responses and Errors
The UseForms API uses conventional HTTP response codes to indicate success or failure of a request.
HTTP Status Code Summary
Success Responses
Success responses usually come in the below format
success
: A boolean value that is alwaystrue
if the request went successfullydata
: Response data. This will be either be an array of objects (for endpoints that return multiple records) or an object (for endpoints that return a single record)._metadata
: Response metadata. This is only available for endpoints that return multiple records. It contains the total count of records, the number of records returned per page, the total number of pages, and links to the previous and next pages.
Error Responses
Error responses usually come in the below format
success
: A boolean value that is alwaysfalse
if the request failed.error
: A description of what caused the request to fail
Last updated