chatgptAccountIdFromToken
function chatgptAccountIdFromToken(token?): string | undefined;Defined in: core/src/auth/flows.ts:220
The ChatGPT-Account-Id the Codex backend requires. OpenAI puts it at
chatgpt_account_id, under https://api.openai.com/auth, or as
organizations[0].id, depending on the token.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
token? |
string |
Returns
Section titled “Returns”string | undefined