API contract to implement
The API contract for Webhook Events (version v1.0.0).
Download the OpenAPI definition (YAML)
Other
Event Subscription / Unsubscription Verification
GET /
Before delivering events, the WSO2 Identity Platform verifies your endpoint for each subscribed event type by sending an HTTP GET request, following the WebSub specification. Your endpoint must respond with a 2xx status code and return the exact hub.challenge value in the response body.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
hub.mode | query | string | Yes | Indicates whether the Identity Platform is verifying a subscription or an unsubscription. Possible values; |
hub.topic | query | string | Yes | The topic being subscribed to or unsubscribed from, in the format |
hub.challenge | query | string | A unique, random string generated by the Identity Platform. Your endpoint must return this exact value in the response body. | |
hub.lease_seconds | query | integer | How long the subscription remains active, in seconds. | |
hub.reason | query | string | The reason for which the subscription has been denied. The hub may include this when a subscription is denied. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Verification acknowledged. The response body must contain the exact | string |
Receive an identity webhook event
POST /
Request body (required): application/json
Schema: WebhookEvent
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
iss | string | Yes | Identifies the WSO2 Identity Platform instance that issued the event. |
jti | string | Yes | A unique identifier for the event. |
iat | integer | Yes | Timestamp showing when WSO2 Identity Platform issues the event. Epoch milliseconds. |
rci | string | Yes | A unique identifier that correlates the event with the original request that triggered it. |
events | one of: EventData_LoginSuccess, EventData_LoginFailed, EventData_RegistrationSuccess, EventData_RegistrationFailed, EventData_AccessTokenIssued, EventData_AccessTokenRevoked, EventData_SessionEstablished, EventData_SessionPresented, EventData_SessionRevoked, EventData_CredentialUpdated, EventData_UserCreated, EventData_UserProfileUpdated, EventData_UserDisabled, EventData_UserEnabled, EventData_UserAccountLocked, EventData_UserAccountUnlocked, EventData_UserDeleted, EventData_ConsentAdded, EventData_ConsentRevoked, EventData_PurposeVersionAdded, EventData_RoleCreated, EventData_RoleMetaUpdated, EventData_RoleDeleted, EventData_RoleUsersUpdated, EventData_RoleGroupsUpdated, EventData_RoleIdpGroupsUpdated, EventData_RolePermissionsUpdated, EventData_OrganizationCreated, EventData_OrganizationUpdated, EventData_OrganizationEnabled, EventData_OrganizationDisabled, EventData_OrganizationDeleted | Yes | This object holds the actual event data. Its internal structure changes depending on the specific event types you've subscribed to. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Event acknowledged by the consumer. |
Schemas
WebhookEvent
Type: object
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
iss | string | Yes | Identifies the WSO2 Identity Platform instance that issued the event. |
jti | string | Yes | A unique identifier for the event. |
iat | integer | Yes | Timestamp showing when WSO2 Identity Platform issues the event. Epoch milliseconds. |
rci | string | Yes | A unique identifier that correlates the event with the original request that triggered it. |
events | one of: EventData_LoginSuccess, EventData_LoginFailed, EventData_RegistrationSuccess, EventData_RegistrationFailed, EventData_AccessTokenIssued, EventData_AccessTokenRevoked, EventData_SessionEstablished, EventData_SessionPresented, EventData_SessionRevoked, EventData_CredentialUpdated, EventData_UserCreated, EventData_UserProfileUpdated, EventData_UserDisabled, EventData_UserEnabled, EventData_UserAccountLocked, EventData_UserAccountUnlocked, EventData_UserDeleted, EventData_ConsentAdded, EventData_ConsentRevoked, EventData_PurposeVersionAdded, EventData_RoleCreated, EventData_RoleMetaUpdated, EventData_RoleDeleted, EventData_RoleUsersUpdated, EventData_RoleGroupsUpdated, EventData_RoleIdpGroupsUpdated, EventData_RolePermissionsUpdated, EventData_OrganizationCreated, EventData_OrganizationUpdated, EventData_OrganizationEnabled, EventData_OrganizationDisabled, EventData_OrganizationDeleted | Yes | This object holds the actual event data. Its internal structure changes depending on the specific event types you've subscribed to. |
Claim
Type: object
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
uri | string | Yes | Local claim uri name. E.g., http://wso2.org/claims/username |
value | one of: string, array of string | Yes | Claim value. Either a single value or an array of values for multi-valued claims. |
User
Type: object
Information of the user interacting in the related event.
8 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Unique identifier of the user. | |
claims | array of Claim | Claim values of the user. | |
organization | Organization | The organization the user belongs to (the user's resident organization). | |
organization.id | string | Unique identifier of the organization. | |
organization.name | string | Name of the organization. | |
organization.orgHandle | string | Unique, human-readable handle of the organization. | |
organization.depth | integer | The depth of the organization in the hierarchy. | |
ref | string | SCIM 2.0 resource URL for the user. |
ProfileUpdatedUser
Type: object
Contains information about the user whose profile updated.
10 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Unique identifier of the user. | |
organization | Organization | The organization the user belongs to (the user's resident organization). | |
organization.id | string | Unique identifier of the organization. | |
organization.name | string | Name of the organization. | |
organization.orgHandle | string | Unique, human-readable handle of the organization. | |
organization.depth | integer | The depth of the organization in the hierarchy. | |
addedClaims | array of Claim | Claims added to the user's profile during the update. | |
updatedClaims | array of Claim | Claims whose values changed during the update. | |
removedClaims | array of object | Claims removed from the user's profile during the update. | |
ref | string | SCIM 2.0 resource URL for the user. |
Tenant
Type: object
Root organization (tenant).
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | The unique numeric identifier of the tenant. | |
name | string | The domain name of the tenant. |
Organization
Type: object
The organization under which the event is processed.
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Unique identifier of the organization. | |
name | string | Name of the organization. | |
orgHandle | string | Unique, human-readable handle of the organization. | |
depth | integer | The depth of the organization in the hierarchy. |
UserStore
Type: object
User store managing the user's data.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | The unique identifier for the user store. | |
name | string | User store name used to identify the user store in configuration settings, user interfaces, and administrative tasks. |
Application
Type: object
Information about an application.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Unique identifier of the application. | |
name | string | Name of the application. |
Session
Type: object
Information about the session.
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Unique identifier for the session | |
loginTime | integer | Timestamp when the session originally started. | |
applications | array of Application | Array of applications associated with this session. |
AccessToken
Type: object
Details about the issued token.
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
tokenType | string | e.g. | |
iat | string | Token issued at timestamp. | |
grantType | string | OAuth2 grant type used for token issuance (e.g., |
Reason
Type: object
Context information for the failure.
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
description | string | Human-readable explanation of the failure. | |
context | object | Details about the failure point in the related identity flow. | |
context.failedStep | object | Details about the failure step in the authentication flow. |
Consent
Type: object
Contains details about the consent.
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Unique identifier for the consent record. | |
subjectId | string | Username of the user to whom the consent applies. | |
state | string | Current state of the consent. | |
serviceId | string | The service or application for which the consent is granted. | |
purpose | object | Details of the consent purpose. | |
purpose.id | string | Unique identifier of the consent purpose. | |
purpose.name | string | Human-readable name of the consent purpose. | |
purpose.version | string | The UUID of the specific purpose version the user consented to. | |
purpose.elements | array of object | Array of PII categories covered by the consent, each with a name. |
PurposeVersion
Type: object
Contains details about the updated consent purpose.
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Unique identifier for the consent purpose. | |
name | string | Human-readable name of the consent purpose. | |
version | object | Details of the newly added version. | |
version.version | string | The version number of the new version. | |
version.setAsLatest | boolean | Whether this version becomes the active version for new consents. | |
version.elements | array of object | Array of attributes (elements) included in this version, each with a name and mandatory flag. |
EventData_LoginSuccess
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/login/event-type/loginSuccess | LoginSuccessPayload | Yes |
EventData_LoginFailed
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/login/event-type/loginFailed | LoginFailedPayload | Yes |
EventData_RegistrationSuccess
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/registration/event-type/registrationSuccess | RegistrationSuccessPayload | Yes |
EventData_RegistrationFailed
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/registration/event-type/registrationFailed | RegistrationFailedPayload | Yes |
EventData_AccessTokenIssued
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/token/event-type/accessTokenIssued | AccessTokenIssuedPayload | Yes |
EventData_AccessTokenRevoked
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/token/event-type/accessTokenRevoked | AccessTokenRevokedPayload | Yes |
EventData_SessionEstablished
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/session/event-type/sessionEstablished | SessionEstablishedPayload | Yes |
EventData_SessionPresented
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/session/event-type/sessionPresented | SessionPresentedPayload | Yes |
EventData_SessionRevoked
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/session/event-type/sessionRevoked | SessionRevokedPayload | Yes |
EventData_CredentialUpdated
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/credential/event-type/credentialUpdated | CredentialUpdatedPayload | Yes |
EventData_UserCreated
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/user/event-type/userCreated | UserCreatedPayload | Yes |
EventData_UserProfileUpdated
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/user/event-type/userProfileUpdated | UserProfileUpdatedPayload | Yes |
EventData_UserDisabled
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/user/event-type/userDisabled | UserDisabledPayload | Yes |
EventData_UserEnabled
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/user/event-type/userEnabled | UserEnabledPayload | Yes |
EventData_UserAccountLocked
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/user/event-type/userAccountLocked | UserAccountLockedPayload | Yes |
EventData_UserAccountUnlocked
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/user/event-type/userAccountUnlocked | UserAccountUnlockedPayload | Yes |
EventData_UserDeleted
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/user/event-type/userDeleted | UserDeletedPayload | Yes |
EventData_ConsentAdded
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/consent/event-type/consentAdded | ConsentAddedPayload | Yes |
EventData_ConsentRevoked
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/consent/event-type/consentRevoked | ConsentRevokedPayload | Yes |
EventData_PurposeVersionAdded
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/consent-purpose/event-type/purposeVersionAdded | PurposeVersionAddedPayload | Yes |
RoleAudience
Type: object
The audience the role is scoped to.
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
type | string | The audience type. Either | |
value | string | Identifier of the audience. The organization id for an organization-scoped role, or the application id for an application-scoped role. | |
display | string | Display name of the audience. The organization name for an organization-scoped role, or the application name for an application-scoped role. |
RoleUser
Type: object
A user assigned to or unassigned from the role.
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Unique identifier of the user. | |
userStoreDomain | string | The user store domain the user belongs to. | |
claims | array of Claim | Claim values of the user. |
RoleGroup
Type: object
A local group assigned to or unassigned from the role.
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Unique identifier of the group. | |
groupName | string | Name of the group. | |
userStoreDomain | string | The user store domain the group belongs to. |
RoleIdpGroup
Type: object
A federated identity provider (IdP) group assigned to or unassigned from the role.
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
groupId | string | Unique identifier of the IdP group. | |
groupName | string | Name of the IdP group. | |
idpId | string | Unique identifier of the identity provider. | |
idpName | string | Name of the identity provider. |
EventData_RoleCreated
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/role/event-type/roleCreated | RoleCreatedPayload | Yes |
EventData_RoleMetaUpdated
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/role/event-type/roleMetaUpdated | RoleMetaUpdatedPayload | Yes |
EventData_RoleDeleted
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/role/event-type/roleDeleted | RoleDeletedPayload | Yes |
EventData_RoleUsersUpdated
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/role/event-type/roleUsersUpdated | RoleUsersUpdatedPayload | Yes |
EventData_RoleGroupsUpdated
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/role/event-type/roleGroupsUpdated | RoleGroupsUpdatedPayload | Yes |
EventData_RoleIdpGroupsUpdated
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/role/event-type/roleIdpGroupsUpdated | RoleIdpGroupsUpdatedPayload | Yes |
EventData_RolePermissionsUpdated
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/role/event-type/rolePermissionsUpdated | RolePermissionsUpdatedPayload | Yes |
LoginSuccessPayload
Type: object
11 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | string | Indicates the persona who initiates the identity flow. E.g., | |
action | string | Indicates the related identity flow. E.g., | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
application | Application | Information about the application that initiated the login. | |
application.id | string | Unique identifier of the application. | |
application.name | string | Name of the application. | |
authenticationMethods | array of string | An array of authentication methods used for the successful login (for example |
LoginFailedPayload
Type: object
11 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | string | Indicates the persona who initiates the identity flow. E.g., | |
action | string | Indicates the related identity flow. E.g., | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
application | Application | Information about the application that initiated the login. | |
application.id | string | Unique identifier of the application. | |
application.name | string | Name of the application. | |
reason | Reason | Context information for the failure. |
RegistrationSuccessPayload
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
action | Action | Indicates the related identity flow. |
RegistrationFailedPayload
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
action | Action | Indicates the related identity flow. | |
reason | Reason | Context information for the failure. |
AccessTokenIssuedPayload
Type: object
11 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
action | Action | Indicates the related identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
application | object | Information about the application that requested the token. | |
application.name | string | Name of the application. | |
application.consumerKey | string | Consumer key of the application. | |
accessToken | AccessToken | Details about the issued token. |
AccessTokenRevokedPayload
Type: object
8 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
action | Action | Indicates the related identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
applications | array of object | Applications associated with the revoked token. |
SessionEstablishedPayload
Type: object
11 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
action | Action | Indicates the related identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
application | Application | Information about the application through which the session gets established. | |
application.id | string | Unique identifier of the application. | |
application.name | string | Name of the application. | |
session | Session | Information about the session. |
SessionPresentedPayload
Type: object
11 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
action | Action | Indicates the related identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
application | Application | Information about the application that requested the session presentation. | |
application.id | string | Unique identifier of the application. | |
application.name | string | Name of the application. | |
session | Session | Information about the session. |
SessionRevokedPayload
Type: object
8 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
action | Action | Indicates the related identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
sessions | array of Session | Array of revoked sessions. |
CredentialUpdatedPayload
Type: object
8 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
credentialType | string | Indicates which credential the user updates (e.g., | |
action | Action | Indicates the related identity flow. |
UserCreatedPayload
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
action | Action | Indicates the related identity flow. |
UserProfileUpdatedPayload
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | ProfileUpdatedUser | Contains information about the user whose profile updated. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
action | Action | Indicates the related identity flow. |
UserDisabledPayload
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
action | Action | Indicates the related identity flow. |
UserEnabledPayload
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
action | Action | Indicates the related identity flow. |
UserAccountLockedPayload
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
action | Action | Indicates the related identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. |
UserAccountUnlockedPayload
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
action | Action | Indicates the related identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. |
UserDeletedPayload
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
action | Action | Indicates the related identity flow. |
ConsentAddedPayload
Type: object
8 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
action | Action | Indicates the related identity flow. | |
consent | Consent | Contains details about the consent. |
ConsentRevokedPayload
Type: object
8 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
user | User | Information of the user interacting in the related event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
userStore | UserStore | User store managing the user's data. | |
action | Action | Indicates the related identity flow. | |
consent | Consent | Contains details about the consent. |
PurposeVersionAddedPayload
Type: object
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
action | Action | Indicates the related identity flow. | |
purpose | PurposeVersion | Contains details about the updated consent purpose. |
RoleCreatedPayload
Type: object
13 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
action | Action | Indicates the related identity flow. | |
role | object | Contains details about the created role. | |
role.id | string | Unique identifier of the role. | |
role.name | string | Display name of the role. | |
role.audience | RoleAudience | The audience the role is scoped to. | |
role.ref | string | SCIM v2 reference URL for the role. | |
role.users | array of RoleUser | Users assigned to the role at creation. Present only when the role is created with users. | |
role.groups | array of RoleGroup | Local groups assigned to the role at creation. Present only when the role is created with groups. | |
role.permissions | array of string | Permission names granted to the role at creation. Present only when the role is created with permissions. |
RoleMetaUpdatedPayload
Type: object
10 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
action | Action | Indicates the related identity flow. | |
role | object | Contains details about the updated role. | |
role.id | string | Unique identifier of the role. | |
role.name | string | Display name of the role. | |
role.audience | RoleAudience | The audience the role is scoped to. | |
role.ref | string | SCIM v2 reference URL for the role. |
RoleDeletedPayload
Type: object
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
action | Action | Indicates the related identity flow. | |
role | object | Contains details about the deleted role. | |
role.id | string | Unique identifier of the role. | |
role.name | string | Display name of the role. | |
role.audience | RoleAudience | The audience the role is scoped to. |
RoleUsersUpdatedPayload
Type: object
12 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
action | Action | Indicates the related identity flow. | |
role | object | Contains details about the role whose user assignments got updated. | |
role.id | string | Unique identifier of the role. | |
role.name | string | Display name of the role. | |
role.audience | RoleAudience | The audience the role is scoped to. | |
role.ref | string | SCIM v2 reference URL for the role. | |
role.addedUsers | array of RoleUser | Users assigned to the role in this update. | |
role.removedUsers | array of RoleUser | Users unassigned from the role in this update. |
RoleGroupsUpdatedPayload
Type: object
12 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
action | Action | Indicates the related identity flow. | |
role | object | Contains details about the role whose group assignments got updated. | |
role.id | string | Unique identifier of the role. | |
role.name | string | Display name of the role. | |
role.audience | RoleAudience | The audience the role is scoped to. | |
role.ref | string | SCIM v2 reference URL for the role. | |
role.addedGroups | array of RoleGroup | Local groups assigned to the role in this update. | |
role.removedGroups | array of RoleGroup | Local groups unassigned from the role in this update. |
RoleIdpGroupsUpdatedPayload
Type: object
12 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
action | Action | Indicates the related identity flow. | |
role | object | Contains details about the role whose IdP group assignments got updated. | |
role.id | string | Unique identifier of the role. | |
role.name | string | Display name of the role. | |
role.audience | RoleAudience | The audience the role is scoped to. | |
role.ref | string | SCIM v2 reference URL for the role. | |
role.addedIdpGroups | array of RoleIdpGroup | Federated IdP groups assigned to the role in this update. | |
role.removedIdpGroups | array of RoleIdpGroup | Federated IdP groups unassigned from the role in this update. |
RolePermissionsUpdatedPayload
Type: object
12 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
tenant | Tenant | Root organization (tenant). | |
organization | Organization | The organization under which the event is processed. | |
action | Action | Indicates the related identity flow. | |
role | object | Contains details about the role whose permissions got updated. | |
role.id | string | Unique identifier of the role. | |
role.name | string | Display name of the role. | |
role.audience | RoleAudience | The audience the role is scoped to. | |
role.ref | string | SCIM v2 reference URL for the role. | |
role.addedPermissions | array of string | Permission names granted to the role in this update. | |
role.removedPermissions | array of string | Permission names revoked from the role in this update. |
OrganizationAttribute
Type: object
An attribute of the organization.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Name of the attribute. | |
value | string | Value of the attribute. |
OrganizationAttributeChanges
Type: object
Attribute changes of the organization, grouped by the change applied.
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
added | array of OrganizationAttribute | Attributes added to the organization. | |
removed | array of object | Attributes removed from the organization. Each entry contains the attribute name only. | |
updated | array of OrganizationAttribute | Attributes whose value changed. Each entry contains the attribute name and the new value. |
OrganizationUpdatedValues
Type: object
The values the update changed. Each property is present only when the update changed it. A value the update cleared is reported as an empty string.
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | New display name of the organization. | |
description | string | New description of the organization. | |
version | string | New version of the organization. | |
attributes | OrganizationAttributeChanges | Attribute changes of the organization, grouped by the change applied. |
EventData_OrganizationCreated
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/organization/event-type/organizationCreated | object | Yes | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationCreated.initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationCreated.initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationCreated.tenant | Tenant | Yes | Root organization (tenant). |
https://schemas.identity.wso2.org/events/organization/event-type/organizationCreated.organization | Organization | Yes | The organization under which the event is processed. |
https://schemas.identity.wso2.org/events/organization/event-type/organizationCreated.action | Action | Indicates the related identity flow. | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationCreated.targetOrganization | object | Yes | Contains details about the created organization. |
EventData_OrganizationUpdated
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/organization/event-type/organizationUpdated | object | Yes | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationUpdated.initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationUpdated.initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationUpdated.tenant | Tenant | Yes | Root organization (tenant). |
https://schemas.identity.wso2.org/events/organization/event-type/organizationUpdated.organization | Organization | Yes | The organization under which the event is processed. |
https://schemas.identity.wso2.org/events/organization/event-type/organizationUpdated.action | Action | Indicates the related identity flow. | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationUpdated.targetOrganization | object | Yes | Contains details about the updated organization. |
EventData_OrganizationEnabled
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/organization/event-type/organizationEnabled | object | Yes | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationEnabled.initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationEnabled.initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationEnabled.tenant | Tenant | Yes | Root organization (tenant). |
https://schemas.identity.wso2.org/events/organization/event-type/organizationEnabled.organization | Organization | Yes | The organization under which the event is processed. |
https://schemas.identity.wso2.org/events/organization/event-type/organizationEnabled.action | Action | Indicates the related identity flow. | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationEnabled.targetOrganization | object | Yes | Contains details about the enabled organization. |
EventData_OrganizationDisabled
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/organization/event-type/organizationDisabled | object | Yes | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationDisabled.initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationDisabled.initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationDisabled.tenant | Tenant | Yes | Root organization (tenant). |
https://schemas.identity.wso2.org/events/organization/event-type/organizationDisabled.organization | Organization | Yes | The organization under which the event is processed. |
https://schemas.identity.wso2.org/events/organization/event-type/organizationDisabled.action | Action | Indicates the related identity flow. | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationDisabled.targetOrganization | object | Yes | Contains details about the disabled organization. |
EventData_OrganizationDeleted
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
https://schemas.identity.wso2.org/events/organization/event-type/organizationDeleted | object | Yes | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationDeleted.initiatorType | InitiatorType | Indicates the persona who initiates the identity flow. | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationDeleted.initiatorIpAddress | InitiatorIpAddress | Indicates the IP address of the initiator that triggered the event. | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationDeleted.tenant | Tenant | Yes | Root organization (tenant). |
https://schemas.identity.wso2.org/events/organization/event-type/organizationDeleted.organization | Organization | Yes | The organization under which the event is processed. |
https://schemas.identity.wso2.org/events/organization/event-type/organizationDeleted.action | Action | Indicates the related identity flow. | |
https://schemas.identity.wso2.org/events/organization/event-type/organizationDeleted.targetOrganization | object | Yes | Contains details about the deleted organization. The organization management API reference URL is not included, since the organization is no longer retrievable. |
Was this page helpful?