---
title: "Spotify Oauth Callback"
method: GET
path: "/v1/spotify/oauth/callback"
---

# Spotify Oauth Callback

`GET /v1/spotify/oauth/callback`

## Request

- Base URL: `https://api.storyflo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.storyflo.com/v1/spotify/oauth/callback`
- Auth: none declared

Spotify redirects here with ?code=&state=. Exchange the code,
persist the refresh token, add the show to the listener's library,
and bounce the user back to /listen on the marketing site.

## Query parameters

- `code` string, nullable
- `state` string, nullable
- `error` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/storyflo/apis/storyflo-inference-router.md) · [All operations](https://skmtc.dev/storyflo/apis/storyflo-inference-router/llms.txt) · [OpenAPI document](https://skmtc.dev/storyflo/apis/storyflo-inference-router/revisions/c3a1a735ac7a?raw)
