latestOpenAPI 3.0.32026-08-19299284712.8 KB

67d9f45bb99b

Auth

Exchange an embed token for an OAuth2 access token

Exchanges a short-lived embed token for a standard OAuth2 access token. Returns the same payload shape as the PKCE token endpoint.

post/auth/embed-token/exchange

Request body

embed_tokenstring required

Response

OAuth2 access token response

access_tokenstring
token_typestring
expires_ininteger
scopestring
company_idstring uuid