Skip to main content
GET
/
profiles
/
me
JavaScript SDK
const response = await client.profiles.me();
{
  "userIdentifier": "abcd",
  "lastUpdatedTime": 1730204346000,
  "givenName": "Jane",
  "surname": "Doe",
  "email": "jane.doe@example.com",
  "displayName": "Jane Doe",
  "jobTitle": "Software Engineer",
  "identityType": "USER"
}

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Response

userIdentifier
string
required

Uniquely identifies the principal the profile is associated with. This property is guaranteed to be immutable.

Example:

"abcd"

lastUpdatedTime
integer<int64>
required

The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.

Required range: x >= 0
Example:

1730204346000

givenName
string | null

The user's first name.

Example:

"Jane"

surname
string | null

The user's last name.

Example:

"Doe"

email
string | null

The user's email address (if any). The email address is is returned directly from the identity provider and not guaranteed to be verified. Note that the email is mutable and can be updated in the identity provider. It should not be used to uniquely identify as a user. Use the userIdentifier property instead.

Example:

"jane.doe@example.com"

displayName
string | null

The display name for the user.

Example:

"Jane Doe"

jobTitle
string | null

The user's job title.

Example:

"Software Engineer"

identityType
enum<string>

The identity type field indicates the type of principal.

  • USER: Human user.
  • SERVICE_PRINCIPAL: Service account.
  • INTERNAL_SERVICE: Internal CDF service.
Available options:
USER,
SERVICE_PRINCIPAL,
INTERNAL_SERVICE
Last modified on April 23, 2026