Note that authentication is only required for Publish API not Share Plugin
The Nextdoor APIs use the OAuth 2.0 protocol to authorize API requests.
The Nextdoor APIs use the OAuth 2.0 protocol to authorize API requests.
Please apply for access and the Nextdoor Partnerships team will provide the client_id and client_secret credentials that will be used to generate an access token.
Once you have the client_id and client_secret, you must get a Bearer token to access Nextdoor APIs. Add a new header with client_id:client_secret
when requesting the access token.
The token service will return the Bearer token with the expiration time.
Publish API
For Publish API, the following scopes are supported: https://developer.nextdoor.com/reference/sharing-get-authorization-code
After getting your Bearer token you need to add the token to your request header to access the APIs. Here is an example header with the Bearer token:
Authorization: Bearer <access_token>