Objects
External User​
- externalIdstring
 User id from the identity provider
- externalIdpIdstring
 Id of the identity provider
- human- firstNamestring
- lastNamestring
- nickNamestring
- displayNamestring
- preferredLanguagestring
 In RFC 5646 fromat
- emailstring
- isEmailVerifiedboolean
- phonestring
- isPhoneVerifiedboolean
 
metadata with value as bytes​
- keystring
- valueArray of byte
metadata result​
- countnumber
- sequencenumber
- timestampDate
- metadataArray of metadata
metadata​
- creationDateDate
- changeDateDate
- resourceOwnerstring
- sequencenumber
- keystring
- value- Any
user grant​
- projectIDstring
 Required. Id of the project to be granted
- projectGrantIDstring
 Optional. If the grant is for a project grant, include projectGrantID
- rolesArray of string
 Containing the roles
user​
- idstring
- creationDateDate
- changeDateDate
- resourceOwnerstring
- sequencenumber
 Unsigned 64 bit integer
- statenumber- 0: unspecified
- 1: active
- 2: inactive
- 3: deleted
- 4: locked
- 5: suspended
- 6: initial
 
- usernamestring
- loginNamesArray of string
- preferredLoginNamestring
- human
 Set if the user is human- firstNamestring
- lastNamestring
- nickNamestring
- displayNamestring
- avatarKeystring
- preferredLanguagestring
 In RFC 5646 fromat
- gendernumber- 0: unspecified
- 1: female
- 2: male
- 3: diverse
 
- emailstring
- isEmailVerifiedboolean
- phonestring
- isPhoneVerifiedboolean
 
- machine
 Set if the user is a machine- namestring
- descriptionstring
 
human user​
- idstring
- creationDateDate
- changeDateDate
- resourceOwnerstring
- sequencenumber
- statenumber- 0: unspecified
- 1: active
- 2: inactive
- 3: deleted
- 4: locked
- 5: suspended
- 6: initial
 
- usernamestring
- loginNamesArray of string
- preferredLoginNamestring
- profile- firstNamestring
- lastNamestring
- nickNamestring
- displayNamestring
- preferredLanguagestring
 In RFC 5646 fromat
 
- email- emailstring
- isEmailVerifiedboolean
 
- phone- phonestring
- isPhoneVerifiedboolean
 
Auth Request​
This object contains context information about the request to the authorization endpoint.
- idstring
- agentIdstring
- creationDateDate
- changeDateDate
- browserInfobrowserInfo- userAgentstring
- acceptLanguagestring
- remoteIpstring
 
- applicationIdstring
- callbackUristring
- transferStatestring
- promptArray of Number- 0: not specified
- 1: none
- 2: login
- 3: consent
- 4: select_account
- 5: create
 
- uiLocalesArray of string
- loginHintstring
- maxAuthAgeNumber
 Duration in nanoseconds
- instanceIdstring
- request- oidc- scopesArray of string
 
 
- userIdstring
- userNamestring
- loginNamestring
- displayNamestring
- resourceOwnerstring
- requestedOrgIdstring
- requestedOrgNamestring
- requestedPrimaryDomainstring
- requestedOrgDomainbool
- applicationResourceOwnerstring
- privateLabelingSettingNumber- 0: Unspecified
- 1: Enforce project resource owner policy
- 2: Allow login user resource owner policy
 
- selectedIdpConfigIdstring
- linkingUsersArray of ExternalUser
- passwordVerifiedbool
- mfasVerifiedArray of Number- 0: OTP
- 1: U2F
- 2: U2F User verification
 
- audienceArray of string
- authTimeDate
HTTP Request​
This object is based on the Golang struct http.Request, some attributes are removed as not all provided information is usable in this context.
- methodstring
- urlstring
- protostring
- contentLengthnumber
- hoststring
- formMap string of Array of string
- postFormMap string of Array of string
- remoteAddrstring
- headersMap string of Array of string
Claims​
This object represents the claims which will be written into the oidc token.
- substring
- namestring
- emailstring
- localestring
- given_namestring
- family_namestring
- preferred_usernamestring
- email_verifiedbool
- updated_atNumber
Additionally there could additional fields depending on the configuration of your project and your application
user grant list​
This object represents a list of user grant stored in ZITADEL.
- countNumber
- sequenceNumber
- timestampDate
- grantsArray of- idstring
- projectGrantIdstring
 The id of the project grant
- stateNumber- 0: unspecified
- 1: active
- 2: inactive
- 3: removed
 
- creationDateDate
- changeDateDate
- sequenceNumber
- userIdstring
- rolesArray of string
- userResourceOwnerstring
- userGrantResourceOwnerstring
- userGrantResourceOwnerNamestring
- projectIdstring
- projectNamestring