userOrPendingUser is a union datatype for a user or a pending user, depending on whether an invitation was sent. Use the User or PendingUser datatypes and their parameters. Below are tables for each:

Table: PendingUser

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
createdAtLongyes Long-Term The time the pending user was created
idStringyes Long-Term The id or token for the pending user
idpBooleanyes Long-Term Whether IDP is enabled for the organization
invitedByEmailStringyes Long-Term The email of the user that invited the pending user
invitedByNameStringyes Long-Term The name of the user that invited the pending user
newUserEmailStringyes Long-Term The email of the pending user
orgNameStringyes Long-Term The name of the organization the pending user is about to join
pendingUserStatePendingUserStateyes Long-Term The current organization state for the user, if any.