NationBuilder Sites API
A site is how supporters interact with your nation. Each site has a theme and many pages that can be drafted and published later to be viewed publicly. Read more about sites [here](https://support.nationbuilder.com/en/articles/2363313-set-up-your-website-for-success).
NationBuilder Sites API is one of 41 APIs that NationBuilder publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Sites. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and a getting-started guide.
This API exposes 1 operation across 1 path, and defines 11 schemas. It is described by OpenAPI 3.1.2, at version 2.0.
Requests are made against a single base URL, https://{subdomain}.nationbuilder.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
NationBuilder Sites API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (JWT) (BearerAuth).
By default, every request must be authenticated.
BearerAuth— Authentication using a bearer token (JWT) issued via OAuth.
Paths & Operations 1
Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.
A site is how supporters interact with your nation. Each site has a theme and many pages that can be drafted and published later to be viewed publicly. Read more about sites [here…
Schemas 11
The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are pagination_links (5 properties), index_document (4 properties), site_read_only_attributes (3 properties), resource_identifier (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from NationBuilder 12
Other APIs NationBuilder publishes across the network.