WorkOS PHP SDK

Application

Table of Contents

Interfaces

WorkOSException

Classes

Actions
ApiException
AuthenticationException
AuthorizationException
BadRequestException
BaseRequestException
ConfigurationException
ConflictException
ConnectionException
GenericException
Class GenericException
NotFoundException
RateLimitExceededException
ServerException
TimeoutException
UnexpectedValueException
class UnexpectedValueException.
UnprocessableEntityException
HttpClient
PaginatedResponse
Passwordless
PKCEHelper
RequestOptions
ActionAuthenticationDenied
ActionAuthenticationDeniedContext
Additional context about the event.
ActionAuthenticationDeniedContextActor
The actor who performed the action.
ActionAuthenticationDeniedContextGoogleAnalyticsSession
ActionAuthenticationDeniedData
The event payload.
ActionUserRegistrationDenied
ActionUserRegistrationDeniedContext
Additional context about the event.
ActionUserRegistrationDeniedContextActor
The actor who performed the action.
ActionUserRegistrationDeniedContextGoogleAnalyticsSession
ActionUserRegistrationDeniedData
The event payload.
AddRolePermission
ApiKey
The API Key object if the value is valid, or `null` if invalid.
ApiKeyCreated
ApiKeyCreatedContext
Additional context about the event.
ApiKeyCreatedContextActor
The actor who performed the action.
ApiKeyCreatedContextGoogleAnalyticsSession
ApiKeyCreatedData
The event payload.
ApiKeyCreatedDataOwner
The owner of the API key.
ApiKeyOwner
The entity that owns the API Key.
ApiKeyRevoked
ApiKeyRevokedContext
Additional context about the event.
ApiKeyRevokedContextActor
The actor who performed the action.
ApiKeyRevokedContextGoogleAnalyticsSession
ApiKeyRevokedData
The event payload.
ApiKeyRevokedDataOwner
The owner of the API key.
ApiKeyValidationResponse
ApiKeyWithValue
ApiKeyWithValueOwner
The entity that owns the API Key.
ApplicationCredentialsListItem
AssignRole
AuditLogActionJson
AuditLogConfiguration
AuditLogConfigurationLogStream
The Audit Log Stream currently configured for the organization, if any.
AuditLogEvent
AuditLogEventActor
AuditLogEventContext
AuditLogEventCreateResponse
AuditLogEventIngestion
AuditLogEventTarget
AuditLogExportCreation
AuditLogExportJson
AuditLogSchema
AuditLogSchemaActor
AuditLogSchemaJson
AuditLogSchemaJsonActor
The metadata schema for the actor.
AuditLogSchemaJsonTarget
AuditLogSchemaTarget
AuditLogsRetentionJson
AuthenticateResponse
AuthenticateResponseImpersonator
Information about the impersonator if this session was created via impersonation.
AuthenticateResponseOAuthToken
The OAuth tokens from the identity provider, if applicable.
AuthenticationChallenge
AuthenticationChallengesVerifyRequest
AuthenticationChallengeVerifyResponse
AuthenticationEmailVerificationFailed
AuthenticationEmailVerificationFailedContext
Additional context about the event.
AuthenticationEmailVerificationFailedContextActor
The actor who performed the action.
AuthenticationEmailVerificationFailedContextGoogleAnalyticsSession
AuthenticationEmailVerificationFailedData
The event payload.
AuthenticationEmailVerificationFailedDataError
Details about the authentication error.
AuthenticationEmailVerificationSucceeded
AuthenticationEmailVerificationSucceededContext
Additional context about the event.
AuthenticationEmailVerificationSucceededContextActor
The actor who performed the action.
AuthenticationEmailVerificationSucceededContextGoogleAnalyticsSession
AuthenticationEmailVerificationSucceededData
The event payload.
AuthenticationFactor
AuthenticationFactorEnrolled
AuthenticationFactorEnrolledSms
SMS-based authentication factor details.
AuthenticationFactorEnrolledTotp
TOTP-based authentication factor details. Includes enrollment secrets only available at creation time.
AuthenticationFactorsCreateRequest
AuthenticationFactorSms
SMS-based authentication factor details.
AuthenticationFactorTotp
TOTP-based authentication factor details.
AuthenticationMagicAuthFailed
AuthenticationMagicAuthFailedContext
Additional context about the event.
AuthenticationMagicAuthFailedContextActor
The actor who performed the action.
AuthenticationMagicAuthFailedContextGoogleAnalyticsSession
AuthenticationMagicAuthFailedData
The event payload.
AuthenticationMagicAuthFailedDataError
Details about the authentication error.
AuthenticationMagicAuthSucceeded
AuthenticationMagicAuthSucceededContext
Additional context about the event.
AuthenticationMagicAuthSucceededContextActor
The actor who performed the action.
AuthenticationMagicAuthSucceededContextGoogleAnalyticsSession
AuthenticationMagicAuthSucceededData
The event payload.
AuthenticationMFAFailed
AuthenticationMFAFailedContext
Additional context about the event.
AuthenticationMFAFailedContextActor
The actor who performed the action.
AuthenticationMFAFailedContextGoogleAnalyticsSession
AuthenticationMFAFailedData
The event payload.
AuthenticationMFAFailedDataError
Details about the authentication error.
AuthenticationMFASucceeded
AuthenticationMFASucceededContext
Additional context about the event.
AuthenticationMFASucceededContextActor
The actor who performed the action.
AuthenticationMFASucceededContextGoogleAnalyticsSession
AuthenticationMFASucceededData
The event payload.
AuthenticationOAuthFailed
AuthenticationOAuthFailedContext
Additional context about the event.
AuthenticationOAuthFailedContextActor
The actor who performed the action.
AuthenticationOAuthFailedContextGoogleAnalyticsSession
AuthenticationOAuthFailedData
The event payload.
AuthenticationOAuthFailedDataError
Details about the authentication error.
AuthenticationOAuthSucceeded
AuthenticationOAuthSucceededContext
Additional context about the event.
AuthenticationOAuthSucceededContextActor
The actor who performed the action.
AuthenticationOAuthSucceededContextGoogleAnalyticsSession
AuthenticationOAuthSucceededData
The event payload.
AuthenticationPasskeyFailed
AuthenticationPasskeyFailedContext
Additional context about the event.
AuthenticationPasskeyFailedContextActor
The actor who performed the action.
AuthenticationPasskeyFailedContextGoogleAnalyticsSession
AuthenticationPasskeyFailedData
The event payload.
AuthenticationPasskeyFailedDataError
Details about the authentication error.
AuthenticationPasskeySucceeded
AuthenticationPasskeySucceededContext
Additional context about the event.
AuthenticationPasskeySucceededContextActor
The actor who performed the action.
AuthenticationPasskeySucceededContextGoogleAnalyticsSession
AuthenticationPasskeySucceededData
The event payload.
AuthenticationPasswordFailed
AuthenticationPasswordFailedContext
Additional context about the event.
AuthenticationPasswordFailedContextActor
The actor who performed the action.
AuthenticationPasswordFailedContextGoogleAnalyticsSession
AuthenticationPasswordFailedData
The event payload.
AuthenticationPasswordFailedDataError
Details about the authentication error.
AuthenticationPasswordSucceeded
AuthenticationPasswordSucceededContext
Additional context about the event.
AuthenticationPasswordSucceededContextActor
The actor who performed the action.
AuthenticationPasswordSucceededContextGoogleAnalyticsSession
AuthenticationPasswordSucceededData
The event payload.
AuthenticationRadarRiskDetected
AuthenticationRadarRiskDetectedContext
Additional context about the event.
AuthenticationRadarRiskDetectedContextActor
The actor who performed the action.
AuthenticationRadarRiskDetectedContextGoogleAnalyticsSession
AuthenticationRadarRiskDetectedData
The event payload.
AuthenticationSSOFailed
AuthenticationSSOFailedContext
Additional context about the event.
AuthenticationSSOFailedContextActor
The actor who performed the action.
AuthenticationSSOFailedContextGoogleAnalyticsSession
AuthenticationSSOFailedData
The event payload.
AuthenticationSSOFailedDataError
Details about the authentication error.
AuthenticationSSOFailedDataSSO
SSO connection details.
AuthenticationSSOStarted
AuthenticationSSOStartedContext
Additional context about the event.
AuthenticationSSOStartedContextActor
The actor who performed the action.
AuthenticationSSOStartedContextGoogleAnalyticsSession
AuthenticationSSOStartedData
The event payload.
AuthenticationSSOStartedDataSSO
SSO connection details.
AuthenticationSSOSucceeded
AuthenticationSSOSucceededContext
Additional context about the event.
AuthenticationSSOSucceededContextActor
The actor who performed the action.
AuthenticationSSOSucceededContextGoogleAnalyticsSession
AuthenticationSSOSucceededData
The event payload.
AuthenticationSSOSucceededDataSSO
SSO connection details.
AuthenticationSSOTimedOut
AuthenticationSSOTimedOutContext
Additional context about the event.
AuthenticationSSOTimedOutContextActor
The actor who performed the action.
AuthenticationSSOTimedOutContextGoogleAnalyticsSession
AuthenticationSSOTimedOutData
The event payload.
AuthenticationSSOTimedOutDataError
Details about the authentication error.
AuthenticationSSOTimedOutDataSSO
SSO connection details.
AuthorizationCheck
AuthorizationCodeSessionAuthenticateRequest
AuthorizationPermission
AuthorizationResource
AuthorizedConnectApplicationListData
ChallengeAuthenticationFactor
CheckAuthorization
ConfirmEmailChange
ConnectApplication
ConnectedAccount
Connection
ConnectionActivated
ConnectionActivatedContext
Additional context about the event.
ConnectionActivatedContextActor
The actor who performed the action.
ConnectionActivatedContextGoogleAnalyticsSession
ConnectionActivatedData
The event payload.
ConnectionActivatedDataDomain
ConnectionDeactivated
ConnectionDeactivatedContext
Additional context about the event.
ConnectionDeactivatedContextActor
The actor who performed the action.
ConnectionDeactivatedContextGoogleAnalyticsSession
ConnectionDeactivatedData
The event payload.
ConnectionDeactivatedDataDomain
ConnectionDeleted
ConnectionDeletedContext
Additional context about the event.
ConnectionDeletedContextActor
The actor who performed the action.
ConnectionDeletedContextGoogleAnalyticsSession
ConnectionDeletedData
The event payload.
ConnectionDomain
ConnectionOption
Configuration options for SAML connections. Only present for SAML connection types.
ConnectionSAMLCertificateRenewalRequired
ConnectionSAMLCertificateRenewalRequiredContext
Additional context about the event.
ConnectionSAMLCertificateRenewalRequiredContextActor
The actor who performed the action.
ConnectionSAMLCertificateRenewalRequiredContextGoogleAnalyticsSession
ConnectionSAMLCertificateRenewalRequiredData
The event payload.
ConnectionSAMLCertificateRenewalRequiredDataCertificate
The SAML certificate details.
ConnectionSAMLCertificateRenewalRequiredDataConnection
The connection with the expiring certificate.
ConnectionSAMLCertificateRenewed
ConnectionSAMLCertificateRenewedContext
Additional context about the event.
ConnectionSAMLCertificateRenewedContextActor
The actor who performed the action.
ConnectionSAMLCertificateRenewedContextGoogleAnalyticsSession
ConnectionSAMLCertificateRenewedData
The event payload.
ConnectionSAMLCertificateRenewedDataCertificate
The renewed SAML certificate details.
ConnectionSAMLCertificateRenewedDataConnection
The connection with the renewed certificate.
CORSOriginResponse
CreateApplicationSecret
CreateAuthorizationPermission
CreateAuthorizationResource
CreateCORSOrigin
CreateGroup
CreateGroupMembership
CreateM2MApplication
CreateMagicCodeAndReturn
CreateOAuthApplication
CreateOrganizationApiKey
CreateOrganizationDomain
CreateOrganizationRole
CreatePasswordReset
CreatePasswordResetToken
CreateRedirectUri
CreateRole
CreateUser
CreateUserInviteOptions
CreateUserOrganizationMembership
CreateWebhookEndpoint
DataIntegrationAccessTokenResponse
DataIntegrationAccessTokenResponseAccessToken
The [access token](https://workos.com/docs/reference/pipes/access-token) object, present when `active` is `true`.
DataIntegrationAuthorizeUrlResponse
DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
DataIntegrationsGetUserTokenRequest
DataIntegrationsListResponse
DataIntegrationsListResponseData
DataIntegrationsListResponseDataConnectedAccount
DeviceAuthorizationResponse
DeviceCodeSessionAuthenticateRequest
Directory
DirectoryGroup
DirectoryMetadata
Aggregate counts of directory users and groups synced from the provider.
DirectoryMetadataUser
Counts of active and inactive directory users.
DirectoryUser
DirectoryUserEmail
DirectoryUserWithGroups
DirectoryUserWithGroupsEmail
DomainVerificationIntentOptions
DsyncActivated
DsyncActivatedContext
Additional context about the event.
DsyncActivatedContextActor
The actor who performed the action.
DsyncActivatedContextGoogleAnalyticsSession
DsyncActivatedData
The event payload.
DsyncActivatedDataDomain
DsyncDeactivated
DsyncDeactivatedContext
Additional context about the event.
DsyncDeactivatedContextActor
The actor who performed the action.
DsyncDeactivatedContextGoogleAnalyticsSession
DsyncDeactivatedData
The event payload.
DsyncDeactivatedDataDomain
DsyncDeleted
DsyncDeletedContext
Additional context about the event.
DsyncDeletedContextActor
The actor who performed the action.
DsyncDeletedContextGoogleAnalyticsSession
DsyncDeletedData
The event payload.
DsyncGroupCreated
DsyncGroupCreatedContext
Additional context about the event.
DsyncGroupCreatedContextActor
The actor who performed the action.
DsyncGroupCreatedContextGoogleAnalyticsSession
DsyncGroupCreatedData
The event payload.
DsyncGroupDeleted
DsyncGroupDeletedContext
Additional context about the event.
DsyncGroupDeletedContextActor
The actor who performed the action.
DsyncGroupDeletedContextGoogleAnalyticsSession
DsyncGroupDeletedData
The event payload.
DsyncGroupUpdated
DsyncGroupUpdatedContext
Additional context about the event.
DsyncGroupUpdatedContextActor
The actor who performed the action.
DsyncGroupUpdatedContextGoogleAnalyticsSession
DsyncGroupUpdatedData
The event payload.
DsyncGroupUserAdded
DsyncGroupUserAddedContext
Additional context about the event.
DsyncGroupUserAddedContextActor
The actor who performed the action.
DsyncGroupUserAddedContextGoogleAnalyticsSession
DsyncGroupUserAddedData
The event payload.
DsyncGroupUserAddedDataGroup
The directory group the user was added to.
DsyncGroupUserAddedDataUser
The directory user added to the group.
DsyncGroupUserAddedDataUserEmail
DsyncGroupUserAddedDataUserRole
The primary role assigned to the user.
DsyncGroupUserRemoved
DsyncGroupUserRemovedContext
Additional context about the event.
DsyncGroupUserRemovedContextActor
The actor who performed the action.
DsyncGroupUserRemovedContextGoogleAnalyticsSession
DsyncGroupUserRemovedData
The event payload.
DsyncGroupUserRemovedDataGroup
The directory group the user was removed from.
DsyncGroupUserRemovedDataUser
The directory user removed from the group.
DsyncGroupUserRemovedDataUserEmail
DsyncGroupUserRemovedDataUserRole
The primary role assigned to the user.
DsyncUserCreated
DsyncUserCreatedContext
Additional context about the event.
DsyncUserCreatedContextActor
The actor who performed the action.
DsyncUserCreatedContextGoogleAnalyticsSession
DsyncUserCreatedData
The event payload.
DsyncUserCreatedDataEmail
DsyncUserCreatedDataRole
The primary role assigned to the user.
DsyncUserDeleted
DsyncUserDeletedContext
Additional context about the event.
DsyncUserDeletedContextActor
The actor who performed the action.
DsyncUserDeletedContextGoogleAnalyticsSession
DsyncUserDeletedData
The event payload.
DsyncUserDeletedDataEmail
DsyncUserDeletedDataRole
The primary role assigned to the user.
DsyncUserUpdated
DsyncUserUpdatedContext
Additional context about the event.
DsyncUserUpdatedContextActor
The actor who performed the action.
DsyncUserUpdatedContextGoogleAnalyticsSession
DsyncUserUpdatedData
The event payload.
DsyncUserUpdatedDataEmail
DsyncUserUpdatedDataRole
The primary role assigned to the user.
EmailChange
EmailChangeConfirmation
EmailChangeConfirmationUser
The user object.
EmailVerification
EmailVerificationCodeSessionAuthenticateRequest
EmailVerificationCreated
EmailVerificationCreatedContext
Additional context about the event.
EmailVerificationCreatedContextActor
The actor who performed the action.
EmailVerificationCreatedContextGoogleAnalyticsSession
EmailVerificationCreatedData
The event payload.
EnrollUserAuthenticationFactor
EventContext
Additional context about the event.
EventContextActor
The actor who performed the action.
EventContextGoogleAnalyticsSession
EventListListMetadata
Pagination cursor for navigating to the next page of results.
EventSchema
An event emitted by WorkOS.
ExternalAuthCompleteResponse
FeatureFlag
FeatureFlagOwner
Flag
FlagCreated
FlagCreatedContext
Additional context about the event.
FlagCreatedContextActor
The actor who performed the action.
FlagCreatedData
The event payload.
FlagCreatedDataOwner
FlagDeleted
FlagDeletedContext
Additional context about the event.
FlagDeletedContextActor
The actor who performed the action.
FlagDeletedData
The event payload.
FlagDeletedDataOwner
FlagOwner
FlagRuleUpdated
FlagRuleUpdatedContext
Additional context about the event.
FlagRuleUpdatedContextActor
The actor who performed the action.
FlagRuleUpdatedContextConfiguredTarget
The configured targets for the flag rule.
FlagRuleUpdatedContextConfiguredTargetOrganization
FlagRuleUpdatedContextConfiguredTargetUser
FlagRuleUpdatedContextPreviousAttribute
Attributes that changed from their previous values.
FlagRuleUpdatedContextPreviousAttributeContext
The previous context attributes of the flag rule.
FlagRuleUpdatedContextPreviousAttributeContextConfiguredTarget
The previous configured targets for the flag rule.
FlagRuleUpdatedContextPreviousAttributeContextConfiguredTargetOrganization
FlagRuleUpdatedContextPreviousAttributeContextConfiguredTargetUser
FlagRuleUpdatedContextPreviousAttributeData
The previous data attributes of the flag.
FlagRuleUpdatedData
The event payload.
FlagRuleUpdatedDataOwner
FlagUpdated
FlagUpdatedContext
Additional context about the event.
FlagUpdatedContextActor
The actor who performed the action.
FlagUpdatedContextPreviousAttribute
Attributes that changed from their previous values.
FlagUpdatedContextPreviousAttributeData
The previous data attributes of the flag.
FlagUpdatedData
The event payload.
FlagUpdatedDataOwner
GenerateLink
Group
GroupCreated
GroupDeleted
GroupMemberAdded
GroupMemberAddedData
The event payload.
GroupMemberRemoved
GroupMemberRemovedData
The event payload.
GroupUpdated
IntentOptions
Invitation
InvitationAccepted
InvitationAcceptedContext
Additional context about the event.
InvitationAcceptedContextActor
The actor who performed the action.
InvitationAcceptedContextGoogleAnalyticsSession
InvitationAcceptedData
The event payload.
InvitationCreated
InvitationCreatedContext
Additional context about the event.
InvitationCreatedContextActor
The actor who performed the action.
InvitationCreatedContextGoogleAnalyticsSession
InvitationCreatedData
The event payload.
InvitationResent
InvitationResentContext
Additional context about the event.
InvitationResentContextActor
The actor who performed the action.
InvitationResentContextGoogleAnalyticsSession
InvitationResentData
The event payload.
InvitationRevoked
InvitationRevokedContext
Additional context about the event.
InvitationRevokedContextActor
The actor who performed the action.
InvitationRevokedContextGoogleAnalyticsSession
InvitationRevokedData
The event payload.
JwksResponse
JwksResponseKeys
JWTTemplateResponse
ListData
ListModel
MagicAuth
MagicAuthCodeSessionAuthenticateRequest
MagicAuthCreated
MagicAuthCreatedContext
Additional context about the event.
MagicAuthCreatedContextActor
The actor who performed the action.
MagicAuthCreatedContextGoogleAnalyticsSession
MagicAuthCreatedData
The event payload.
MFATotpSessionAuthenticateRequest
NewConnectApplicationSecret
Organization
OrganizationCreated
OrganizationCreatedContext
Additional context about the event.
OrganizationCreatedContextActor
The actor who performed the action.
OrganizationCreatedContextGoogleAnalyticsSession
OrganizationCreatedData
The event payload.
OrganizationCreatedDataDomain
OrganizationDeleted
OrganizationDeletedContext
Additional context about the event.
OrganizationDeletedContextActor
The actor who performed the action.
OrganizationDeletedContextGoogleAnalyticsSession
OrganizationDeletedData
The event payload.
OrganizationDeletedDataDomain
OrganizationDomain
OrganizationDomainCreated
OrganizationDomainCreatedContext
Additional context about the event.
OrganizationDomainCreatedContextActor
The actor who performed the action.
OrganizationDomainCreatedContextGoogleAnalyticsSession
OrganizationDomainCreatedData
The event payload.
OrganizationDomainData
OrganizationDomainDeleted
OrganizationDomainDeletedContext
Additional context about the event.
OrganizationDomainDeletedContextActor
The actor who performed the action.
OrganizationDomainDeletedContextGoogleAnalyticsSession
OrganizationDomainDeletedData
The event payload.
OrganizationDomainStandAlone
OrganizationDomainUpdated
OrganizationDomainUpdatedContext
Additional context about the event.
OrganizationDomainUpdatedContextActor
The actor who performed the action.
OrganizationDomainUpdatedContextGoogleAnalyticsSession
OrganizationDomainUpdatedData
The event payload.
OrganizationDomainVerificationFailed
OrganizationDomainVerificationFailedContext
Additional context about the event.
OrganizationDomainVerificationFailedContextActor
The actor who performed the action.
OrganizationDomainVerificationFailedContextGoogleAnalyticsSession
OrganizationDomainVerificationFailedData
The event payload.
OrganizationDomainVerificationFailedDataOrganizationDomain
The organization domain that failed verification.
OrganizationDomainVerified
OrganizationDomainVerifiedContext
Additional context about the event.
OrganizationDomainVerifiedContextActor
The actor who performed the action.
OrganizationDomainVerifiedContextGoogleAnalyticsSession
OrganizationDomainVerifiedData
The event payload.
OrganizationInput
OrganizationMembership
OrganizationMembershipCreated
OrganizationMembershipCreatedContext
Additional context about the event.
OrganizationMembershipCreatedContextActor
The actor who performed the action.
OrganizationMembershipCreatedContextGoogleAnalyticsSession
OrganizationMembershipCreatedData
The event payload.
OrganizationMembershipDeleted
OrganizationMembershipDeletedContext
Additional context about the event.
OrganizationMembershipDeletedContextActor
The actor who performed the action.
OrganizationMembershipDeletedContextGoogleAnalyticsSession
OrganizationMembershipDeletedData
The event payload.
OrganizationMembershipUpdated
OrganizationMembershipUpdatedContext
Additional context about the event.
OrganizationMembershipUpdatedContextActor
The actor who performed the action.
OrganizationMembershipUpdatedContextGoogleAnalyticsSession
OrganizationMembershipUpdatedData
The event payload.
OrganizationRoleCreated
OrganizationRoleCreatedContext
Additional context about the event.
OrganizationRoleCreatedContextActor
The actor who performed the action.
OrganizationRoleCreatedContextGoogleAnalyticsSession
OrganizationRoleCreatedData
The event payload.
OrganizationRoleDeleted
OrganizationRoleDeletedContext
Additional context about the event.
OrganizationRoleDeletedContextActor
The actor who performed the action.
OrganizationRoleDeletedContextGoogleAnalyticsSession
OrganizationRoleDeletedData
The event payload.
OrganizationRoleUpdated
OrganizationRoleUpdatedContext
Additional context about the event.
OrganizationRoleUpdatedContextActor
The actor who performed the action.
OrganizationRoleUpdatedContextGoogleAnalyticsSession
OrganizationRoleUpdatedData
The event payload.
OrganizationSelectionSessionAuthenticateRequest
OrganizationUpdated
OrganizationUpdatedContext
Additional context about the event.
OrganizationUpdatedContextActor
The actor who performed the action.
OrganizationUpdatedContextGoogleAnalyticsSession
OrganizationUpdatedData
The event payload.
OrganizationUpdatedDataDomain
PasswordReset
PasswordResetCreated
PasswordResetCreatedContext
Additional context about the event.
PasswordResetCreatedContextActor
The actor who performed the action.
PasswordResetCreatedContextGoogleAnalyticsSession
PasswordResetCreatedData
The event payload.
PasswordResetSucceeded
PasswordResetSucceededContext
Additional context about the event.
PasswordResetSucceededContextActor
The actor who performed the action.
PasswordResetSucceededContextGoogleAnalyticsSession
PasswordResetSucceededData
The event payload.
PasswordSessionAuthenticateRequest
Permission
PermissionCreated
PermissionCreatedContext
Additional context about the event.
PermissionCreatedContextActor
The actor who performed the action.
PermissionCreatedContextGoogleAnalyticsSession
PermissionCreatedData
The event payload.
PermissionDeleted
PermissionDeletedContext
Additional context about the event.
PermissionDeletedContextActor
The actor who performed the action.
PermissionDeletedContextGoogleAnalyticsSession
PermissionDeletedData
The event payload.
PermissionUpdated
PermissionUpdatedContext
Additional context about the event.
PermissionUpdatedContextActor
The actor who performed the action.
PermissionUpdatedContextGoogleAnalyticsSession
PermissionUpdatedData
The event payload.
PortalLinkResponse
Profile
RadarListEntryAlreadyPresentResponse
RadarStandaloneAssessRequest
RadarStandaloneDeleteRadarListEntryRequest
RadarStandaloneResponse
RadarStandaloneUpdateRadarAttemptRequest
RadarStandaloneUpdateRadarListRequest
RedirectUri
RedirectUriInput
RefreshTokenSessionAuthenticateRequest
RemoveRole
ResendUserInviteOptions
ResetPasswordResponse
RevokeSession
Role
RoleAssignment
RoleAssignmentResource
The resource to which the role is assigned.
RoleCreated
RoleCreatedContext
Additional context about the event.
RoleCreatedContextActor
The actor who performed the action.
RoleCreatedContextGoogleAnalyticsSession
RoleCreatedData
The event payload.
RoleDeleted
RoleDeletedContext
Additional context about the event.
RoleDeletedContextActor
The actor who performed the action.
RoleDeletedContextGoogleAnalyticsSession
RoleDeletedData
The event payload.
RoleList
RoleUpdated
RoleUpdatedContext
Additional context about the event.
RoleUpdatedContextActor
The actor who performed the action.
RoleUpdatedContextGoogleAnalyticsSession
RoleUpdatedData
The event payload.
SendEmailChange
SendVerificationEmailResponse
SessionCreated
SessionCreatedContext
Additional context about the event.
SessionCreatedContextActor
The actor who performed the action.
SessionCreatedContextGoogleAnalyticsSession
SessionCreatedData
The event payload.
SessionCreatedDataImpersonator
Information about the impersonator if this session was created via impersonation.
SessionRevoked
SessionRevokedContext
Additional context about the event.
SessionRevokedContextActor
The actor who performed the action.
SessionRevokedContextGoogleAnalyticsSession
SessionRevokedData
The event payload.
SessionRevokedDataImpersonator
Information about the impersonator if this session was created via impersonation.
SetRolePermissions
SlimRole
The primary role assigned to the user.
SSOAuthorizeUrlResponse
SSODeviceAuthorizationRequest
SSOIntentOptions
SSOLogoutAuthorizeRequest
SSOLogoutAuthorizeResponse
SSOTokenResponse
SSOTokenResponseOAuthToken
OAuth tokens issued by the identity provider, if available.
TokenQuery
UpdateAuditLogsRetention
UpdateAuthorizationPermission
UpdateAuthorizationResource
UpdateGroup
UpdateJWTTemplate
UpdateOAuthApplication
UpdateOrganization
UpdateOrganizationRole
UpdateRole
UpdateUser
UpdateUserOrganizationMembership
UpdateWebhookEndpoint
User
The user object.
UserAuthenticationFactorEnrollResponse
UserConsentOption
UserConsentOptionChoice
UserCreated
UserCreatedContext
Additional context about the event.
UserCreatedContextActor
The actor who performed the action.
UserCreatedContextGoogleAnalyticsSession
UserCreatedData
The event payload.
UserDeleted
UserDeletedContext
Additional context about the event.
UserDeletedContextActor
The actor who performed the action.
UserDeletedContextGoogleAnalyticsSession
UserDeletedData
The event payload.
UserIdentitiesGetItem
UserInvite
UserManagementLoginRequest
UserObject
UserOrganizationMembership
UserOrganizationMembershipBaseListData
UserSessionsImpersonator
Information about the impersonator if this session was created via impersonation.
UserSessionsListItem
UserUpdated
UserUpdatedContext
Additional context about the event.
UserUpdatedContextActor
The actor who performed the action.
UserUpdatedContextGoogleAnalyticsSession
UserUpdatedData
The event payload.
ValidateApiKey
VaultByokKeyVerificationCompleted
VaultByokKeyVerificationCompletedContext
Additional context about the event.
VaultByokKeyVerificationCompletedContextActor
The actor who performed the action.
VaultByokKeyVerificationCompletedContextGoogleAnalyticsSession
VaultByokKeyVerificationCompletedData
The event payload.
VaultDataCreated
VaultDataCreatedContext
Additional context about the event.
VaultDataCreatedContextActor
The actor who performed the action.
VaultDataCreatedContextGoogleAnalyticsSession
VaultDataCreatedData
The event payload.
VaultDataDeleted
VaultDataDeletedContext
Additional context about the event.
VaultDataDeletedContextActor
The actor who performed the action.
VaultDataDeletedContextGoogleAnalyticsSession
VaultDataDeletedData
The event payload.
VaultDataRead
VaultDataReadContext
Additional context about the event.
VaultDataReadContextActor
The actor who performed the action.
VaultDataReadContextGoogleAnalyticsSession
VaultDataReadData
The event payload.
VaultDataUpdated
VaultDataUpdatedContext
Additional context about the event.
VaultDataUpdatedContextActor
The actor who performed the action.
VaultDataUpdatedContextGoogleAnalyticsSession
VaultDataUpdatedData
The event payload.
VaultDekDecrypted
VaultDekDecryptedContext
Additional context about the event.
VaultDekDecryptedContextActor
The actor who performed the action.
VaultDekDecryptedContextGoogleAnalyticsSession
VaultDekDecryptedData
The event payload.
VaultDekRead
VaultDekReadContext
Additional context about the event.
VaultDekReadContextActor
The actor who performed the action.
VaultDekReadContextGoogleAnalyticsSession
VaultDekReadData
The event payload.
VaultKekCreated
VaultKekCreatedContext
Additional context about the event.
VaultKekCreatedContextActor
The actor who performed the action.
VaultKekCreatedContextGoogleAnalyticsSession
VaultKekCreatedData
The event payload.
VaultMetadataRead
VaultMetadataReadContext
Additional context about the event.
VaultMetadataReadContextActor
The actor who performed the action.
VaultMetadataReadContextGoogleAnalyticsSession
VaultMetadataReadData
The event payload.
VaultNamesListed
VaultNamesListedContext
Additional context about the event.
VaultNamesListedContextActor
The actor who performed the action.
VaultNamesListedContextGoogleAnalyticsSession
VaultNamesListedData
The event payload.
VerifyEmailAddress
VerifyEmailResponse
WaitlistUser
WaitlistUserApproved
WaitlistUserCreated
WaitlistUserDenied
Webhook
Representation of a WorkOS webhook event.
WebhookEndpointJson
WebhookResponse
Response structure for WorkOS webhook action verdicts.
WidgetSessionToken
WidgetSessionTokenResponse
AdminPortal
ApiKeys
AuditLogs
Authorization
Connect
DirectorySync
Events
FeatureFlags
Groups
MultiFactorAuth
OrganizationDomains
Organizations
ParentByExternalId
ParentById
ParentResourceByExternalId
ParentResourceById
PasswordHashed
PasswordPlaintext
Pipes
Radar
ResourceTargetByExternalId
ResourceTargetById
RoleMultiple
RoleSingle
SSO
UserManagement
UserManagementOrganizationMembershipGroups
Webhooks
Widgets
SessionManager
Vault
Version
WebhookVerification
WorkOS

Traits

JsonSerializableTrait

Enums

ApplicationsOrder
AuditLogConfigurationLogStreamState
AuditLogConfigurationLogStreamType
AuditLogConfigurationState
AuditLogExportJsonState
AuditLogsOrder
AuthenticateResponseAuthenticationMethod
AuthenticationFactorEnrolledType
AuthenticationFactorsCreateRequestType
AuthenticationFactorType
AuthenticationRadarRiskDetectedDataAction
AuthorizationAssignment
AuthorizationOrder
ConnectedAccountState
ConnectionDeletedDataConnectionType
ConnectionDeletedDataState
ConnectionSAMLCertificateRenewedDataCertificateCertificateType
ConnectionsConnectionType
ConnectionsOrder
ConnectionState
ConnectionStatus
ConnectionType
CreateUserInviteOptionsLocale
CreateUserPasswordHashType
CreateWebhookEndpointEvents
DataIntegrationAccessTokenResponseError
DataIntegrationsListResponseDataConnectedAccountState
DataIntegrationsListResponseDataOwnership
DirectoriesOrder
DirectoryGroupsOrder
DirectoryState
DirectoryType
DirectoryUsersOrder
DirectoryUserState
DirectoryUserWithGroupsState
DsyncDeletedDataState
DsyncDeletedDataType
DsyncUserCreatedDataState
EventContextActorSource
EventsOrder
FeatureFlagsOrder
FlagCreatedContextActorSource
FlagRuleUpdatedContextAccessType
GenerateLinkIntent
InvitationState
ListDataType
OrganizationDomainDataState
OrganizationDomainStandAloneState
OrganizationDomainStandAloneVerificationStrategy
OrganizationDomainState
OrganizationDomainVerificationFailedDataReason
OrganizationDomainVerificationStrategy
OrganizationMembershipStatus
OrganizationsApiKeysOrder
OrganizationsFeatureFlagsOrder
OrganizationsOrder
PermissionsOrder
ProfileConnectionType
RadarAction
RadarStandaloneAssessRequestAction
RadarStandaloneAssessRequestAuthMethod
RadarStandaloneResponseBlocklistType
RadarStandaloneResponseControl
RadarStandaloneResponseVerdict
RadarType
ResendUserInviteOptionsLocale
RoleType
SSOProvider
UpdateUserPasswordHashType
UpdateWebhookEndpointEvents
UpdateWebhookEndpointStatus
UserIdentitiesGetItemProvider
UserInviteState
UserManagementAuthenticationProvider
UserManagementAuthenticationScreenHint
UserManagementInvitationsOrder
UserManagementMultiFactorAuthenticationOrder
UserManagementOrganizationMembershipOrder
UserManagementOrganizationMembershipStatuses
UserManagementUsersAuthorizedApplicationsOrder
UserManagementUsersFeatureFlagsOrder
UserManagementUsersOrder
UserOrganizationMembershipBaseListDataStatus
UserOrganizationMembershipStatus
UserSessionsAuthMethod
UserSessionsStatus
VaultByokKeyVerificationCompletedDataKeyProvider
VaultDekReadDataActorSource
WaitlistUserState
WebhookEndpointJsonStatus
WebhooksOrder
WidgetSessionTokenScopes

        
On this page

Search results