Everything in NationBuilder revolves around your people database. One of the most important and powerful uses of our APIs is to add data to NationBuilder, and to keep it in sync with data and actions that happen elsewhere.
We wanted to make it as easy as possible for developers to get lots of data in and and out of NationBuilder, so we added two new endpoints, as well as making some great improvements to the Imports endpoint. These new powerful endpoints make it much easier to manage large amounts of data through the API.
-
Add to lists in bulk - You can now add up to 10,000 people to a list at once by sending an array of ids to /lists/:id/people.
-
Export lists: Now instead of making many calls to the People endpoint to retrieve people, you can export all the people in the list.
-
A better, more usable imports API - We’ve added better error messaging to the imports API, and the ability to retrieve the rows which had errors during the import process. The imports API has always been the best and fastest way to add lots of new people to a nation, and now it’s even better.
-
Disable webhooks firing on API calls - We added a parameter to the people API that lets you stop webhooks from firing. This is very helpful for large complicated integration that use both webhooks and the API to keep data in sync.
I’d love to help you optimize your API usage by taking advantage of these new endpoints. Please feel free to email me at [email protected].