Empty Response HTTP Code Parameter

Supporting reduced unnecessary error handling, you can now choose the HTTP status code returned when a GET request yields no data. An optional GET query parameter empty_response_http_code can be added to your request.

Supported values are: 200, 204, or 404 (default behavior).

Query Result Details When No Matching Records are Found

API Query Result Description
empty_response_http_code=200 The API will return an HTTP 200 OK status, along with an empty JSON list (mirroring our usual data structure for GET responses.)
empty_response_http_code=204 The API will return HTTP 204 No Content, with no message body, indicating success with no data.
Not specified or 404 The current behavior is maintained. The API will return a 404 Not Found when no records match the query.