Users

Get the authorised user

Changed on

Returns the profile of the caller identified by the auth token, plus their full organization- and team-role arrays. Distinct from GET /users/:userId. The caller must have organization view permission on the x-organization-id org.

get/api/v3/users/me

Request

  • Base URL: https://fusion.adobe.io
  • URL: https://fusion.adobe.io/api/v3/users/me
  • Auth: HTTP bearer and API key in header x-organization-id and API key in header x-api-key and API key in header x-gw-region

Headers

x-organization-idstring required

Response

The authorised user’s profile and roles

idnumber required

Unique user identifier.

namestring required

Display name.

emailstring required

Email address.

languageobject nullable required

ISO 639-1 language code.

timezoneIdnumber required

Timezone FK.

localeIdnumber required

Locale FK.

countryIdnumber required

Country FK.

featuresobject required

Feature flags map (never null).

avatarstring required

Computed Gravatar URL.

timezonestring required

Timezone name.

localestring required

Locale code.

Example response

{
  "id": 42,
  "name": "Ada Lovelace",
  "email": "ada@example.com",
  "timezoneId": 1,
  "localeId": 1,
  "countryId": 1,
  "features": {},
  "avatar": "https://secure.gravatar.com/avatar/abc.jpg?d=mm",
  "timezone": "America/Los_Angeles",
  "locale": "en_US",
  "userOrganizationRoles": [
    {
      "usersRoleId": 5,
      "userId": 42,
      "organizationId": 12989
    }
  ],
  "userTeamRoles": [
    {
      "usersRoleId": 8,
      "userId": 42,
      "teamId": 777,
      "changeable": true
    }
  ]
}

Changes

    • warning

      deleted the query request parameter includeHeadlessOrgs

    • breaking

      added the new required header request parameter x-organization-id

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added the non-success response with the status