---
title: "Get access token"
method: POST
path: "/v2/token"
---

# 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`

- object
  - `grant_type` string, required: A constant string: "authorization_code".
  - `code` string, required: Authorization code that you received
  - `client_id` string, required: Client id that was provided by Nextdoor
  - `redirect_uri` string, required: Redirect URI that was submitted in the developer form

## Response `200`

200

- object
  - `access_token` string
  - `token_type` string
  - `id_token` string
  - `expires_in` integer

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/nextdoor/apis/get-access-token-2.md) - [All operations](https://skmtc.dev/nextdoor/apis/get-access-token-2/llms.txt) - [OpenAPI document](https://skmtc.dev/nextdoor/apis/get-access-token-2/revisions/fa4594ebc94a?raw)
