Get access token

post/v2/token

Request

  • Base URL
    https://auth.nextdoor.com
  • URL
    https://auth.nextdoor.com/v2/token
  • Auth
    HTTP basic

Request body application/x-www-form-urlencoded

grant_typestring required

A constant string: "authorization_code".

codestring required

Authorization code that you received

client_idstring required

Client id that was provided by Nextdoor

redirect_uristring required

Redirect URI that was submitted in the developer form

Response

200

access_tokenstring
token_typestring
id_tokenstring
expires_ininteger

Example response

{
  "access_token": "sample_access_token",
  "token_type": "Bearer",
  "id_token": "sample_id_token",
  "expires_in": 31536000
}

Changes

No recorded changes to this operation across all 1 revision of this API.