Get Full Profile
GET
/api/auth/profile
const url = 'https://example.com/api/auth/profile';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/auth/profile \ --header 'Authorization: Bearer <token>'Return the current user’s full profile: identities, org memberships, teams.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
example