Skip to main content

EndUserState

Captured identity claims and editable profile values for a tenant's end user. Identity claims are copied from the verified token and are read-only through the profile update operations. Location, locale overrides, generation preferences and application metadata are set through their corresponding profile update operations.

Usage profiles​

UsageFields and validation
In responsesView fields

In responses​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
subjectstringOptionalSubject claim identifying the end user within the identity provider.
tenantIdstringOptionalIdentifier of the tenant that owns or scopes this record.
issuerstringOptionalOIDC issuer identifying the identity provider.
projectIdstringOptionalIdentifier of the project within the tenant that scopes this record.
emailstringOptionalEmail address received from the identity provider.
emailVerifiedbooleanOptionalWhether the identity provider marked the email address as verified.
namestringOptionalFull name received from the identity provider.
givenNamestringOptionalGiven-name claim received from the identity provider.
familyNamestringOptionalFamily-name claim received from the identity provider.
preferredUsernamestringOptionalPreferred username claim received from the identity provider.
picturestringOptionalProfile picture URL received from the identity provider.
phoneNumberstringOptionalTelephone number received from the identity provider.
phoneNumberVerifiedbooleanOptionalWhether the identity provider marked the telephone number as verified.
signInProviderstringOptionalSign-in provider recorded with the captured identity.
authMethodstringOptionalAuthentication method recorded with the captured identity.
localestringOptionalLocale preference associated with the user or subscriber. IdP-sourced default (not the override).
zoneinfostringOptionalTime zone claim received from the identity provider. IdP-sourced default.
customClaimsMap from string to stringOptionalAdditional identity claims stored as string key-value pairs.
locationLocationOptionalCoordinates and derived location metadata selected by the end user.
localeOverridestringOptionalLocale explicitly selected by the end user. When set, takes precedence over the identity provider's locale; when empty, the identity-provider locale is used.
defaultGenerationConfigGenerationConfigOptionalDefault model generation settings associated with the end-user profile.
metadataMap from string to stringOptionalApplication-defined key-value metadata associated with the end user.
firstSeenAtstring (date-time)OptionalTime the end-user identity was first captured.
lastSeenAtstring (date-time)OptionalTime the end user's identity was most recently observed.
updatedAtstring (date-time)OptionalTime this record was most recently updated.
createdAtstring (date-time)OptionalTime this record was created.

Where used​

ReferenceRelationship
Get the caller's end-user profilePOST /api/v1/enduser/get

Download the public reference contract.

Document: DOC-API-MODEL-end-user-state.