v1

latestOpenAPI 3.1.02026-07-13143194365.4 KB
auth

Proxy X OAuth 2.0 token exchange

Server-side proxy for X OAuth 2.0 token operations. Injects the client secret so callers (web app, extension) never need to embed it.

Supports grant_type=authorization_code (initial login) and grant_type=refresh_token (session refresh).

post/v1/auth/x/token

Request body

grant_typestring required
codestring nullable
code_verifierstring nullable
redirect_uristring nullable
client_idstring nullable
refresh_tokenstring nullable

Response

Successful Response

object required