Responses¶
Responses use the customary HTTP status codes, with the most typical ones being:
Code | Meaning |
---|---|
Successful Responses | |
200 | OK |
Error Responses | |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
422 | Unprocessable Entity |
429 | Too Many Requests |
500 | Internal Server Error |
Each of the entities in the Dev API (Leads, People, etc.) has a /search
endpoint. For requests sent to
/search
endpoints, the response header contains a field called X-PW-TOTAL
. This value represents an
upper bound of the total number of records returned in the search query. It allows the developer to estimate
roughly how long it would take to extract the data when the results are paginated (See Paginating Search
Results section).