Explore our Swagger-generated interactive API documentation, including:
Listings of all available API endpoints
Allowed methods for each endpoint, including example API request body and expected response body
Complete object schemas listing allowed and required object attributes/fields
List of associated object types that can be sideloaded/sideposted
Fully interactive if provided with a valid API token – send test HTTP requests from within this documentation
To explore end points and example codes, visit: https://nationbuilder.com/api/v2/reference
If you have an existing nation and would like to utilise the interactive, explorer, insert your slug into the following URL: https://{slug}.nationbuilder.com/api/v2