---
title: "getAuthCode"
method: GET
path: "/login/v3/oauth"
---

# getAuthCode

`GET /login/v3/oauth`

Use to send a user to the Sonos login service, for example, with a button instructing the user to enable your integration to use Sonos that sends the user to your redirect URI.

## Query parameters

- `client_id` string, required
- `response_type` string, required
- `state` string, required
- `scope` string, required
- `redirect_uri` string

## Response `200`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.net/sonos/apis/authorization-api.md) · [All operations](https://skmtc.net/sonos/apis/authorization-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sonos/authorization-api/versions/243132628620/schema)
