Start OAuth Flow
Initiate an OAuth authorization request.Endpoint
Authentication
No authentication required.Request Body
string
required
Name of the OAuth provider to use.
Response
string
URL to redirect the user to for provider authorization.
string
OAuth state parameter for CSRF protection.
OAuth Callback
Complete the OAuth flow after the user authorizes with the provider.Endpoint
Authentication
No authentication required. The callback exchanges the authorization code for a session and sets the session cookie.Query Parameters
string
required
Authorization code returned by the OAuth provider.
string
required
State value returned by the OAuth provider, used to validate the request.
Response
A successful callback sets the session cookie and returns user summary fields.Serve Account
View or update the Aria Compute Serve account linked to the current Router user.Get Linked Account
Authentication
Send the session cookie orAuthorization: Bearer <api-key>.
Response
string
Identifier of the linked Serve account.
string
Email associated with the linked Serve account.
Update Linked Account
Authentication
Send the session cookie orAuthorization: Bearer <api-key>.
Request Body
string
required
New Serve account identifier to link.