Skip to main content
All endpoints accept and return JSON. The Content-Type header for POST and PATCH requests must be application/json.

Success Responses

Successful requests return HTTP 2xx status codes. The response body contains the requested object or array directly — there is no outer wrapper envelope. Single object example (GET /surveys/):
List example (GET /surveys):

Error Responses

All error responses return a JSON body with a message field containing a human-readable description suitable for display to end users.
Returned when a required field is missing or a field value is invalid.

HTTP Status Code Reference

Pagination

Endpoints that return lists (GET /surveys, GET /responses) support pagination via query parameters: Example: GET /surveys?page=2&page_size=50
When polling for responses during active fieldwork, combine pagination with a timestamp filter where supported to retrieve only new records since your last poll.