---
title: "Oauth Youtube Dest Start Fast"
method: POST
path: "/api/oauth/youtube-dest/start"
---

# Oauth Youtube Dest Start Fast

`POST /api/oauth/youtube-dest/start`

## Request

- Base URL: `https://sleipnir.tv` (the document declares no server; this is the origin it was published from)
- URL: `https://sleipnir.tv/api/oauth/youtube-dest/start`
- Auth: none declared

Fast-path YouTube destination connect: reuse an existing active
YoutubeConnection's tokens (refresh if near expiry) instead of a
fresh Google round-trip, and commit the Destination change directly.

POST-only. This path writes to the DB on the caller's say-so alone
(no Google round-trip to re-confirm consent), so it must not be
reachable by a plain GET: SameSite=Lax still attaches the session
cookie to a top-level cross-site GET navigation, so a GET version of
this fast path could be triggered by a bare link. POST closes that,
matching the app's mutations-aren't-GETs rule. Returns 204 when
there's no active connection to reuse; the caller falls back to the
full-OAuth GET sibling below.

## Cookies

- `relay_session` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sleipnir/apis/relay-control-plane.md) · [All operations](https://skmtc.dev/sleipnir/apis/relay-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/sleipnir/apis/relay-control-plane/revisions/79829f6945a4?raw)
