Skip to content

HTTP endpoints ​

MethodPathAuthorizationPurpose
GET/healthPublicReadiness, version and non-personal schema status
GET/owner/loginPublicLogin form with CSRF nonce
POST/owner/loginOwner secret + login CSRFShort-lived owner session; rate limited
POST/owner/logoutOwner session + CSRFInvalidate session
GET/auth/providers/:provider/startOwner sessionConfirm exact connection/replacement; no external redirect yet
POST/auth/providers/:provider/startOwner session + CSRFRecord one-time approval and redirect to provider
GET/auth/providers/:provider/callbackSame owner session + approved one-time stateValidate state/PKCE and save credentials
GET/POST/auth/spotify/loginSame checks as provider startLegacy Spotify alias
GET/auth/spotify/callbackSame checks as provider callbackLegacy Spotify alias
POST/auth/apple-music/user-tokenx-jamrelay-owner-secret headerConfigure Music User Token; rate limited
GET/.well-known/oauth-protected-resourcePublicMCP resource metadata
GET/.well-known/oauth-protected-resource/mcpPublicPath-suffixed resource metadata
GET/.well-known/oauth-authorization-serverPublicMCP authorization server metadata
POST/oauth/registerPublic, rate limitedDCR when enabled
GET/POST/oauth/authorizeMCP request validation + owner consentMCP grants; separate from provider OAuth
POST/oauth/tokenOAuth client + code/refresh credentialsMCP token exchange
HTTP MCP methods/mcpStatic bearer or granted MCP OAuthMCP transport

Browser authorization supports spotify, soundcloud, and youtube. Apple Music uses its existing token mechanism. No owner secret belongs in a URL. Login cookies are HttpOnly, SameSite=Lax, Path=/ and Secure for an HTTPS public origin or production. Login sessions last 30 minutes; provider initiations last 10 minutes and do not survive restart.

Version 1.4 removes the web management routes, including /admin, /connections, /providers, /auth/status, /owner/grants and session rotation. They return 404. Use the local CLI and new login/logout for these workflows. Public health no longer reveals provider account or connection summaries.

Unofficial community project. Not affiliated with Spotify or AI platform vendors.