Hello, I found a small mistake in the API documentation. On https://nationbuilder.com/people_api under the Push Endpoint, it says " If a match is not found, a new person is created and a 201 status code is returned", which is correct: https://cl.ly/rUFV But further down the page under "Creation example" it says "A new record will be created with the provided attributes and you will receive a response of status 200" (note the 200 instead of 201): https://cl.ly/rV8G Minor issue, but wanted to let you know! Thanks!
Hi Alex, thanks for bringing this issue to our attention. Indeed, when a person is created via the Push Endpoint, the 201 response code ought to be the accurate result, not the 200 response code. We've updated the People API documentation accordingly.
Showing 1 reaction
Sign in with