For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation
Overview Agent Access Ads ChatGPT + Codex user docs Use cases

API Reference

Retrieve the current user identity

GET
/me

Return the authenticated user's stable application-scoped opaque identifier.

Retrieve the current user identity

curl https://api.ads.openai.com/v1/me \
    -H "Authorization: Bearer $OPENAI_ADS_ACCESS_TOKEN"
200 — Example
{
  "id": "id",
  "display_name": "display_name"
}
Returns
id: string
display_name: optional string or null
Returns Examples
200 — Example
{
  "id": "id",
  "display_name": "display_name"
}