GenAuth DocsDocuments
Concepts
User Guide
Development Integration
AgentAuth
Metadata
Development Integration
Multi-tenant (beta)
Console Documentation
Multi-tenant Console
Tenant Console
Saas Application Demo
Concepts
User Guide
Development Integration
AgentAuth
Metadata
Development Integration
Multi-tenant (beta)
Console Documentation
Multi-tenant Console
Tenant Console
Saas Application Demo
Old version
User Guide
  • Quick Start

  • Authentication

  • Access Control

  • Authorization

  • Adaptive MFA

  • User Account Management

  • User Directory Management

  • Applications

  • Become a Federation Authentication Identity Provider

  • Connect External Identity Providers (IdP)

  • WeChat Ecosystem Full Scenario Capabilities

  • Migrate Users to GenAuth

  • Security Settings

  • Branding

  • Automation

    • Pipeline

    • Webhooks
  • Audit Logs

  • Setting

  • FAQ

  1. User Guide
  2. /
  3. Automation
  4. /
  5. Webhooks

¶ Webhooks

Update time: 2025-07-23 07:34:21
Edit

For information about the GenAuth user pool version that supports the "Webhooks" feature benefit, please check the official website "Pricing" page (opens new window). If your version does not support this benefit and you want to try it, you can activate the trial period. For an introduction to the trial period and how to activate it, please check Trial Period.

Webhook allows you to monitor user registration, login and other behaviors, so as to do some custom processing on them.

The method to use Webhook is to configure the HTTP URL in the GenAuth platform. When your user logs in, registers, or changes the password, a POST request will be sent to the remote HTTP URL.

¶ Configure Webhooks

On the Automation->Webhooks page, you can manage your defined webhooks:

  1. Click the Add Webhook button to create a new webhook to subscribe to a specific event.

  1. Fill in the form and check the webhook event.

  1. After successful creation, you will enter the webhook list page.

¶ Parameter explanation

Parameter nameParameter explanation
NameThe name of the currently created webhook
Callback linkHTTP URL address for remotely receiving webhook events
Request keyAfter setting the key (the value is determined by the developer), GenAuth will attach this key to each request (HTTP Header: X-GenAuth-Token). You can verify this key to avoid some illegal operations
Request data formatSpecify the data format of the request body when initiating a Webhook request. The optional values ​​are application/json and application/x-www-form-urlencoded
Trigger event[Please see supported events](#Supported events)
ActivationWhether to enable this Hook

¶ Debug Webhook

The newly created Hook request events are all empty. At this time, you can click "Debug" to trigger a "Test Event":

Webhook Test

The request data is:

{
"description": "A test from GenAuth Webhook"
}

After the test is successful, you will see detailed request information and return information.

¶ Supported Events

¶ Event List

Event nameEvent descriptionEvent parameters
loginLogin event, which is triggered when the user logs in, regardless of whether the login is successful or not.User information of logged-in users
registerRegistration event, this event is triggered when a user registers, an administrator manually creates a user, or imports a userUser information of registered users
refresh-tokenoidc refresh token eventdata.user: user information, data.nextIdToken: new idToken, data.nextAccessToken: new accessToken, data.currRefreshToken: current refresh token, data.nextRefreshToken: new refreshToken, if refresh token rotation is not enabled, it will be consistent with currRefreshToken
user:createdUser creation event, this event is triggered when a user registers, an administrator manually creates a user, or imports a user. The logic is the same as that of register. Generally, you only need to listen to one of the eventsUser information of created users
mfa:verifiedMFA verification event, triggered when the user logs in and triggers MFA, and enters the MFA verification code for secondary login, whether successful or notdata.userId: verified user ID, data.isValid: whether verification is successful, data.type: verification type, possible values ​​are OTP, FACE, SMS, EMAIL
user:updatedUser information modification event, triggered when the user modifies their own information or the administrator manually modifies the user information, whether successful or notdata.user: updated user information, data.updates: updated field object
user:udv-changedUser extended information modification event, triggered when the user modifies their own extended information or the administrator manually modifies the user extended informationdata.user: user information, data.udv: updated custom field information, data.udf: custom field configuration information
user:deletedAdministrator deletes user eventdata.users: Deleted user list (for custom database mode, this field is a list of deleted user IDs)
user:password-changedPassword change event, this event is triggered when the user changes the password or the administrator manually changes the password, whether it is successful or notUser information of the user whose password is changed
user:password-update-remindUser password expires, this event is triggered when a reminder email is sent to the userdata.userpool: User pool information, data.user: User information
user:email-verifiedUser email verified eventdata.userId: Verified user ID, data.email: Verified email
user:register-whitelist-addedAdd registration whitelist eventdata.phones: Added phone number list, data.emails: Added email list, data.usernames: Added username list
user:register-whitelist-deletedDelete registration whitelist eventdata.phones: Deleted phone number list, data.emails: Deleted email list, data.usernames: Deleted username list
permission:addAdd authorization event, the authorization object can be user, role, organizational structure, groupdata.policyCodes: Authorized policy code list, data.targetType: Authorized target type, such as user, role, etc., data.userPoolId: User pool ID, data.targetIdentifiers: Authorized target ID list, data.namespace: Policy belongs to permission group
permission:revokeCancel authorization event, the authorization object can be user, role, organizational structure, groupdata.policyCodes: Authorized policy code list, data.targetType: Authorized target type, such as user, role, etc., data.userPoolId: User pool ID, data.targetIdentifiers: authorized target ID list, data.namespace: permission group to which the policy belongs
kickUser forced offline eventdata.users: list of offline users, data.application: corresponding application information when forced offline from an application
privilege-namespace:createdAdd permission group event, this event is triggered when the administrator manually creates a permission group, or creates an application to automatically create a permission groupdata.namespace: created permission group
privilege-namespace:updatedModify permission group information eventdata.namespace: modified permission group, data.updates: updated field object
privilege-namespace:deletedDelete permission group eventdata.namespaces: deleted permission group list
resource:createdAdd resource eventdata.resource: added resource, data.namespace: permission group to which the resource belongs
resource:deleteDelete resource eventdata.codes: deleted resource code list, data.namespace: permission group to which the resource belongs
resource:updatedUpdate resource eventdata.resource: updated resource information, data.updates: updated field object
role:addCreate role eventdata.role: added role, data.namespace: permission group to which the role belongs
role:deleteDelete role eventDeleted role ID
role:updatedUpdate role eventdata.role: updated role information, data.updates: updated field object
role:assignedRole authorization to subject eventdata.userIds: authorized user ID list, data.groupIds: authorized group ID list, data.nodeIds: authorized organization node ID list
role:unassignedUnauthorize role to subject eventdata.userIds: authorized user ID list, data.groupIds: authorized group ID list, data.nodeIds: authorized organization node ID list
role:udv-changedModify role custom field value eventdata.role: role information, data.udv: updated custom field information, data.udf: custom field configuration information
user:archivedUser successfully archived eventdata.user: User information after archiving
user:unarchivedUser successfully unarchived eventdata.user: User information after unarchiving
user:blockedUser locked eventdata.user: User information after locking
user:unblockedUser unlocked eventdata.user: User information after unlocking
user:link-accountUser social account binding eventdata.primaryUser: Primary account user information (deprecated), data.secondaryUser: Social account user information (deprecated), data.user: User information, data.extIdp: Identity source information, data.identity: Bound social identity source information
application:mfa:enabledApplication enables MFA authenticationdata.type: Enabled MFA type, data.applicationId: Application ID
application:mfa:disabledApplication disables MFA authenticationdata.type: Disabled MFA type, data.applicationId: Application ID
group:createdCreate user groupdata.group: Created user group information
group:updatedUpdate user groupdata.group: Updated user group, data.updates: updated field object
group:deletedDelete user groupdata.id: deleted group ID
group:member-addedAdd user to user groupdata.group: group information, data.users: added user list
group:member-removedRemove user from user groupdata.group: group information, data.users: removed user list
organization:createdCreate top-level department eventdata.organization: created department information, data.rootNode: top-level department node information
organization:deletedDelete top-level departmentdata.organization: deleted department information ID
organization:node-addedCreate sub-department eventdata.node: created department information, data.organization: root department, data.parentNode: parent node
organization:node-updatedModify department information eventdata.node: updated department information, data.updates: updated field object
organization:node-movedMove sub-department, this event is triggered when the administrator manually moves a sub-departmentdata.node: moved department information, data.organization: root department to which the department belongs, data.parentNode: parent department after the move
organization:node-deletedDelete sub-department eventdata.nodes: deleted department list
organization:member-addedAdd member to departmentdata.node: department added, data.user: user added
organization:member-removedRemove members from a departmentdata.node: The department to which the removed member belongs, data.user: The removed user
organization:udv-changedModify department custom field value eventdata.department: Department information, data.udv: Updated custom field information, data.udf: Custom field configuration information
organization:importedImport organization treedata.organization: Imported organization tree, data.source: Import source, possible values ​​are LDAP, ACTIVE_DIRECTORY(Windows AD), WECHATWORK(Enterprise WeChat), DINGTALK(DingTalk), LARK(Feishu), EXCEL(Excel), JSON(json data)
organization:tree-updatedUpdate organization treedata.organization: Updated organization, data.newNodes: Added nodes, data.modifyNodes: modified nodes, data.removeNodes: removed nodes, data.source: update source, possible values ​​are LDAP, ACTIVE_DIRECTORY(Windows AD), WECHATWORK(Enterprise WeChat), DINGTALK(DingTalk), LARK(Feishu), EXCEL(Excel), JSON(json data)
user-pool:cooperator-addedUser pool added cooperator eventdata.userId: added cooperator user ID, data.policies: added policy code list,
user-pool:cooperator-removedUser pool removed cooperator eventdata.userId: removed cooperator user ID
user-pool:secret-refreshedRefresh user pool secret keydata.userPool: refresh secret key user pool information, data.secret: User pool secret key after refresh, data.oldSecret: User pool secret key before refresh
user-pool:udf-addedAdd user or role custom field eventdata.udf: Added custom field information
user-pool:udf-deletedDelete user or role custom field eventdata.udf: Deleted custom field information
user-pool:updatedUpdate user pool informationdata.userPool: Updated user pool information, data.updates: Updated field information
user-pool:env-addedAdd environment variablesdata.envInfo: Added environment variable information
user-pool:env-updatedModify environment variablesdata.envInfo: Modified environment variable information
user-pool:env-deletedDelete environment variablesdata.envsInfo: List of deleted environment variables
user-pool:launchpad-app-installedInstall applications to the application paneldata.applicationIds: List of installed application IDs
user-pool:launchpad-app-uninstalledUninstall applications from the application paneldata.applicationIds: List of uninstalled application IDs
application:createdCreate applicationdata.application: Created application information
application:updatedUpdate applicationdata.application: Updated application information, data.updates: Updated field object value
application:deletedDelete applicationdata.application: Deleted application information
application:secret-refreshedRefresh application secretdata.application: Application information of refresh secret, data.secret: Refreshed application secret, data.oldSecret: Application key information before refresh

¶ Request type

Specifies the data format of the request body when initiating a Webhook request. The optional values ​​are application/json and application/x-www-form-urlencoded.

¶ Attached data

Each event will carry some specific request parameters.

¶ Request headers

We will carry some custom header information in the HTTP POST header, as shown in the following table:

HeaderDescription
user-agentThe value is 'authing-webhook@2.0', indicating that this request comes from GenAuth
x-authing-webhook-secretRequest secret key, the value is the secret key you set in the Webhook configuration, verifying this secret key can be used to prevent malicious requests from third parties
x-authing-userpool-idGenAuth user pool ID

¶ Request body

The request body will also carry some specific parameters

Parameter nameDescription
eventNameEvent name, possible values ​​are login, register, user:updated,user:password-changed, user:email-verified
dataDetailed information corresponding to the event

¶ Request Example

  • Login event (login)

    {
      "id": "6064925fb31803716a9df11f",
      "createdAt": "2021-03-31T15:16:47.690Z",
      "updatedAt": "2021-05-31T02:31:35.372Z",
      "userPoolId": "60648d4a2b6975b984829331",
      "isRoot": false,
      "status": "Activated",
      "oauth": null,
      "email": "test@test.com",
      "phone": null,
      "username": null,
      "unionid": null,
      "openid": null,
      "nickname": null,
      "company": null,
      "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
      "browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36",
      "device": "Mac OS",
      "password": "0a7051ab1ecb0693e171936f8abe366a",
      "salt": "65ddnbh89fi3",
      "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJiaXJ0aGRhdGUiOm51bGwsImZhbWlseV9uYW1lIjpudWxsLCJnZW5kZXIiOiJVIiwiZ2l2ZW5fbmFtZSI6bnVsbCwibG9jYWxlIjpudWxsLCJtaWRkbGVfbmFtZSI6bnVsbCwibmFtZSI6bnVsbCwibmlja25hbWUiOm51bGwsInBpY3R1cmUiOiJodHRwczovL2ZpbGVzLmF1dGhpbmcuY28vYXV0aGluZy1jb25zb2xlL2RlZmF1bHQtdXNlci1hdmF0YXIucG5nIiwicHJlZmVycmVkX3VzZXJuYW1lIjpudWxsLCJwcm9maWxlIjpudWxsLCJ1cGRhdGVkX2F0IjoiMjAyMS0wNS0yN1QxMTozOTowOC41NTVaIiwid2Vic2l0ZSI6bnVsbCwiem9uZWluZm8iOm51bGwsImFkZHJlc3MiOnsiY291bnRyeSI6bnVsbCwicG9zdGFsX2NvZGUiOm51bGwsInJlZ2lvbiI6bnVsbCwiZm9ybWF0dGVkIjpudWxsfSwicGhvbmVfbnVtYmVyIjpudWxsLCJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJlbWFpbCI6InRlc3RAdGVzdC5jb20iLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImV4dGVybmFsX2lkIjpudWxsLCJ1bmlvbmlkIjpudWxsLCJkYXRhIjp7InR5cGUiOiJ1c2VyIiwidXNlclBvb2xJZCI6IjYwNjQ4ZDRhMmI2OTc1Yjk4NDgyOTMzMSIsImFwcElkIjoiNjA2NDhkNGIxNjBkYzc4M2RkY2FhNGVmIiwiaWQiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJ1c2VySWQiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJfaWQiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJwaG9uZSI6bnVsbCwiZW1haWwiOiJ0ZXN0QHRlc3QuY29tIiwidXNlcm5hbWUiOm51bGwsInVuaW9uaWQiOm51bGwsIm9wZW5pZCI6bnVsbCwiY2xpZW50SWQiOiI2MDY0OGQ0YTJiNjk3NWI5ODQ4MjkzMzEifSwidXNlcnBvb2xfaWQiOiI2MDY0OGQ0YTJiNjk3NWI5ODQ4MjkzMzEiLCJhdWQiOiI2MDY0OGQ0YjE2MGRjNzgzZGRjYWE0ZWYiLCJleHAiOjE2MjM2Mzc4OTUsImlhdCI6MTYyMjQyODI5NSwiaXNzIjoiaHR0cHM6Ly9iZWlnbGZsa2VkaGQtZGVtby5hdXRoaW5nLmNuL29pZGMifQ.J0NvhkjXhOQLSiXXMOi49QYfQbH1isYMFXLQ7cEKZRI",
      "tokenExpiredAt": "2021-06-14T02:31:35.285Z",
      "loginsCount": 5,
      "lastIp": "140.179.88.119",
      "name": null,
      "givenName": null,
      "familyName": null,
      "middleName": null,
      "profile": null,
      "preferredUsername": null,
      "website": null,
      "gender": "U",
      "birthdate": null,
      "zoneinfo": null,
      "locale": null,
      "address": null,
      "formatted": null,
      "streetAddress": null,
      "locality": null,
      "region": null,
      "postalCode": null,
      "city": null,
      "province": null,
      "country": null,
      "registerSource": ["basic:email"],
      "secretInfo": null,
      "emailVerified": false,
      "phoneVerified": false,
      "lastLogin": "2021-05-31T02:31:35.371Z",
      "blocked": false,
      "isDeleted": false,
      "sendSmsCount": 0,
      "sendSmsLimitCount": 1000,
      "dataVersion": null,
      "encryptedPassword": null,
      "signedUp": "2021-03-31T15:16:47.690Z",
      "externalId": null,
      "mainDepartmentId": null,
      "mainDepartmentCode": null,
      "lastMfaTime": null,
      "passwordSecurityLevel": 1,
      "resetPasswordOnFirstLogin": false,
      "source": null
    }
    
  • Register event (register)

    {
      "eventName": "register",
      "data": {
        "userPoolId": "60648d4a2b6975b984829331",
        "email": "register@demo.cm",
        "browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36",
        "device": "Mac OS",
        "password": "14e71d8c2248876f3457baf48ae4ed7d",
        "salt": "74oc2678764",
        "registerSource": ["basic:email"],
        "encryptedPassword": "TqESUBH5Ti1zOqTGqpXH9Op/B6sZi6ETFY/CL0iwzVkICtgkE4TK9wznGzcCg+SReg3wPFRn/4J0NrLOHDKUzr+rl0jkW1Wfnoi3WzqgbsrRp5hrROdAOeFODbtPMWD6I0SzgGSUznrBZw7p2oKC2KEC1MuLZRf3rVI/mXpluF8=",
        "passwordSecurityLevel": 1,
        "createdAt": "2021-05-31T02:36:01.657Z",
        "updatedAt": "2021-05-31T02:36:01.657Z",
        "id": "60b44b916d92a4f5fc6ffdce",
        "oauth": null,
        "phone": null,
        "username": null,
        "unionid": null,
        "openid": null,
        "nickname": null,
        "company": null,
        "photo": "default-user-avatar.png",
        "token": null,
        "tokenExpiredAt": null,
        "lastIp": null,
        "name": null,
        "givenName": null,
        "familyName": null,
        "middleName": null,
        "profile": null,
        "preferredUsername": null,
        "website": null,
        "birthdate": null,
        "zoneinfo": null,
        "locale": null,
        "address": null,
        "formatted": null,
        "streetAddress": null,
        "locality": null,
        "region": null,
        "postalCode": null,
        "city": null,
        "province": null,
        "country": null,
        "secretInfo": null,
        "lastLogin": null,
        "dataVersion": null,
        "signedUp": null,
        "externalId": null,
        "mainDepartmentId": null,
        "mainDepartmentCode": null,
        "lastMfaTime": null,
        "source": null,
        "isRoot": false,
        "status": "Activated",
        "loginsCount": 0,
        "gender": "U",
        "emailVerified": false,
        "phoneVerified": false,
        "blocked": false,
        "isDeleted": false,
        "sendSmsCount": 0,
        "sendSmsLimitCount": 1000,
        "resetPasswordOnFirstLogin": false,
        "_id": "60b44b916d92a4f5fc6ffdce",
        "registerMethod": "basic:email",
        "registerInClient": "60648d4a2b6975b984829331",
        "lastIP": null
      }
    }
    
  • Create user event (user:created)

    {
      "eventName": "user:created",
      "data": {
        "userPoolId": "60648d4a2b6975b984829331",
        "email": "register@demo.cm",
        "browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36",
        "device": "Mac OS",
        "password": "14e71d8c2248876f3457baf48ae4ed7d",
        "salt": "74oc2678764",
        "registerSource": ["basic:email"],
        "encryptedPassword": "TqESUBH5Ti1zOqTGqpXH9Op/B6sZi6ETFY/CL0iwzVkICtgkE4TK9wznGzcCg+SReg3wPFRn/4J0NrLOHDKUzr+rl0jkW1Wfnoi3WzqgbsrRp5hrROdAOeFODbtPMWD6I0SzgGSUznrBZw7p2oKC2KEC1MuLZRf3rVI/mXpluF8=",
        "passwordSecurityLevel": 1,
        "createdAt": "2021-05-31T02:36:01.657Z",
        "updatedAt": "2021-05-31T02:36:01.657Z",
        "id": "60b44b916d92a4f5fc6ffdce",
        "oauth": null,
        "phone": null,
        "username": null,
        "unionid": null,
        "openid": null,
        "nickname": null,
        "company": null,
        "photo": "default-user-avatar.png",
        "token": null,
        "tokenExpiredAt": null,
        "lastIp": null,
        "name": null,
        "givenName": null,
        "familyName": null,
        "middleName": null,
        "profile": null,
        "preferredUsername": null,
        "website": null,
        "birthdate": null,
        "zoneinfo": null,
        "locale": null,
        "address": null,
        "formatted": null,
        "streetAddress": null,
        "locality": null,
        "region": null,
        "postalCode": null,
        "city": null,
        "province": null,
        "country": null,
        "secretInfo": null,
        "lastLogin": null,
        "dataVersion": null,
        "signedUp": null,
        "externalId": null,
        "mainDepartmentId": null,
        "mainDepartmentCode": null,
        "lastMfaTime": null,
        "source": null,
        "isRoot": false,
        "status": "Activated",
        "loginsCount": 0,
        "gender": "U",
        "emailVerified": false,
        "phoneVerified": false,
        "blocked": false,
        "isDeleted": false,
        "sendSmsCount": 0,
        "sendSmsLimitCount": 1000,
        "resetPasswordOnFirstLogin": false,
        "_id": "60b44b916d92a4f5fc6ffdce",
        "registerMethod": "basic:email",
        "registerInClient": "60648d4a2b6975b984829331",
        "lastIP": null
      }
    }
    
  • MFA verification event (mfa:verified)

{
  "eventName": "mfa:verified",
  "data": {
    "userId": "6064925fb31803716a9df11f",
    "isValid": false,
    "type": "EMAIL"
  }
}
  • User information modification event (user:updated)

    {
      "eventName": "user:updated",
      "data": {
        "user": {
          "id": "6064925fb31803716a9df11f",
          "createdAt": "2021-03-31T15:16:47.690Z",
          "updatedAt": "2021-05-31T03:37:10.247Z",
          "userPoolId": "60648d4a2b6975b984829331",
          "isRoot": false,
          "status": "Activated",
          "oauth": null,
          "email": "test@test.com",
          "phone": null,
          "username": "my username",
          "unionid": null,
          "openid": null,
          "nickname": null,
          "company": null,
          "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
          "browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36",
          "device": "Mac OS",
          "password": "0a7051ab1ecb0693e171936f8abe366a",
          "salt": "65ddnbh89fi3",
          "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJiaXJ0aGRhdGUiOm51bGwsImZhbWlseV9uYW1lIjpudWxsLCJnZW5kZXIiOiJVIiwiZ2l2ZW5fbmFtZSI6bnVsbCwibG9jYWxlIjpudWxsLCJtaWRkbGVfbmFtZSI6bnVsbCwibmFtZSI6bnVsbCwibmlja25hbWUiOm51bGwsInBpY3R1cmUiOiJodHRwczovL2ZpbGVzLmF1dGhpbmcuY28vYXV0aGluZy1jb25zb2xlL2RlZmF1bHQtdXNlci1hdmF0YXIucG5nIiwicHJlZmVycmVkX3VzZXJuYW1lIjpudWxsLCJwcm9maWxlIjpudWxsLCJ1cGRhdGVkX2F0IjoiMjAyMS0wNS0zMVQwMzozMzo1NC43NTVaIiwid2Vic2l0ZSI6bnVsbCwiem9uZWluZm8iOm51bGwsImFkZHJlc3MiOnsiY291bnRyeSI6bnVsbCwicG9zdGFsX2NvZGUiOm51bGwsInJlZ2lvbiI6bnVsbCwiZm9ybWF0dGVkIjpudWxsfSwicGhvbmVfbnVtYmVyIjpudWxsLCJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJlbWFpbCI6InRlc3RAdGVzdC5jb20iLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImV4dGVybmFsX2lkIjpudWxsLCJ1bmlvbmlkIjpudWxsLCJkYXRhIjp7InR5cGUiOiJ1c2VyIiwidXNlclBvb2xJZCI6IjYwNjQ4ZDRhMmI2OTc1Yjk4NDgyOTMzMSIsImFwcElkIjoiNjA2NDhkNGIxNjBkYzc4M2RkY2FhNGVmIiwiaWQiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJ1c2VySWQiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJfaWQiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJwaG9uZSI6bnVsbCwiZW1haWwiOiJ0ZXN0QHRlc3QuY29tIiwidXNlcm5hbWUiOm51bGwsInVuaW9uaWQiOm51bGwsIm9wZW5pZCI6bnVsbCwiY2xpZW50SWQiOiI2MDY0OGQ0YTJiNjk3NWI5ODQ4MjkzMzEifSwidXNlcnBvb2xfaWQiOiI2MDY0OGQ0YTJiNjk3NWI5ODQ4MjkzMzEiLCJhdWQiOiI2MDY0OGQ0YjE2MGRjNzgzZGRjYWE0ZWYiLCJleHAiOjE2MjM2NDE4MDcsImlhdCI6MTYyMjQzMjIwNywiaXNzIjoiaHR0cHM6Ly9iZWlnbGZsa2VkaGQtZGVtby5hdXRoaW5nLmNuL29pZGMifQ.yE8eFnW3Xl60riijKVhMXlaXOrrvWQh9koT9GNzyFsE",
          "tokenExpiredAt": "2021-06-14T03:36:47.029Z",
          "loginsCount": 7,
          "lastIp": "140.179.88.119",
          "name": null,
          "givenName": null,
          "familyName": null,
          "middleName": null,
          "profile": null,
          "preferredUsername": null,
          "website": null,
          "gender": "U",
          "birthdate": null,
          "zoneinfo": null,
          "locale": null,
          "address": null,
          "formatted": null,
          "streetAddress": null,
          "locality": null,
          "region": null,
          "postalCode": null,
          "city": null,
          "province": null,
          "country": null,
          "registerSource": ["basic:email"],
          "secretInfo": null,
          "emailVerified": false,
          "phoneVerified": false,
          "lastLogin": "2021-05-31T03:36:47.109Z",
          "blocked": false,
          "isDeleted": false,
          "sendSmsCount": 0,
          "sendSmsLimitCount": 1000,
          "dataVersion": null,
          "encryptedPassword": null,
          "signedUp": "2021-03-31T15:16:47.690Z",
          "externalId": null,
          "mainDepartmentId": null,
          "mainDepartmentCode": null,
          "lastMfaTime": null,
          "passwordSecurityLevel": 1,
          "resetPasswordOnFirstLogin": false,
          "source": null
        },
        "updates": {
          "username": "my username"
        }
      }
    }
    
  • Modify user extended information event (user:udv-changed)

    {
      "eventName": "user:udv-changed",
      "data": {
        "user": {
          "id": "6064925fb31803716a9df11f",
          "createdAt": "2021-03-31T15:16:47.690Z",
          "updatedAt": "2021-05-31T03:37:10.247Z",
          "userPoolId": "60648d4a2b6975b984829331",
          "isRoot": false,
          "status": "Activated",
          "oauth": null,
          "email": "test@test.com",
          "phone": null,
          "username": "my username",
          "unionid": null,
          "openid": null,
          "nickname": null,
          "company": null,
          "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
          "browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36",
          "device": "Mac OS",
          "password": "0a7051ab1ecb0693e171936f8abe366a",
          "salt": "65ddnbh89fi3",
          "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJiaXJ0aGRhdGUiOm51bGwsImZhbWlseV9uYW1lIjpudWxsLCJnZW5kZXIiOiJVIiwiZ2l2ZW5fbmFtZSI6bnVsbCwibG9jYWxlIjpudWxsLCJtaWRkbGVfbmFtZSI6bnVsbCwibmFtZSI6bnVsbCwibmlja25hbWUiOm51bGwsInBpY3R1cmUiOiJodHRwczovL2ZpbGVzLmF1dGhpbmcuY28vYXV0aGluZy1jb25zb2xlL2RlZmF1bHQtdXNlci1hdmF0YXIucG5nIiwicHJlZmVycmVkX3VzZXJuYW1lIjpudWxsLCJwcm9maWxlIjpudWxsLCJ1cGRhdGVkX2F0IjoiMjAyMS0wNS0zMVQwMzozMzo1NC43NTVaIiwid2Vic2l0ZSI6bnVsbCwiem9uZWluZm8iOm51bGwsImFkZHJlc3MiOnsiY291bnRyeSI6bnVsbCwicG9zdGFsX2NvZGUiOm51bGwsInJlZ2lvbiI6bnVsbCwiZm9ybWF0dGVkIjpudWxsfSwicGhvbmVfbnVtYmVyIjpudWxsLCJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJlbWFpbCI6InRlc3RAdGVzdC5jb20iLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImV4dGVybmFsX2lkIjpudWxsLCJ1bmlvbmlkIjpudWxsLCJkYXRhIjp7InR5cGUiOiJ1c2VyIiwidXNlclBvb2xJZCI6IjYwNjQ4ZDRhMmI2OTc1Yjk4NDgyOTMzMSIsImFwcElkIjoiNjA2NDhkNGIxNjBkYzc4M2RkY2FhNGVmIiwiaWQiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJ1c2VySWQiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJfaWQiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJwaG9uZSI6bnVsbCwiZW1haWwiOiJ0ZXN0QHRlc3QuY29tIiwidXNlcm5hbWUiOm51bGwsInVuaW9uaWQiOm51bGwsIm9wZW5pZCI6bnVsbCwiY2xpZW50SWQiOiI2MDY0OGQ0YTJiNjk3NWI5ODQ4MjkzMzEifSwidXNlcnBvb2xfaWQiOiI2MDY0OGQ0YTJiNjk3NWI5ODQ4MjkzMzEiLCJhdWQiOiI2MDY0OGQ0YjE2MGRjNzgzZGRjYWE0ZWYiLCJleHAiOjE2MjM2NDE4MDcsImlhdCI6MTYyMjQzMjIwNywiaXNzIjoiaHR0cHM6Ly9iZWlnbGZsa2VkaGQtZGVtby5hdXRoaW5nLmNuL29pZGMifQ.yE8eFnW3Xl60riijKVhMXlaXOrrvWQh9koT9GNzyFsE",
          "tokenExpiredAt": "2021-06-14T03:36:47.029Z",
          "loginsCount": 7,
          "lastIp": "140.179.88.119",
          "name": null,
          "givenName": null,
          "familyName": null,
          "middleName": null,
          "profile": null,
          "preferredUsername": null,
          "website": null,
          "gender": "U",
          "birthdate": null,
          "zoneinfo": null,
          "locale": null,
          "address": null,
          "formatted": null,
          "streetAddress": null,
          "locality": null,
          "region": null,
          "postalCode": null,
          "city": null,
          "province": null,
          "country": null,
          "registerSource": ["basic:email"],
          "secretInfo": null,
          "emailVerified": false,
          "phoneVerified": false,
          "lastLogin": "2021-05-31T03:36:47.109Z",
          "blocked": false,
          "isDeleted": false,
          "sendSmsCount": 0,
          "sendSmsLimitCount": 1000,
          "dataVersion": null,
          "encryptedPassword": null,
          "signedUp": "2021-03-31T15:16:47.690Z",
          "externalId": null,
          "mainDepartmentId": null,
          "mainDepartmentCode": null,
          "lastMfaTime": null,
          "passwordSecurityLevel": 1,
          "resetPasswordOnFirstLogin": false,
          "source": null
        },
        "udv": {
          "userPoolId": "60648d4a2b6975b984829331",
          "udfId": "606da5ab11aa15e013967a63",
          "targetId": "6064925fb31803716a9df11f",
          "createdAt": "2021-05-31T03:39:33.860Z",
          "updatedAt": "2021-05-31T03:39:33.860Z",
          "id": "60b45a7541629777e12017ab"
        },
        "udf": {
          "id": "606da5ab11aa15e013967a63",
          "createdAt": "2021-04-07T12:29:31.973Z",
          "updatedAt": "2021-04-07T12:29:31.973Z",
          "userPoolId": "60648d4a2b6975b984829331",
          "targetType": "USER",
          "key": "kkkkkkk",
          "label": "水电费水电费",
          "dataType": "STRING",
          "options": null
        }
      }
    }
    
  • 创建顶级部门事件(organization:created)

    {
      "eventName": "organization:created",
      "data": {
        "organization": {
          "userPoolId": "60648d4a2b6975b984829331",
          "createdAt": "2021-05-31T03:41:17.145Z",
          "updatedAt": "2021-05-31T03:41:17.210Z",
          "id": "60b45addc7b3f1abc56a0871",
          "rootNodeId": "60b45add37e9a56f744ca8f6",
          "logo": null,
          "thirdPartyOrgId": null
        },
        "rootNode": {
          "userPoolId": "60648d4a2b6975b984829331",
          "orgId": "60b45addc7b3f1abc56a0871",
          "name": "Testing Department",
          "createdAt": "2021-05-31T03:41:17.153Z",
          "updatedAt": "2021-05-31T03:41:17.153Z",
          "id": "60b45add37e9a56f744ca8f6",
          "nameI18n": null,
          "description": null,
          "descriptionI18n": null,
          "order": null,
          "code": null,
          "__id": null,
          "__parentid": null,
          "__groupid": null,
          "source": null,
          "dataVersion": null,
          "sourceData": null
        }
      }
    }
    
  • Delete top-level department event (organization:deleted)

{
  "eventName": "organization:deleted",
  "data": {
    "organization": {
      "id": "60b45addc7b3f1abc56a0871",
      "createdAt": "2021-05-31T03:41:17.145Z",
      "updatedAt": "2021-05-31T03:41:17.210Z",
      "userPoolId": "60648d4a2b6975b984829331",
      "rootNodeId": "60b45add37e9a56f744ca8f6",
      "logo": null,
      "thirdPartyOrgId": null
    }
  }
}
  • Create a sub-department event (organization:node-added)
{
  "eventName": "organization:node-added",
  "data": {
    "organization": {
      "id": "60b45beb4cdddf8e448bd2e2",
      "createdAt": "2021-05-31T03:45:47.193Z",
      "updatedAt": "2021-05-31T03:45:47.277Z",
      "userPoolId": "60648d4a2b6975b984829331",
      "rootNodeId": "60b45bebd8521f7dabb7e9d0",
      "logo": null,
      "thirdPartyOrgId": null
    },
    "node": {
      "id": "60b45c91ddcc92c4ef4193a7",
      "userPoolId": "60648d4a2b6975b984829331",
      "orgId": "60b45beb4cdddf8e448bd2e2",
      "name": "Sub-level department testing",
      "nameI18n": null,
      "descriptionI18n": null,
      "source": [],
      "createdAt": "2021-05-31T03:48:33.649Z",
      "updatedAt": "2021-05-31T03:48:33.649Z",
      "description": null,
      "order": null,
      "code": null,
      "__id": null,
      "__parentid": null,
      "__groupid": null,
      "dataVersion": null,
      "sourceData": null
    },
    "parentNode": {
      "id": "60b45bebd8521f7dabb7e9d0",
      "createdAt": "2021-05-31T03:45:47.269Z",
      "updatedAt": "2021-05-31T03:45:56.384Z",
      "userPoolId": "60648d4a2b6975b984829331",
      "orgId": "60b45beb4cdddf8e448bd2e2",
      "name": "Test Department Update",
      "nameI18n": null,
      "description": "",
      "descriptionI18n": null,
      "order": null,
      "code": null,
      "__id": null,
      "__parentid": null,
      "__groupid": null,
      "source": null,
      "dataVersion": null,
      "sourceData": null
    }
  }
}
  • Modify department information event (organization:node-updated)
{
  "eventName": "organization:node-updated",
  "data": {
    "node": {
      "id": "60b45c91ddcc92c4ef4193a7",
      "createdAt": "2021-05-31T03:48:33.649Z",
      "updatedAt": "2021-05-31T03:52:07.891Z",
      "userPoolId": "60648d4a2b6975b984829331",
      "orgId": "60b45beb4cdddf8e448bd2e2",
      "name": "Subordinate department testing update",
      "nameI18n": null,
      "description": "",
      "descriptionI18n": null,
      "order": null,
      "code": null,
      "__id": null,
      "__parentid": null,
      "__groupid": null,
      "source": [],
      "dataVersion": null,
      "sourceData": null
    },
    "updates": {
      "name": "Subordinate department testing update",
      "description": ""
    }
  }
}
  • Move sub-department event (organization:node-moved)
{
  "eventName": "organization:node-moved",
  "data": {
    "organization": {
      "id": "60b45beb4cdddf8e448bd2e2",
      "createdAt": "2021-05-31T03:45:47.193Z",
      "updatedAt": "2021-05-31T03:45:47.277Z",
      "userPoolId": "60648d4a2b6975b984829331",
      "rootNodeId": "60b45bebd8521f7dabb7e9d0",
      "logo": null,
      "thirdPartyOrgId": null
    },
    "node": {
      "id": "60b45c91ddcc92c4ef4193a7",
      "createdAt": "2021-05-31T03:48:33.649Z",
      "updatedAt": "2021-05-31T03:52:07.891Z",
      "userPoolId": "60648d4a2b6975b984829331",
      "orgId": "60b45beb4cdddf8e448bd2e2",
      "name": "Subordinate department testing update",
      "nameI18n": null,
      "description": "",
      "descriptionI18n": null,
      "order": null,
      "code": null,
      "__id": null,
      "__parentid": null,
      "__groupid": null,
      "source": [],
      "dataVersion": null,
      "sourceData": null
    },
    "parentNode": {
      "id": "60b476ff97b921062f4d9d94",
      "createdAt": "2021-05-31T05:41:19.978Z",
      "updatedAt": "2021-05-31T05:41:19.978Z",
      "userPoolId": "60648d4a2b6975b984829331",
      "orgId": "60b45beb4cdddf8e448bd2e2",
      "name": "New Parent Department",
      "nameI18n": null,
      "description": null,
      "descriptionI18n": null,
      "order": null,
      "code": null,
      "__id": null,
      "__parentid": null,
      "__groupid": null,
      "source": [],
      "dataVersion": null,
      "sourceData": null
    },
    "oldParent": {
      "id": "60b45bebd8521f7dabb7e9d0",
      "createdAt": "2021-05-31T03:45:47.269Z",
      "updatedAt": "2021-05-31T03:45:56.384Z",
      "userPoolId": "60648d4a2b6975b984829331",
      "orgId": "60b45beb4cdddf8e448bd2e2",
      "name": "Test Department Update",
      "nameI18n": null,
      "description": "",
      "descriptionI18n": null,
      "order": null,
      "code": null,
      "__id": null,
      "__parentid": null,
      "__groupid": null,
      "source": null,
      "dataVersion": null,
      "sourceData": null
    }
  }
}
  • Delete sub-department event (organization:node-deleted)
{
  "eventName": "organization:node-deleted",
  "data": {
    "nodes": [
      {
        "id": "60b45c91ddcc92c4ef4193a7",
        "createdAt": "2021-05-31T03:48:33.649Z",
        "updatedAt": "2021-05-31T03:52:07.891Z",
        "userPoolId": "60648d4a2b6975b984829331",
        "orgId": "60b45beb4cdddf8e448bd2e2",
        "name": "Subordinate department testing update",
        "nameI18n": null,
        "description": "",
        "descriptionI18n": null,
        "order": null,
        "code": null,
        "__id": null,
        "__parentid": null,
        "__groupid": null,
        "source": [],
        "dataVersion": null,
        "sourceData": null
      }
    ]
  }
}
  • Add members to a department (organization:member-added)
{
  "eventName": "organization:member-added",
  "data": {
    "user": {
      "id": "6064925fb31803716a9df11f",
      "createdAt": "2021-03-31T15:16:47.690Z",
      "updatedAt": "2021-05-31T03:37:10.247Z",
      "userPoolId": "60648d4a2b6975b984829331",
      "isRoot": false,
      "status": "Activated",
      "oauth": null,
      "email": "test@test.com",
      "phone": null,
      "username": "my username",
      "unionid": null,
      "openid": null,
      "nickname": null,
      "company": null,
      "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
      "browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36",
      "device": "Mac OS",
      "password": "0a7051ab1ecb0693e171936f8abe366a",
      "salt": "65ddnbh89fi3",
      "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJiaXJ0aGRhdGUiOm51bGwsImZhbWlseV9uYW1lIjpudWxsLCJnZW5kZXIiOiJVIiwiZ2l2ZW5fbmFtZSI6bnVsbCwibG9jYWxlIjpudWxsLCJtaWRkbGVfbmFtZSI6bnVsbCwibmFtZSI6bnVsbCwibmlja25hbWUiOm51bGwsInBpY3R1cmUiOiJodHRwczovL2ZpbGVzLmF1dGhpbmcuY28vYXV0aGluZy1jb25zb2xlL2RlZmF1bHQtdXNlci1hdmF0YXIucG5nIiwicHJlZmVycmVkX3VzZXJuYW1lIjpudWxsLCJwcm9maWxlIjpudWxsLCJ1cGRhdGVkX2F0IjoiMjAyMS0wNS0zMVQwMzozMzo1NC43NTVaIiwid2Vic2l0ZSI6bnVsbCwiem9uZWluZm8iOm51bGwsImFkZHJlc3MiOnsiY291bnRyeSI6bnVsbCwicG9zdGFsX2NvZGUiOm51bGwsInJlZ2lvbiI6bnVsbCwiZm9ybWF0dGVkIjpudWxsfSwicGhvbmVfbnVtYmVyIjpudWxsLCJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJlbWFpbCI6InRlc3RAdGVzdC5jb20iLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImV4dGVybmFsX2lkIjpudWxsLCJ1bmlvbmlkIjpudWxsLCJkYXRhIjp7InR5cGUiOiJ1c2VyIiwidXNlclBvb2xJZCI6IjYwNjQ4ZDRhMmI2OTc1Yjk4NDgyOTMzMSIsImFwcElkIjoiNjA2NDhkNGIxNjBkYzc4M2RkY2FhNGVmIiwiaWQiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJ1c2VySWQiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJfaWQiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJwaG9uZSI6bnVsbCwiZW1haWwiOiJ0ZXN0QHRlc3QuY29tIiwidXNlcm5hbWUiOm51bGwsInVuaW9uaWQiOm51bGwsIm9wZW5pZCI6bnVsbCwiY2xpZW50SWQiOiI2MDY0OGQ0YTJiNjk3NWI5ODQ4MjkzMzEifSwidXNlcnBvb2xfaWQiOiI2MDY0OGQ0YTJiNjk3NWI5ODQ4MjkzMzEiLCJhdWQiOiI2MDY0OGQ0YjE2MGRjNzgzZGRjYWE0ZWYiLCJleHAiOjE2MjM2NDE4MDcsImlhdCI6MTYyMjQzMjIwNywiaXNzIjoiaHR0cHM6Ly9iZWlnbGZsa2VkaGQtZGVtby5hdXRoaW5nLmNuL29pZGMifQ.yE8eFnW3Xl60riijKVhMXlaXOrrvWQh9koT9GNzyFsE",
      "tokenExpiredAt": "2021-06-14T03:36:47.029Z",
      "loginsCount": 7,
      "lastIp": "140.179.88.119",
      "name": null,
      "givenName": null,
      "familyName": null,
      "middleName": null,
      "profile": null,
      "preferredUsername": null,
      "website": null,
      "gender": "U",
      "birthdate": null,
      "zoneinfo": null,
      "locale": null,
      "address": null,
      "formatted": null,
      "streetAddress": null,
      "locality": null,
      "region": null,
      "postalCode": null,
      "city": null,
      "province": null,
      "country": null,
      "registerSource": ["basic:email"],
      "secretInfo": null,
      "emailVerified": false,
      "phoneVerified": false,
      "lastLogin": "2021-05-31T03:36:47.109Z",
      "blocked": false,
      "isDeleted": false,
      "sendSmsCount": 0,
      "sendSmsLimitCount": 1000,
      "dataVersion": null,
      "encryptedPassword": null,
      "signedUp": "2021-03-31T15:16:47.690Z",
      "externalId": null,
      "mainDepartmentId": null,
      "mainDepartmentCode": null,
      "lastMfaTime": null,
      "passwordSecurityLevel": 1,
      "resetPasswordOnFirstLogin": false,
      "source": null
    },
    "node": {
      "id": "60b476ff97b921062f4d9d94",
      "createdAt": "2021-05-31T05:41:19.978Z",
      "updatedAt": "2021-05-31T05:41:19.978Z",
      "userPoolId": "60648d4a2b6975b984829331",
      "orgId": "60b45beb4cdddf8e448bd2e2",
      "name": "New Parent Department",
      "nameI18n": null,
      "description": null,
      "descriptionI18n": null,
      "order": null,
      "code": null,
      "__id": null,
      "__parentid": null,
      "__groupid": null,
      "source": [],
      "dataVersion": null,
      "sourceData": null
    }
  }
}
  • Remove a member from a department (organization:member-removed)

    {
      "eventName": "organization:member-removed",
      "data": {
        "user": {
          "id": "6064925fb31803716a9df11f",
          "createdAt": "2021-03-31T15:16:47.690Z",
          "updatedAt": "2021-05-31T03:37:10.247Z",
          "userPoolId": "60648d4a2b6975b984829331",
          "isRoot": false,
          "status": "Activated",
          "oauth": null,
          "email": "test@test.com",
          "phone": null,
          "username": "my username",
          "unionid": null,
          "openid": null,
          "nickname": null,
          "company": null,
          "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
          "browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36",
          "device": "Mac OS",
          "password": "0a7051ab1ecb0693e171936f8abe366a",
          "salt": "65ddnbh89fi3",
          "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJiaXJ0aGRhdGUiOm51bGwsImZhbWlseV9uYW1lIjpudWxsLCJnZW5kZXIiOiJVIiwiZ2l2ZW5fbmFtZSI6bnVsbCwibG9jYWxlIjpudWxsLCJtaWRkbGVfbmFtZSI6bnVsbCwibmFtZSI6bnVsbCwibmlja25hbWUiOm51bGwsInBpY3R1cmUiOiJodHRwczovL2ZpbGVzLmF1dGhpbmcuY28vYXV0aGluZy1jb25zb2xlL2RlZmF1bHQtdXNlci1hdmF0YXIucG5nIiwicHJlZmVycmVkX3VzZXJuYW1lIjpudWxsLCJwcm9maWxlIjpudWxsLCJ1cGRhdGVkX2F0IjoiMjAyMS0wNS0zMVQwMzozMzo1NC43NTVaIiwid2Vic2l0ZSI6bnVsbCwiem9uZWluZm8iOm51bGwsImFkZHJlc3MiOnsiY291bnRyeSI6bnVsbCwicG9zdGFsX2NvZGUiOm51bGwsInJlZ2lvbiI6bnVsbCwiZm9ybWF0dGVkIjpudWxsfSwicGhvbmVfbnVtYmVyIjpudWxsLCJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJlbWFpbCI6InRlc3RAdGVzdC5jb20iLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImV4dGVybmFsX2lkIjpudWxsLCJ1bmlvbmlkIjpudWxsLCJkYXRhIjp7InR5cGUiOiJ1c2VyIiwidXNlclBvb2xJZCI6IjYwNjQ4ZDRhMmI2OTc1Yjk4NDgyOTMzMSIsImFwcElkIjoiNjA2NDhkNGIxNjBkYzc4M2RkY2FhNGVmIiwiaWQiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJ1c2VySWQiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJfaWQiOiI2MDY0OTI1ZmIzMTgwMzcxNmE5ZGYxMWYiLCJwaG9uZSI6bnVsbCwiZW1haWwiOiJ0ZXN0QHRlc3QuY29tIiwidXNlcm5hbWUiOm51bGwsInVuaW9uaWQiOm51bGwsIm9wZW5pZCI6bnVsbCwiY2xpZW50SWQiOiI2MDY0OGQ0YTJiNjk3NWI5ODQ4MjkzMzEifSwidXNlcnBvb2xfaWQiOiI2MDY0OGQ0YTJiNjk3NWI5ODQ4MjkzMzEiLCJhdWQiOiI2MDY0OGQ0YjE2MGRjNzgzZGRjYWE0ZWYiLCJleHAiOjE2MjM2NDE4MDcsImlhdCI6MTYyMjQzMjIwNywiaXNzIjoiaHR0cHM6Ly9iZWlnbGZsa2VkaGQtZGVtby5hdXRoaW5nLmNuL29pZGMifQ.yE8eFnW3Xl60riijKVhMXlaXOrrvWQh9koT9GNzyFsE",
          "tokenExpiredAt": "2021-06-14T03:36:47.029Z",
          "loginsCount": 7,
          "lastIp": "140.179.88.119",
          "name": null,
          "givenName": null,
          "familyName": null,
          "middleName": null,
          "profile": null,
          "preferredUsername": null,
          "website": null,
          "gender": "U",
          "birthdate": null,
          "zoneinfo": null,
          "locale": null,
          "address": null,
          "formatted": null,
          "streetAddress": null,
          "locality": null,
          "region": null,
          "postalCode": null,
          "city": null,
          "province": null,
          "country": null,
          "registerSource": ["basic:email"],
          "secretInfo": null,
          "emailVerified": false,
          "phoneVerified": false,
          "lastLogin": "2021-05-31T03:36:47.109Z",
          "blocked": false,
          "isDeleted": false,
          "sendSmsCount": 0,
          "sendSmsLimitCount": 1000,
          "dataVersion": null,
          "encryptedPassword": null,
          "signedUp": "2021-03-31T15:16:47.690Z",
          "externalId": null,
          "mainDepartmentId": null,
          "mainDepartmentCode": null,
          "lastMfaTime": null,
          "passwordSecurityLevel": 1,
          "resetPasswordOnFirstLogin": false,
          "source": null,
          "identities": []
        },
        "node": {
          "id": "60b476ff97b921062f4d9d94",
          "createdAt": "2021-05-31T05:41:19.978Z",
          "updatedAt": "2021-05-31T05:41:19.978Z",
          "userPoolId": "60648d4a2b6975b984829331",
          "orgId": "60b45beb4cdddf8e448bd2e2",
          "name": "New Parent Department",
          "nameI18n": null,
          "description": null,
          "descriptionI18n": null,
          "order": null,
          "code": null,
          "__id": null,
          "__parentid": null,
          "__groupid": null,
          "source": [],
          "dataVersion": null,
          "sourceData": null
        }
      }
    }
    
  • Import the organization tree (organization:imported)

    {
      "eventName": "organization:imported",
      "data": {
        "organization": [
          {
            "id": "60b483f02135a7cc33cae1f4",
            "createdAt": "2021-05-31T06:36:32.913Z",
            "updatedAt": "2021-05-31T06:36:32.913Z",
            "userPoolId": "60648d4a2b6975b984829331",
            "orgId": "60b483f0cb7b9de87b8169d4",
            "name": "Extraordinary Technology",
            "nameI18n": null,
            "description": "Import from Excel",
            "descriptionI18n": null,
            "order": null,
            "code": null,
            "source": null,
            "dataVersion": null,
            "sourceData": null,
            "members": [
              {
                "id": "60b483f04360b2baed92a0ef",
                "createdAt": "2021-05-31T06:36:32.510Z",
                "updatedAt": "2021-05-31T06:36:32.510Z",
                "userPoolId": "60648d4a2b6975b984829331",
                "isRoot": false,
                "status": "Activated",
                "oauth": null,
                "email": "5@qq.com",
                "phone": null,
                "username": null,
                "unionid": null,
                "openid": null,
                "nickname": null,
                "company": "0",
                "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                "browser": null,
                "device": null,
                "password": "4f2284350490c9a6387c996540938407",
                "salt": "on634fp9a3l",
                "token": null,
                "tokenExpiredAt": null,
                "loginsCount": 0,
                "lastIp": "U",
                "name": null,
                "givenName": null,
                "familyName": null,
                "middleName": null,
                "profile": null,
                "preferredUsername": null,
                "website": null,
                "gender": "U",
                "birthdate": null,
                "zoneinfo": null,
                "locale": null,
                "address": "9/4/2020",
                "formatted": null,
                "streetAddress": null,
                "locality": null,
                "region": null,
                "postalCode": null,
                "city": null,
                "province": null,
                "country": null,
                "registerSource": ["import:excel"],
                "secretInfo": null,
                "emailVerified": false,
                "phoneVerified": false,
                "lastLogin": null,
                "blocked": false,
                "isDeleted": false,
                "sendSmsCount": 0,
                "sendSmsLimitCount": 1000,
                "dataVersion": null,
                "encryptedPassword": "PE/G1XfvDrKOMMVDku8tDqHaHcH2fvylDH/ItpRwi9hlyA0O3LO0dO18WqXegd/580g2h7eVw3xDsSKVwCYdKY2c8JoIeH5MpyPUfQyMfSGiyhSe/3xNexzgYsQvLc6q7Qt2w22yXx/JpG2lX+8vGMZsilbZ4OaiGe0DYsIJCkY=",
                "signedUp": "2021-05-31T06:36:32.510Z",
                "externalId": null,
                "mainDepartmentId": null,
                "mainDepartmentCode": null,
                "lastMfaTime": null,
                "passwordSecurityLevel": 1,
                "resetPasswordOnFirstLogin": false,
                "source": null
              }
            ],
            "children": [
              {
                "id": "60b483f0da56d3335ce9ecc6",
                "createdAt": "2021-05-31T06:36:32.943Z",
                "updatedAt": "2021-05-31T06:36:32.943Z",
                "userPoolId": "60648d4a2b6975b984829331",
                "orgId": "60b483f0cb7b9de87b8169d4",
                "name": "Research and Development",
                "nameI18n": null,
                "description": "Import from Excel",
                "descriptionI18n": null,
                "order": null,
                "code": null,
                "source": null,
                "dataVersion": null,
                "sourceData": null,
                "members": [
                  {
                    "id": "60b483f001f2da871daffa3a",
                    "createdAt": "2021-05-31T06:36:32.513Z",
                    "updatedAt": "2021-05-31T06:36:32.513Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "isRoot": false,
                    "status": "Activated",
                    "oauth": null,
                    "email": "1@qq.com",
                    "phone": null,
                    "username": null,
                    "unionid": null,
                    "openid": null,
                    "nickname": null,
                    "company": "0",
                    "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                    "browser": null,
                    "device": null,
                    "password": "afa7d103ff50ab92faab4f076aff4c15",
                    "salt": "af28enc0b2k",
                    "token": null,
                    "tokenExpiredAt": null,
                    "loginsCount": 0,
                    "lastIp": "U",
                    "name": null,
                    "givenName": null,
                    "familyName": null,
                    "middleName": null,
                    "profile": null,
                    "preferredUsername": null,
                    "website": null,
                    "gender": "U",
                    "birthdate": null,
                    "zoneinfo": null,
                    "locale": null,
                    "address": "9/4/2020",
                    "formatted": null,
                    "streetAddress": null,
                    "locality": null,
                    "region": null,
                    "postalCode": null,
                    "city": null,
                    "province": null,
                    "country": null,
                    "registerSource": ["import:excel"],
                    "secretInfo": null,
                    "emailVerified": false,
                    "phoneVerified": false,
                    "lastLogin": null,
                    "blocked": false,
                    "isDeleted": false,
                    "sendSmsCount": 0,
                    "sendSmsLimitCount": 1000,
                    "dataVersion": null,
                    "encryptedPassword": "GbRqFvpDRiysyiBvDttM4ETY1XiLffPw8YIQHn+YbEaOO2246iUKHmJPV8OzaxB4VS8sJ00ZrhfaoIRU/WgOT6XOLbiQl0nMVwWXLOftpoRiH2jF2LBsdBp8R9fpbhR9d/s3dmS9Ym6XthLuR5WgWp0WzIxfTqXr07FKk/mAxMM=",
                    "signedUp": "2021-05-31T06:36:32.513Z",
                    "externalId": null,
                    "mainDepartmentId": null,
                    "mainDepartmentCode": null,
                    "lastMfaTime": null,
                    "passwordSecurityLevel": 1,
                    "resetPasswordOnFirstLogin": false,
                    "source": null
                  },
                  {
                    "id": "60b483f0e20886b84b040feb",
                    "createdAt": "2021-05-31T06:36:32.427Z",
                    "updatedAt": "2021-05-31T06:36:32.427Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "isRoot": false,
                    "status": "Activated",
                    "oauth": null,
                    "email": "2@qq.com",
                    "phone": null,
                    "username": null,
                    "unionid": null,
                    "openid": null,
                    "nickname": null,
                    "company": "0",
                    "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                    "browser": null,
                    "device": null,
                    "password": "4b8fe9dd7bb481e11d052a105467bb14",
                    "salt": "7287h3hd2ecf",
                    "token": null,
                    "tokenExpiredAt": null,
                    "loginsCount": 0,
                    "lastIp": "U",
                    "name": null,
                    "givenName": null,
                    "familyName": null,
                    "middleName": null,
                    "profile": null,
                    "preferredUsername": null,
                    "website": null,
                    "gender": "U",
                    "birthdate": null,
                    "zoneinfo": null,
                    "locale": null,
                    "address": "9/4/2020",
                    "formatted": null,
                    "streetAddress": null,
                    "locality": null,
                    "region": null,
                    "postalCode": null,
                    "city": null,
                    "province": null,
                    "country": null,
                    "registerSource": ["import:excel"],
                    "secretInfo": null,
                    "emailVerified": false,
                    "phoneVerified": false,
                    "lastLogin": null,
                    "blocked": false,
                    "isDeleted": false,
                    "sendSmsCount": 0,
                    "sendSmsLimitCount": 1000,
                    "dataVersion": null,
                    "encryptedPassword": "mL2Qt+8jNJEbauB/Px5OxGvEEk5LFNvvR30fRjQ+hOKqUtYa9d/jocBHwdI11AogfgU+P/40uRJrpb103ZEN3fc6sBJzjjGrWNHKGp9puWcPBYdrASgENXMsosYMksGgHshEQXb0ueTI4w0SLmS/vbjhk/T2V9Ao30hyudUXuz0=",
                    "signedUp": "2021-05-31T06:36:32.427Z",
                    "externalId": null,
                    "mainDepartmentId": null,
                    "mainDepartmentCode": null,
                    "lastMfaTime": null,
                    "passwordSecurityLevel": 1,
                    "resetPasswordOnFirstLogin": false,
                    "source": null
                  }
                ],
                "children": [
                  {
                    "id": "60b483f0c4bddf3ec2adc84b",
                    "createdAt": "2021-05-31T06:36:32.944Z",
                    "updatedAt": "2021-05-31T06:36:32.944Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "orgId": "60b483f0cb7b9de87b8169d4",
                    "name": "frontend",
                    "nameI18n": null,
                    "description": "Import from Excel",
                    "descriptionI18n": null,
                    "order": null,
                    "code": null,
                    "source": null,
                    "dataVersion": null,
                    "sourceData": null,
                    "members": [
                      {
                        "id": "60b483f01881643182c02516",
                        "createdAt": "2021-05-31T06:36:32.514Z",
                        "updatedAt": "2021-05-31T06:36:32.514Z",
                        "userPoolId": "60648d4a2b6975b984829331",
                        "isRoot": false,
                        "status": "Activated",
                        "oauth": null,
                        "email": "3@qq.com",
                        "phone": null,
                        "username": null,
                        "unionid": null,
                        "openid": null,
                        "nickname": null,
                        "company": "0",
                        "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                        "browser": null,
                        "device": null,
                        "password": "e432324a94c065ed5bf049e1f6830b48",
                        "salt": "fc22mnh3aop",
                        "token": null,
                        "tokenExpiredAt": null,
                        "loginsCount": 0,
                        "lastIp": "U",
                        "name": null,
                        "givenName": null,
                        "familyName": null,
                        "middleName": null,
                        "profile": null,
                        "preferredUsername": null,
                        "website": null,
                        "gender": "U",
                        "birthdate": null,
                        "zoneinfo": null,
                        "locale": null,
                        "address": "9/4/2020",
                        "formatted": null,
                        "streetAddress": null,
                        "locality": null,
                        "region": null,
                        "postalCode": null,
                        "city": null,
                        "province": null,
                        "country": null,
                        "registerSource": ["import:excel"],
                        "secretInfo": null,
                        "emailVerified": false,
                        "phoneVerified": false,
                        "lastLogin": null,
                        "blocked": false,
                        "isDeleted": false,
                        "sendSmsCount": 0,
                        "sendSmsLimitCount": 1000,
                        "dataVersion": null,
                        "encryptedPassword": "V32KCoeAcUwk10DzK3Y/M17XzveE6L+3x/OBy4xOWP8YcilaPF6Xt7Uhno3Jf8EobdyUe0ISXH/GRmmeN7DUO1UgKu53xhJFK2lgIA+LqcBuYED0uiDMjlZXi3MZc/gz07oiyZhAUHpKaaV1RyXjoGlVbgJlwlsZQBKKslmgrbs=",
                        "signedUp": "2021-05-31T06:36:32.514Z",
                        "externalId": null,
                        "mainDepartmentId": null,
                        "mainDepartmentCode": null,
                        "lastMfaTime": null,
                        "passwordSecurityLevel": 1,
                        "resetPasswordOnFirstLogin": false,
                        "source": null
                      }
                    ],
                    "children": [],
                    "depth": 0,
                    "root": false
                  },
                  {
                    "id": "60b483f01d1fbec10a12bf68",
                    "createdAt": "2021-05-31T06:36:32.944Z",
                    "updatedAt": "2021-05-31T06:36:32.944Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "orgId": "60b483f0cb7b9de87b8169d4",
                    "name": "Backend",
                    "nameI18n": null,
                    "description": "Import from Excel",
                    "descriptionI18n": null,
                    "order": null,
                    "code": null,
                    "source": null,
                    "dataVersion": null,
                    "sourceData": null,
                    "members": [],
                    "children": [
                      {
                        "id": "60b483f0146165b300194cb3",
                        "createdAt": "2021-05-31T06:36:32.945Z",
                        "updatedAt": "2021-05-31T06:36:32.945Z",
                        "userPoolId": "60648d4a2b6975b984829331",
                        "orgId": "60b483f0cb7b9de87b8169d4",
                        "name": "DevOps",
                        "nameI18n": null,
                        "description": "Import from Excel",
                        "descriptionI18n": null,
                        "order": null,
                        "code": null,
                        "source": null,
                        "dataVersion": null,
                        "sourceData": null,
                        "members": [
                          {
                            "id": "60b483f0d47d3dca01c2a445",
                            "createdAt": "2021-05-31T06:36:32.508Z",
                            "updatedAt": "2021-05-31T06:36:32.508Z",
                            "userPoolId": "60648d4a2b6975b984829331",
                            "isRoot": false,
                            "status": "Activated",
                            "oauth": null,
                            "email": "4@qq.com",
                            "phone": null,
                            "username": null,
                            "unionid": null,
                            "openid": null,
                            "nickname": null,
                            "company": "0",
                            "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                            "browser": null,
                            "device": null,
                            "password": "030b91c3ba2bc2b53038d9a0c28e7be9",
                            "salt": "2hb7ffp40g99",
                            "token": null,
                            "tokenExpiredAt": null,
                            "loginsCount": 0,
                            "lastIp": "U",
                            "name": null,
                            "givenName": null,
                            "familyName": null,
                            "middleName": null,
                            "profile": null,
                            "preferredUsername": null,
                            "website": null,
                            "gender": "U",
                            "birthdate": null,
                            "zoneinfo": null,
                            "locale": null,
                            "address": "9/4/2020",
                            "formatted": null,
                            "streetAddress": null,
                            "locality": null,
                            "region": null,
                            "postalCode": null,
                            "city": null,
                            "province": null,
                            "country": null,
                            "registerSource": ["import:excel"],
                            "secretInfo": null,
                            "emailVerified": false,
                            "phoneVerified": false,
                            "lastLogin": null,
                            "blocked": false,
                            "isDeleted": false,
                            "sendSmsCount": 0,
                            "sendSmsLimitCount": 1000,
                            "dataVersion": null,
                            "encryptedPassword": "K5hjbSjgeuP5rmns2Bmtdqxgn2qvUnLhRIg2vNf8nvA8tvwTRTvJUvzinFW2Ua+c98ES/dc4R1SbeKOP7In+7kpz+TbmF7XIRmqkJYpiDyr8UjZcW4grLEz+SoncIKe6EyyXgsJTx3PzdR85U+2RjrUKBHZgpdRzN2Cc9miqP1k=",
                            "signedUp": "2021-05-31T06:36:32.508Z",
                            "externalId": null,
                            "mainDepartmentId": null,
                            "mainDepartmentCode": null,
                            "lastMfaTime": null,
                            "passwordSecurityLevel": 1,
                            "resetPasswordOnFirstLogin": false,
                            "source": null
                          }
                        ],
                        "children": [],
                        "depth": 0,
                        "root": false
                      }
                    ],
                    "depth": 2,
                    "root": false
                  }
                ],
                "depth": 0,
                "root": false
              },
              {
                "id": "60b483f0a677a6433dc8c95d",
                "createdAt": "2021-05-31T06:36:32.945Z",
                "updatedAt": "2021-05-31T06:36:32.945Z",
                "userPoolId": "60648d4a2b6975b984829331",
                "orgId": "60b483f0cb7b9de87b8169d4",
                "name": "intern",
                "nameI18n": null,
                "description": "Import from Excel",
                "descriptionI18n": null,
                "order": null,
                "code": null,
                "source": null,
                "dataVersion": null,
                "sourceData": null,
                "members": [
                  {
                    "id": "60b483f0212fc026e679bda5",
                    "createdAt": "2021-05-31T06:36:32.515Z",
                    "updatedAt": "2021-05-31T06:36:32.515Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "isRoot": false,
                    "status": "Activated",
                    "oauth": null,
                    "email": "6@qq.com",
                    "phone": null,
                    "username": null,
                    "unionid": null,
                    "openid": null,
                    "nickname": null,
                    "company": "0",
                    "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                    "browser": null,
                    "device": null,
                    "password": "620ce18d7c560cb7e1a226097c0a998c",
                    "salt": "bmadf2ol32ln",
                    "token": null,
                    "tokenExpiredAt": null,
                    "loginsCount": 0,
                    "lastIp": "U",
                    "name": null,
                    "givenName": null,
                    "familyName": null,
                    "middleName": null,
                    "profile": null,
                    "preferredUsername": null,
                    "website": null,
                    "gender": "U",
                    "birthdate": null,
                    "zoneinfo": null,
                    "locale": null,
                    "address": "9/4/2020",
                    "formatted": null,
                    "streetAddress": null,
                    "locality": null,
                    "region": null,
                    "postalCode": null,
                    "city": null,
                    "province": null,
                    "country": null,
                    "registerSource": ["import:excel"],
                    "secretInfo": null,
                    "emailVerified": false,
                    "phoneVerified": false,
                    "lastLogin": null,
                    "blocked": false,
                    "isDeleted": false,
                    "sendSmsCount": 0,
                    "sendSmsLimitCount": 1000,
                    "dataVersion": null,
                    "encryptedPassword": "pl2uMiIjgy1uf3nc21JXJt7h9x4s0qA7YPX1auhILbLK2yto62oyWuanacLYM531njYPjbzWVzZDK+CiarnAiGmwTAPZ1il4d3upBAUuAWbdxNaqkpcESe464N+YwX+svpfWI/jyqX4momZF78GNJZYx/O3C5hEA1vgQ6wItlgc=",
                    "signedUp": "2021-05-31T06:36:32.515Z",
                    "externalId": null,
                    "mainDepartmentId": null,
                    "mainDepartmentCode": null,
                    "lastMfaTime": null,
                    "passwordSecurityLevel": 1,
                    "resetPasswordOnFirstLogin": false,
                    "source": null
                  }
                ],
                "children": [],
                "depth": 0,
                "root": false
              },
              {
                "id": "60b483f0f236516fb63fa5bc",
                "createdAt": "2021-05-31T06:36:32.945Z",
                "updatedAt": "2021-05-31T06:36:32.945Z",
                "userPoolId": "60648d4a2b6975b984829331",
                "orgId": "60b483f0cb7b9de87b8169d4",
                "name": "operations",
                "nameI18n": null,
                "description": "Import from Excel",
                "descriptionI18n": null,
                "order": null,
                "code": null,
                "source": null,
                "dataVersion": null,
                "sourceData": null,
                "members": [
                  {
                    "id": "60b483f0cbbd944370d613b6",
                    "createdAt": "2021-05-31T06:36:32.511Z",
                    "updatedAt": "2021-05-31T06:36:32.511Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "isRoot": false,
                    "status": "Activated",
                    "oauth": null,
                    "email": "7@qq.com",
                    "phone": null,
                    "username": null,
                    "unionid": null,
                    "openid": null,
                    "nickname": null,
                    "company": "0",
                    "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                    "browser": null,
                    "device": null,
                    "password": "b426ae5c54370a4f29eaaf7f641eb69d",
                    "salt": "kg65lka84no8",
                    "token": null,
                    "tokenExpiredAt": null,
                    "loginsCount": 0,
                    "lastIp": "U",
                    "name": null,
                    "givenName": null,
                    "familyName": null,
                    "middleName": null,
                    "profile": null,
                    "preferredUsername": null,
                    "website": null,
                    "gender": "U",
                    "birthdate": null,
                    "zoneinfo": null,
                    "locale": null,
                    "address": "9/4/2020",
                    "formatted": null,
                    "streetAddress": null,
                    "locality": null,
                    "region": null,
                    "postalCode": null,
                    "city": null,
                    "province": null,
                    "country": null,
                    "registerSource": ["import:excel"],
                    "secretInfo": null,
                    "emailVerified": false,
                    "phoneVerified": false,
                    "lastLogin": null,
                    "blocked": false,
                    "isDeleted": false,
                    "sendSmsCount": 0,
                    "sendSmsLimitCount": 1000,
                    "dataVersion": null,
                    "encryptedPassword": "UZYakWiMo4uyPA11TE/nb1UqsDq8i4I6m8X0qty1er+2jGD8XF9RqahVknRPfyfPSldFrpddx5o00pPRCOi7VudWFabYZZ+48/WiAQM1gaL4vz/1k7nO7Q5MMywQb73PwwFtfypgKSJPLaY7gA41gqqXI+K+MpuqFrnC0DJzpMc=",
                    "signedUp": "2021-05-31T06:36:32.511Z",
                    "externalId": null,
                    "mainDepartmentId": null,
                    "mainDepartmentCode": null,
                    "lastMfaTime": null,
                    "passwordSecurityLevel": 1,
                    "resetPasswordOnFirstLogin": false,
                    "source": null
                  }
                ],
                "children": [],
                "depth": 0,
                "root": false
              },
              {
                "id": "60b483f0cd54d076a8a52d0b",
                "createdAt": "2021-05-31T06:36:32.946Z",
                "updatedAt": "2021-05-31T06:36:32.946Z",
                "userPoolId": "60648d4a2b6975b984829331",
                "orgId": "60b483f0cb7b9de87b8169d4",
                "name": "HR",
                "nameI18n": null,
                "description": "Import from Excel",
                "descriptionI18n": null,
                "order": null,
                "code": null,
                "source": null,
                "dataVersion": null,
                "sourceData": null,
                "members": [
                  {
                    "id": "60b483f0722072a9b064a070",
                    "createdAt": "2021-05-31T06:36:32.512Z",
                    "updatedAt": "2021-05-31T06:36:32.512Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "isRoot": false,
                    "status": "Activated",
                    "oauth": null,
                    "email": "8@qq.com",
                    "phone": null,
                    "username": null,
                    "unionid": null,
                    "openid": null,
                    "nickname": null,
                    "company": "0",
                    "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                    "browser": null,
                    "device": null,
                    "password": "9c1df5c5f6d71b08585d180a3507a444",
                    "salt": "ci8nhbbc3b9a",
                    "token": null,
                    "tokenExpiredAt": null,
                    "loginsCount": 0,
                    "lastIp": "U",
                    "name": null,
                    "givenName": null,
                    "familyName": null,
                    "middleName": null,
                    "profile": null,
                    "preferredUsername": null,
                    "website": null,
                    "gender": "U",
                    "birthdate": null,
                    "zoneinfo": null,
                    "locale": null,
                    "address": "9/4/2020",
                    "formatted": null,
                    "streetAddress": null,
                    "locality": null,
                    "region": null,
                    "postalCode": null,
                    "city": null,
                    "province": null,
                    "country": null,
                    "registerSource": ["import:excel"],
                    "secretInfo": null,
                    "emailVerified": false,
                    "phoneVerified": false,
                    "lastLogin": null,
                    "blocked": false,
                    "isDeleted": false,
                    "sendSmsCount": 0,
                    "sendSmsLimitCount": 1000,
                    "dataVersion": null,
                    "encryptedPassword": "mW0yWVdnsw+98Kx8/Z26YP2FoKw3isEgKT90DhbcWMFEogTDGXzXf4QnnY9Gps7DQV2mJwxh3T7s0TodHFwTAMt2fJocLsrUHUJFsKoMMwpuFraOwiqdUqgQC8AVyu0V2Fvy42ii+K9jc7Vyzj3gXCnMeXcWE2S069Zjq6F/KjE=",
                    "signedUp": "2021-05-31T06:36:32.512Z",
                    "externalId": null,
                    "mainDepartmentId": null,
                    "mainDepartmentCode": null,
                    "lastMfaTime": null,
                    "passwordSecurityLevel": 1,
                    "resetPasswordOnFirstLogin": false,
                    "source": null
                  }
                ],
                "children": [],
                "depth": 0,
                "root": false
              },
              {
                "id": "60b483f0637689c714a25d19",
                "createdAt": "2021-05-31T06:36:32.946Z",
                "updatedAt": "2021-05-31T06:36:32.946Z",
                "userPoolId": "60648d4a2b6975b984829331",
                "orgId": "60b483f0cb7b9de87b8169d4",
                "name": "Commercialization",
                "nameI18n": null,
                "description": "Import from Excel",
                "descriptionI18n": null,
                "order": null,
                "code": null,
                "source": null,
                "dataVersion": null,
                "sourceData": null,
                "members": [
                  {
                    "id": "60b483f0e2512abda535fe5c",
                    "createdAt": "2021-05-31T06:36:32.513Z",
                    "updatedAt": "2021-05-31T06:36:32.513Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "isRoot": false,
                    "status": "Activated",
                    "oauth": null,
                    "email": "9@qq.com",
                    "phone": null,
                    "username": null,
                    "unionid": null,
                    "openid": null,
                    "nickname": null,
                    "company": "0",
                    "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                    "browser": null,
                    "device": null,
                    "password": "329b48c5f2f61dbd78c19cc650d8ba9d",
                    "salt": "eh4fa5a5je5d",
                    "token": null,
                    "tokenExpiredAt": null,
                    "loginsCount": 0,
                    "lastIp": "U",
                    "name": null,
                    "givenName": null,
                    "familyName": null,
                    "middleName": null,
                    "profile": null,
                    "preferredUsername": null,
                    "website": null,
                    "gender": "U",
                    "birthdate": null,
                    "zoneinfo": null,
                    "locale": null,
                    "address": "9/4/2020",
                    "formatted": null,
                    "streetAddress": null,
                    "locality": null,
                    "region": null,
                    "postalCode": null,
                    "city": null,
                    "province": null,
                    "country": null,
                    "registerSource": ["import:excel"],
                    "secretInfo": null,
                    "emailVerified": false,
                    "phoneVerified": false,
                    "lastLogin": null,
                    "blocked": false,
                    "isDeleted": false,
                    "sendSmsCount": 0,
                    "sendSmsLimitCount": 1000,
                    "dataVersion": null,
                    "encryptedPassword": "VXU64S1y1mv3d0D0sKbfW3txUEPD34FivrcZS6ghXh9D5LxZU9A+1DRt0k/CPoE8ITr4OtTVl1GbI9fsvaKUCyxrSE2xp5611OV5mGHPePxRsgvF8veA0/fvGjpuh93I6jaaQ51w1fjvU9OHsuAiRfHmOcdrbbOgeUB58e/2vPE=",
                    "signedUp": "2021-05-31T06:36:32.513Z",
                    "externalId": null,
                    "mainDepartmentId": null,
                    "mainDepartmentCode": null,
                    "lastMfaTime": null,
                    "passwordSecurityLevel": 1,
                    "resetPasswordOnFirstLogin": false,
                    "source": null
                  }
                ],
                "children": [],
                "depth": 0,
                "root": false
              },
              {
                "id": "60b483f060d144b3adb22610",
                "createdAt": "2021-05-31T06:36:32.947Z",
                "updatedAt": "2021-05-31T06:36:32.947Z",
                "userPoolId": "60648d4a2b6975b984829331",
                "orgId": "60b483f0cb7b9de87b8169d4",
                "name": "security guard",
                "nameI18n": null,
                "description": "Import from Excel",
                "descriptionI18n": null,
                "order": null,
                "code": null,
                "source": null,
                "dataVersion": null,
                "sourceData": null,
                "members": [
                  {
                    "id": "60b483f0341d6ae444d71c2f",
                    "createdAt": "2021-05-31T06:36:32.611Z",
                    "updatedAt": "2021-05-31T06:36:32.611Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "isRoot": false,
                    "status": "Activated",
                    "oauth": null,
                    "email": "10@qq.com",
                    "phone": null,
                    "username": null,
                    "unionid": null,
                    "openid": null,
                    "nickname": null,
                    "company": "0",
                    "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                    "browser": null,
                    "device": null,
                    "password": "9bd27ac69737ff77f4a643e5cfad7d49",
                    "salt": "c9919hb27ok7",
                    "token": null,
                    "tokenExpiredAt": null,
                    "loginsCount": 0,
                    "lastIp": "U",
                    "name": null,
                    "givenName": null,
                    "familyName": null,
                    "middleName": null,
                    "profile": null,
                    "preferredUsername": null,
                    "website": null,
                    "gender": "U",
                    "birthdate": null,
                    "zoneinfo": null,
                    "locale": null,
                    "address": "9/4/2020",
                    "formatted": null,
                    "streetAddress": null,
                    "locality": null,
                    "region": null,
                    "postalCode": null,
                    "city": null,
                    "province": null,
                    "country": null,
                    "registerSource": ["import:excel"],
                    "secretInfo": null,
                    "emailVerified": false,
                    "phoneVerified": false,
                    "lastLogin": null,
                    "blocked": false,
                    "isDeleted": false,
                    "sendSmsCount": 0,
                    "sendSmsLimitCount": 1000,
                    "dataVersion": null,
                    "encryptedPassword": "AAP4vYP53f98SfPv5CS1kWazsYGR18tpK5SAGaguprW7Ug0zfiDF2OzGPZ7fFxWVx+w7MwxRIjzBAMFcLSSTfS0AK94ZfaKYNawVHdEc8hZUP3kvSsc9UO786tP3s2O2bEm9Ve2Y57A1bOwXI52eHt5CFffsb+/z5HQUOGyQN18=",
                    "signedUp": "2021-05-31T06:36:32.611Z",
                    "externalId": null,
                    "mainDepartmentId": null,
                    "mainDepartmentCode": null,
                    "lastMfaTime": null,
                    "passwordSecurityLevel": 1,
                    "resetPasswordOnFirstLogin": false,
                    "source": null
                  }
                ],
                "children": [],
                "depth": 0,
                "root": false
              }
            ],
            "depth": 0,
            "root": true
          }
        ]
      }
    }
    
  • Organization tree updated (organization:tree-updated)

    {
      "eventName": "organization:imported",
      "data": {
        "organization": [
          {
            "id": "60b483f02135a7cc33cae1f4",
            "createdAt": "2021-05-31T06:36:32.913Z",
            "updatedAt": "2021-05-31T06:36:32.913Z",
            "userPoolId": "60648d4a2b6975b984829331",
            "orgId": "60b483f0cb7b9de87b8169d4",
            "name": "Extraordinary Technology",
            "nameI18n": null,
            "description": "Import from Excel",
            "descriptionI18n": null,
            "order": null,
            "code": null,
            "source": null,
            "dataVersion": null,
            "sourceData": null,
            "members": [
              {
                "id": "60b483f04360b2baed92a0ef",
                "createdAt": "2021-05-31T06:36:32.510Z",
                "updatedAt": "2021-05-31T06:36:32.510Z",
                "userPoolId": "60648d4a2b6975b984829331",
                "isRoot": false,
                "status": "Activated",
                "oauth": null,
                "email": "5@qq.com",
                "phone": null,
                "username": null,
                "unionid": null,
                "openid": null,
                "nickname": null,
                "company": "0",
                "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                "browser": null,
                "device": null,
                "password": "4f2284350490c9a6387c996540938407",
                "salt": "on634fp9a3l",
                "token": null,
                "tokenExpiredAt": null,
                "loginsCount": 0,
                "lastIp": "U",
                "name": null,
                "givenName": null,
                "familyName": null,
                "middleName": null,
                "profile": null,
                "preferredUsername": null,
                "website": null,
                "gender": "U",
                "birthdate": null,
                "zoneinfo": null,
                "locale": null,
                "address": "9/4/2020",
                "formatted": null,
                "streetAddress": null,
                "locality": null,
                "region": null,
                "postalCode": null,
                "city": null,
                "province": null,
                "country": null,
                "registerSource": ["import:excel"],
                "secretInfo": null,
                "emailVerified": false,
                "phoneVerified": false,
                "lastLogin": null,
                "blocked": false,
                "isDeleted": false,
                "sendSmsCount": 0,
                "sendSmsLimitCount": 1000,
                "dataVersion": null,
                "encryptedPassword": "PE/G1XfvDrKOMMVDku8tDqHaHcH2fvylDH/ItpRwi9hlyA0O3LO0dO18WqXegd/580g2h7eVw3xDsSKVwCYdKY2c8JoIeH5MpyPUfQyMfSGiyhSe/3xNexzgYsQvLc6q7Qt2w22yXx/JpG2lX+8vGMZsilbZ4OaiGe0DYsIJCkY=",
                "signedUp": "2021-05-31T06:36:32.510Z",
                "externalId": null,
                "mainDepartmentId": null,
                "mainDepartmentCode": null,
                "lastMfaTime": null,
                "passwordSecurityLevel": 1,
                "resetPasswordOnFirstLogin": false,
                "source": null
              }
            ],
            "children": [
              {
                "id": "60b483f0da56d3335ce9ecc6",
                "createdAt": "2021-05-31T06:36:32.943Z",
                "updatedAt": "2021-05-31T06:36:32.943Z",
                "userPoolId": "60648d4a2b6975b984829331",
                "orgId": "60b483f0cb7b9de87b8169d4",
                "name": "Research and Development",
                "nameI18n": null,
                "description": "Import from Excel",
                "descriptionI18n": null,
                "order": null,
                "code": null,
                "source": null,
                "dataVersion": null,
                "sourceData": null,
                "members": [
                  {
                    "id": "60b483f001f2da871daffa3a",
                    "createdAt": "2021-05-31T06:36:32.513Z",
                    "updatedAt": "2021-05-31T06:36:32.513Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "isRoot": false,
                    "status": "Activated",
                    "oauth": null,
                    "email": "1@qq.com",
                    "phone": null,
                    "username": null,
                    "unionid": null,
                    "openid": null,
                    "nickname": null,
                    "company": "0",
                    "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                    "browser": null,
                    "device": null,
                    "password": "afa7d103ff50ab92faab4f076aff4c15",
                    "salt": "af28enc0b2k",
                    "token": null,
                    "tokenExpiredAt": null,
                    "loginsCount": 0,
                    "lastIp": "U",
                    "name": null,
                    "givenName": null,
                    "familyName": null,
                    "middleName": null,
                    "profile": null,
                    "preferredUsername": null,
                    "website": null,
                    "gender": "U",
                    "birthdate": null,
                    "zoneinfo": null,
                    "locale": null,
                    "address": "9/4/2020",
                    "formatted": null,
                    "streetAddress": null,
                    "locality": null,
                    "region": null,
                    "postalCode": null,
                    "city": null,
                    "province": null,
                    "country": null,
                    "registerSource": ["import:excel"],
                    "secretInfo": null,
                    "emailVerified": false,
                    "phoneVerified": false,
                    "lastLogin": null,
                    "blocked": false,
                    "isDeleted": false,
                    "sendSmsCount": 0,
                    "sendSmsLimitCount": 1000,
                    "dataVersion": null,
                    "encryptedPassword": "GbRqFvpDRiysyiBvDttM4ETY1XiLffPw8YIQHn+YbEaOO2246iUKHmJPV8OzaxB4VS8sJ00ZrhfaoIRU/WgOT6XOLbiQl0nMVwWXLOftpoRiH2jF2LBsdBp8R9fpbhR9d/s3dmS9Ym6XthLuR5WgWp0WzIxfTqXr07FKk/mAxMM=",
                    "signedUp": "2021-05-31T06:36:32.513Z",
                    "externalId": null,
                    "mainDepartmentId": null,
                    "mainDepartmentCode": null,
                    "lastMfaTime": null,
                    "passwordSecurityLevel": 1,
                    "resetPasswordOnFirstLogin": false,
                    "source": null
                  },
                  {
                    "id": "60b483f0e20886b84b040feb",
                    "createdAt": "2021-05-31T06:36:32.427Z",
                    "updatedAt": "2021-05-31T06:36:32.427Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "isRoot": false,
                    "status": "Activated",
                    "oauth": null,
                    "email": "2@qq.com",
                    "phone": null,
                    "username": null,
                    "unionid": null,
                    "openid": null,
                    "nickname": null,
                    "company": "0",
                    "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                    "browser": null,
                    "device": null,
                    "password": "4b8fe9dd7bb481e11d052a105467bb14",
                    "salt": "7287h3hd2ecf",
                    "token": null,
                    "tokenExpiredAt": null,
                    "loginsCount": 0,
                    "lastIp": "U",
                    "name": null,
                    "givenName": null,
                    "familyName": null,
                    "middleName": null,
                    "profile": null,
                    "preferredUsername": null,
                    "website": null,
                    "gender": "U",
                    "birthdate": null,
                    "zoneinfo": null,
                    "locale": null,
                    "address": "9/4/2020",
                    "formatted": null,
                    "streetAddress": null,
                    "locality": null,
                    "region": null,
                    "postalCode": null,
                    "city": null,
                    "province": null,
                    "country": null,
                    "registerSource": ["import:excel"],
                    "secretInfo": null,
                    "emailVerified": false,
                    "phoneVerified": false,
                    "lastLogin": null,
                    "blocked": false,
                    "isDeleted": false,
                    "sendSmsCount": 0,
                    "sendSmsLimitCount": 1000,
                    "dataVersion": null,
                    "encryptedPassword": "mL2Qt+8jNJEbauB/Px5OxGvEEk5LFNvvR30fRjQ+hOKqUtYa9d/jocBHwdI11AogfgU+P/40uRJrpb103ZEN3fc6sBJzjjGrWNHKGp9puWcPBYdrASgENXMsosYMksGgHshEQXb0ueTI4w0SLmS/vbjhk/T2V9Ao30hyudUXuz0=",
                    "signedUp": "2021-05-31T06:36:32.427Z",
                    "externalId": null,
                    "mainDepartmentId": null,
                    "mainDepartmentCode": null,
                    "lastMfaTime": null,
                    "passwordSecurityLevel": 1,
                    "resetPasswordOnFirstLogin": false,
                    "source": null
                  }
                ],
                "children": [
                  {
                    "id": "60b483f0c4bddf3ec2adc84b",
                    "createdAt": "2021-05-31T06:36:32.944Z",
                    "updatedAt": "2021-05-31T06:36:32.944Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "orgId": "60b483f0cb7b9de87b8169d4",
                    "name": "Frontend",
                    "nameI18n": null,
                    "description": "Import from Excel",
                    "descriptionI18n": null,
                    "order": null,
                    "code": null,
                    "source": null,
                    "dataVersion": null,
                    "sourceData": null,
                    "members": [
                      {
                        "id": "60b483f01881643182c02516",
                        "createdAt": "2021-05-31T06:36:32.514Z",
                        "updatedAt": "2021-05-31T06:36:32.514Z",
                        "userPoolId": "60648d4a2b6975b984829331",
                        "isRoot": false,
                        "status": "Activated",
                        "oauth": null,
                        "email": "3@qq.com",
                        "phone": null,
                        "username": null,
                        "unionid": null,
                        "openid": null,
                        "nickname": null,
                        "company": "0",
                        "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                        "browser": null,
                        "device": null,
                        "password": "e432324a94c065ed5bf049e1f6830b48",
                        "salt": "fc22mnh3aop",
                        "token": null,
                        "tokenExpiredAt": null,
                        "loginsCount": 0,
                        "lastIp": "U",
                        "name": null,
                        "givenName": null,
                        "familyName": null,
                        "middleName": null,
                        "profile": null,
                        "preferredUsername": null,
                        "website": null,
                        "gender": "U",
                        "birthdate": null,
                        "zoneinfo": null,
                        "locale": null,
                        "address": "9/4/2020",
                        "formatted": null,
                        "streetAddress": null,
                        "locality": null,
                        "region": null,
                        "postalCode": null,
                        "city": null,
                        "province": null,
                        "country": null,
                        "registerSource": ["import:excel"],
                        "secretInfo": null,
                        "emailVerified": false,
                        "phoneVerified": false,
                        "lastLogin": null,
                        "blocked": false,
                        "isDeleted": false,
                        "sendSmsCount": 0,
                        "sendSmsLimitCount": 1000,
                        "dataVersion": null,
                        "encryptedPassword": "V32KCoeAcUwk10DzK3Y/M17XzveE6L+3x/OBy4xOWP8YcilaPF6Xt7Uhno3Jf8EobdyUe0ISXH/GRmmeN7DUO1UgKu53xhJFK2lgIA+LqcBuYED0uiDMjlZXi3MZc/gz07oiyZhAUHpKaaV1RyXjoGlVbgJlwlsZQBKKslmgrbs=",
                        "signedUp": "2021-05-31T06:36:32.514Z",
                        "externalId": null,
                        "mainDepartmentId": null,
                        "mainDepartmentCode": null,
                        "lastMfaTime": null,
                        "passwordSecurityLevel": 1,
                        "resetPasswordOnFirstLogin": false,
                        "source": null
                      }
                    ],
                    "children": [],
                    "depth": 0,
                    "root": false
                  },
                  {
                    "id": "60b483f01d1fbec10a12bf68",
                    "createdAt": "2021-05-31T06:36:32.944Z",
                    "updatedAt": "2021-05-31T06:36:32.944Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "orgId": "60b483f0cb7b9de87b8169d4",
                    "name": "Backend",
                    "nameI18n": null,
                    "description": "Import from Excel",
                    "descriptionI18n": null,
                    "order": null,
                    "code": null,
                    "source": null,
                    "dataVersion": null,
                    "sourceData": null,
                    "members": [],
                    "children": [
                      {
                        "id": "60b483f0146165b300194cb3",
                        "createdAt": "2021-05-31T06:36:32.945Z",
                        "updatedAt": "2021-05-31T06:36:32.945Z",
                        "userPoolId": "60648d4a2b6975b984829331",
                        "orgId": "60b483f0cb7b9de87b8169d4",
                        "name": "DevOps",
                        "nameI18n": null,
                        "description": "Import from Excel",
                        "descriptionI18n": null,
                        "order": null,
                        "code": null,
                        "source": null,
                        "dataVersion": null,
                        "sourceData": null,
                        "members": [
                          {
                            "id": "60b483f0d47d3dca01c2a445",
                            "createdAt": "2021-05-31T06:36:32.508Z",
                            "updatedAt": "2021-05-31T06:36:32.508Z",
                            "userPoolId": "60648d4a2b6975b984829331",
                            "isRoot": false,
                            "status": "Activated",
                            "oauth": null,
                            "email": "4@qq.com",
                            "phone": null,
                            "username": null,
                            "unionid": null,
                            "openid": null,
                            "nickname": null,
                            "company": "0",
                            "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                            "browser": null,
                            "device": null,
                            "password": "030b91c3ba2bc2b53038d9a0c28e7be9",
                            "salt": "2hb7ffp40g99",
                            "token": null,
                            "tokenExpiredAt": null,
                            "loginsCount": 0,
                            "lastIp": "U",
                            "name": null,
                            "givenName": null,
                            "familyName": null,
                            "middleName": null,
                            "profile": null,
                            "preferredUsername": null,
                            "website": null,
                            "gender": "U",
                            "birthdate": null,
                            "zoneinfo": null,
                            "locale": null,
                            "address": "9/4/2020",
                            "formatted": null,
                            "streetAddress": null,
                            "locality": null,
                            "region": null,
                            "postalCode": null,
                            "city": null,
                            "province": null,
                            "country": null,
                            "registerSource": ["import:excel"],
                            "secretInfo": null,
                            "emailVerified": false,
                            "phoneVerified": false,
                            "lastLogin": null,
                            "blocked": false,
                            "isDeleted": false,
                            "sendSmsCount": 0,
                            "sendSmsLimitCount": 1000,
                            "dataVersion": null,
                            "encryptedPassword": "K5hjbSjgeuP5rmns2Bmtdqxgn2qvUnLhRIg2vNf8nvA8tvwTRTvJUvzinFW2Ua+c98ES/dc4R1SbeKOP7In+7kpz+TbmF7XIRmqkJYpiDyr8UjZcW4grLEz+SoncIKe6EyyXgsJTx3PzdR85U+2RjrUKBHZgpdRzN2Cc9miqP1k=",
                            "signedUp": "2021-05-31T06:36:32.508Z",
                            "externalId": null,
                            "mainDepartmentId": null,
                            "mainDepartmentCode": null,
                            "lastMfaTime": null,
                            "passwordSecurityLevel": 1,
                            "resetPasswordOnFirstLogin": false,
                            "source": null
                          }
                        ],
                        "children": [],
                        "depth": 0,
                        "root": false
                      }
                    ],
                    "depth": 2,
                    "root": false
                  }
                ],
                "depth": 0,
                "root": false
              },
              {
                "id": "60b483f0a677a6433dc8c95d",
                "createdAt": "2021-05-31T06:36:32.945Z",
                "updatedAt": "2021-05-31T06:36:32.945Z",
                "userPoolId": "60648d4a2b6975b984829331",
                "orgId": "60b483f0cb7b9de87b8169d4",
                "name": "intern",
                "nameI18n": null,
                "description": "Import from Excel",
                "descriptionI18n": null,
                "order": null,
                "code": null,
                "source": null,
                "dataVersion": null,
                "sourceData": null,
                "members": [
                  {
                    "id": "60b483f0212fc026e679bda5",
                    "createdAt": "2021-05-31T06:36:32.515Z",
                    "updatedAt": "2021-05-31T06:36:32.515Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "isRoot": false,
                    "status": "Activated",
                    "oauth": null,
                    "email": "6@qq.com",
                    "phone": null,
                    "username": null,
                    "unionid": null,
                    "openid": null,
                    "nickname": null,
                    "company": "0",
                    "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                    "browser": null,
                    "device": null,
                    "password": "620ce18d7c560cb7e1a226097c0a998c",
                    "salt": "bmadf2ol32ln",
                    "token": null,
                    "tokenExpiredAt": null,
                    "loginsCount": 0,
                    "lastIp": "U",
                    "name": null,
                    "givenName": null,
                    "familyName": null,
                    "middleName": null,
                    "profile": null,
                    "preferredUsername": null,
                    "website": null,
                    "gender": "U",
                    "birthdate": null,
                    "zoneinfo": null,
                    "locale": null,
                    "address": "9/4/2020",
                    "formatted": null,
                    "streetAddress": null,
                    "locality": null,
                    "region": null,
                    "postalCode": null,
                    "city": null,
                    "province": null,
                    "country": null,
                    "registerSource": ["import:excel"],
                    "secretInfo": null,
                    "emailVerified": false,
                    "phoneVerified": false,
                    "lastLogin": null,
                    "blocked": false,
                    "isDeleted": false,
                    "sendSmsCount": 0,
                    "sendSmsLimitCount": 1000,
                    "dataVersion": null,
                    "encryptedPassword": "pl2uMiIjgy1uf3nc21JXJt7h9x4s0qA7YPX1auhILbLK2yto62oyWuanacLYM531njYPjbzWVzZDK+CiarnAiGmwTAPZ1il4d3upBAUuAWbdxNaqkpcESe464N+YwX+svpfWI/jyqX4momZF78GNJZYx/O3C5hEA1vgQ6wItlgc=",
                    "signedUp": "2021-05-31T06:36:32.515Z",
                    "externalId": null,
                    "mainDepartmentId": null,
                    "mainDepartmentCode": null,
                    "lastMfaTime": null,
                    "passwordSecurityLevel": 1,
                    "resetPasswordOnFirstLogin": false,
                    "source": null
                  }
                ],
                "children": [],
                "depth": 0,
                "root": false
              },
              {
                "id": "60b483f0f236516fb63fa5bc",
                "createdAt": "2021-05-31T06:36:32.945Z",
                "updatedAt": "2021-05-31T06:36:32.945Z",
                "userPoolId": "60648d4a2b6975b984829331",
                "orgId": "60b483f0cb7b9de87b8169d4",
                "name": "operations",
                "nameI18n": null,
                "description": "Import from Excel",
                "descriptionI18n": null,
                "order": null,
                "code": null,
                "source": null,
                "dataVersion": null,
                "sourceData": null,
                "members": [
                  {
                    "id": "60b483f0cbbd944370d613b6",
                    "createdAt": "2021-05-31T06:36:32.511Z",
                    "updatedAt": "2021-05-31T06:36:32.511Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "isRoot": false,
                    "status": "Activated",
                    "oauth": null,
                    "email": "7@qq.com",
                    "phone": null,
                    "username": null,
                    "unionid": null,
                    "openid": null,
                    "nickname": null,
                    "company": "0",
                    "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                    "browser": null,
                    "device": null,
                    "password": "b426ae5c54370a4f29eaaf7f641eb69d",
                    "salt": "kg65lka84no8",
                    "token": null,
                    "tokenExpiredAt": null,
                    "loginsCount": 0,
                    "lastIp": "U",
                    "name": null,
                    "givenName": null,
                    "familyName": null,
                    "middleName": null,
                    "profile": null,
                    "preferredUsername": null,
                    "website": null,
                    "gender": "U",
                    "birthdate": null,
                    "zoneinfo": null,
                    "locale": null,
                    "address": "9/4/2020",
                    "formatted": null,
                    "streetAddress": null,
                    "locality": null,
                    "region": null,
                    "postalCode": null,
                    "city": null,
                    "province": null,
                    "country": null,
                    "registerSource": ["import:excel"],
                    "secretInfo": null,
                    "emailVerified": false,
                    "phoneVerified": false,
                    "lastLogin": null,
                    "blocked": false,
                    "isDeleted": false,
                    "sendSmsCount": 0,
                    "sendSmsLimitCount": 1000,
                    "dataVersion": null,
                    "encryptedPassword": "UZYakWiMo4uyPA11TE/nb1UqsDq8i4I6m8X0qty1er+2jGD8XF9RqahVknRPfyfPSldFrpddx5o00pPRCOi7VudWFabYZZ+48/WiAQM1gaL4vz/1k7nO7Q5MMywQb73PwwFtfypgKSJPLaY7gA41gqqXI+K+MpuqFrnC0DJzpMc=",
                    "signedUp": "2021-05-31T06:36:32.511Z",
                    "externalId": null,
                    "mainDepartmentId": null,
                    "mainDepartmentCode": null,
                    "lastMfaTime": null,
                    "passwordSecurityLevel": 1,
                    "resetPasswordOnFirstLogin": false,
                    "source": null
                  }
                ],
                "children": [],
                "depth": 0,
                "root": false
              },
              {
                "id": "60b483f0cd54d076a8a52d0b",
                "createdAt": "2021-05-31T06:36:32.946Z",
                "updatedAt": "2021-05-31T06:36:32.946Z",
                "userPoolId": "60648d4a2b6975b984829331",
                "orgId": "60b483f0cb7b9de87b8169d4",
                "name": "HR",
                "nameI18n": null,
                "description": "Import from Excel",
                "descriptionI18n": null,
                "order": null,
                "code": null,
                "source": null,
                "dataVersion": null,
                "sourceData": null,
                "members": [
                  {
                    "id": "60b483f0722072a9b064a070",
                    "createdAt": "2021-05-31T06:36:32.512Z",
                    "updatedAt": "2021-05-31T06:36:32.512Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "isRoot": false,
                    "status": "Activated",
                    "oauth": null,
                    "email": "8@qq.com",
                    "phone": null,
                    "username": null,
                    "unionid": null,
                    "openid": null,
                    "nickname": null,
                    "company": "0",
                    "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                    "browser": null,
                    "device": null,
                    "password": "9c1df5c5f6d71b08585d180a3507a444",
                    "salt": "ci8nhbbc3b9a",
                    "token": null,
                    "tokenExpiredAt": null,
                    "loginsCount": 0,
                    "lastIp": "U",
                    "name": null,
                    "givenName": null,
                    "familyName": null,
                    "middleName": null,
                    "profile": null,
                    "preferredUsername": null,
                    "website": null,
                    "gender": "U",
                    "birthdate": null,
                    "zoneinfo": null,
                    "locale": null,
                    "address": "9/4/2020",
                    "formatted": null,
                    "streetAddress": null,
                    "locality": null,
                    "region": null,
                    "postalCode": null,
                    "city": null,
                    "province": null,
                    "country": null,
                    "registerSource": ["import:excel"],
                    "secretInfo": null,
                    "emailVerified": false,
                    "phoneVerified": false,
                    "lastLogin": null,
                    "blocked": false,
                    "isDeleted": false,
                    "sendSmsCount": 0,
                    "sendSmsLimitCount": 1000,
                    "dataVersion": null,
                    "encryptedPassword": "mW0yWVdnsw+98Kx8/Z26YP2FoKw3isEgKT90DhbcWMFEogTDGXzXf4QnnY9Gps7DQV2mJwxh3T7s0TodHFwTAMt2fJocLsrUHUJFsKoMMwpuFraOwiqdUqgQC8AVyu0V2Fvy42ii+K9jc7Vyzj3gXCnMeXcWE2S069Zjq6F/KjE=",
                    "signedUp": "2021-05-31T06:36:32.512Z",
                    "externalId": null,
                    "mainDepartmentId": null,
                    "mainDepartmentCode": null,
                    "lastMfaTime": null,
                    "passwordSecurityLevel": 1,
                    "resetPasswordOnFirstLogin": false,
                    "source": null
                  }
                ],
                "children": [],
                "depth": 0,
                "root": false
              },
              {
                "id": "60b483f0637689c714a25d19",
                "createdAt": "2021-05-31T06:36:32.946Z",
                "updatedAt": "2021-05-31T06:36:32.946Z",
                "userPoolId": "60648d4a2b6975b984829331",
                "orgId": "60b483f0cb7b9de87b8169d4",
                "name": "Commercialization",
                "nameI18n": null,
                "description": "Import from Excel",
                "descriptionI18n": null,
                "order": null,
                "code": null,
                "source": null,
                "dataVersion": null,
                "sourceData": null,
                "members": [
                  {
                    "id": "60b483f0e2512abda535fe5c",
                    "createdAt": "2021-05-31T06:36:32.513Z",
                    "updatedAt": "2021-05-31T06:36:32.513Z",
                    "userPoolId": "60648d4a2b6975b984829331",
                    "isRoot": false,
                    "status": "Activated",
                    "oauth": null,
                    "email": "9@qq.com",
                    "phone": null,
                    "username": null,
                    "unionid": null,
                    "openid": null,
                    "nickname": null,
                    "company": "0",
                    "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
                    "browser": null,
                    "device": null,
                    "password": "329b48c5f2f61dbd78c19cc650d8ba9d",
                    "salt": "eh4fa5a5je5d",
                    "token": null,
                    "tokenExpiredAt": null,
                    "loginsCount": 0,
                    "lastIp": "U",
                    "name": null,
                    "givenName": null,
                    "familyName": null,
                    "middleName": null,
                    "profile": null,
                    "preferredUsername": null,
                    "website": null,
                    "gender": "U",
                    "birthdate": null,
                    "zoneinfo": null,
                    "locale": null,
                    "address": "9/4/2020",
                    "formatted": null,
                    "streetAddress": null,
                    "locality": null,
                    "region": null,
                    "postalCode": null,
                    "city": null,
                    "province": null,
                    "country": null,
                    "registerSource": ["import:excel"],
                    "secretInfo": null,
                    "emailVerified": false,
                    "phoneVerified": false,
                    "lastLogin": null,
                    "blocked": false,
                    "isDeleted": false,
                    "sendSmsCount": 0,
                    "sendSmsLimitCount": 1000,
                    "dataVersion": null,
                    "encryptedPassword": "VXU64S1y1mv3d0D0sKbfW3txUEPD34FivrcZS6ghXh9D5LxZU9A+1DRt0k/CPoE8ITr4OtTVl1GbI9fsvaKUCyxrSE2xp5611OV5mGHPePxRsgvF8veA0/fvGjpuh93I6jaaQ51w1fjvU9OHsuAiRfHmOcdrbbOgeUB58e/2vPE=",
                    "signedUp": "2021-05-31T06:36:32.513Z",
                    "externalId": null,
                    "mainDepartmentId": null,
                    "mainDepartmentCode": null,
                    "lastMfaTime": null,
                    "passwordSecurityLevel": 1,
                    "resetPasswordOnFirstLogin": false,
                    "source": null
                  }
                ],
                "children": [],
                "depth": 0,
                "root": false
              }
            ],
            "depth": 0,
            "root": true
          }
        ]
      },
      "modifyNodes": [
        {
          "id": "60b483f060d144b3adb22610",
          "createdAt": "2021-05-31T06:36:32.947Z",
          "updatedAt": "2021-05-31T06:36:32.947Z",
          "userPoolId": "60648d4a2b6975b984829331",
          "orgId": "60b483f0cb7b9de87b8169d4",
          "name": "New security guard",
          "nameI18n": null,
          "description": "Import from Excel",
          "descriptionI18n": null,
          "order": null,
          "code": null,
          "source": null,
          "dataVersion": null,
          "sourceData": null,
          "members": [
            {
              "id": "60b483f0341d6ae444d71c2f",
              "createdAt": "2021-05-31T06:36:32.611Z",
              "updatedAt": "2021-05-31T06:36:32.611Z",
              "userPoolId": "60648d4a2b6975b984829331",
              "isRoot": false,
              "status": "Activated",
              "oauth": null,
              "email": "10@qq.com",
              "phone": null,
              "username": null,
              "unionid": null,
              "openid": null,
              "nickname": null,
              "company": "0",
              "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
              "browser": null,
              "device": null,
              "password": "9bd27ac69737ff77f4a643e5cfad7d49",
              "salt": "c9919hb27ok7",
              "token": null,
              "tokenExpiredAt": null,
              "loginsCount": 0,
              "lastIp": "U",
              "name": null,
              "givenName": null,
              "familyName": null,
              "middleName": null,
              "profile": null,
              "preferredUsername": null,
              "website": null,
              "gender": "U",
              "birthdate": null,
              "zoneinfo": null,
              "locale": null,
              "address": "9/4/2020",
              "formatted": null,
              "streetAddress": null,
              "locality": null,
              "region": null,
              "postalCode": null,
              "city": null,
              "province": null,
              "country": null,
              "registerSource": ["import:excel"],
              "secretInfo": null,
              "emailVerified": false,
              "phoneVerified": false,
              "lastLogin": null,
              "blocked": false,
              "isDeleted": false,
              "sendSmsCount": 0,
              "sendSmsLimitCount": 1000,
              "dataVersion": null,
              "encryptedPassword": "AAP4vYP53f98SfPv5CS1kWazsYGR18tpK5SAGaguprW7Ug0zfiDF2OzGPZ7fFxWVx+w7MwxRIjzBAMFcLSSTfS0AK94ZfaKYNawVHdEc8hZUP3kvSsc9UO786tP3s2O2bEm9Ve2Y57A1bOwXI52eHt5CFffsb+/z5HQUOGyQN18=",
              "signedUp": "2021-05-31T06:36:32.611Z",
              "externalId": null,
              "mainDepartmentId": null,
              "mainDepartmentCode": null,
              "lastMfaTime": null,
              "passwordSecurityLevel": 1,
              "resetPasswordOnFirstLogin": false,
              "source": null
            }
          ],
          "children": [],
          "depth": 0,
          "root": false
        }
      ],
      "newNodes": [],
      "removeNodes": []
    }
    
  • Password change event

    {
      "eventName": "user:password-changed",
      "data": {
        "userId": "5f702fcc913544c358cb2123"
      }
    }
    
  • User mailbox verification event

{
  "eventName": "user:email-verified",
  "data": {
    "userId": "xxxxx",
    "email": "xxxx"
  }
}
  • Add authorization event
{
  "eventName": "permission:add",
  "data": {
    "userPoolId": "xxxxx",
    "policies": ["xxxx"], // Authorized policy ID list
    "targetType": "USER", // Authorization object type, USER | ROLE | GROUP | ORG
    "targetIdentifiers": ["xxxx"], // Authorization object ID list, such as user ID
    "namespace": "xxxx" // The permission group to which the authorized policy belongs
  }
}
  • Deauthorization event
{
  "eventName": "permission:revoke",
  "data": {
    "userPoolId": "xxxxx",
    "policies": ["xxxx"], // Authorized policy ID list
    "targetType": "USER", // Authorization object type, USER | ROLE | GROUP | ORG
    "targetIdentifiers": ["xxxx"], // Authorization object ID list, such as user ID
    "namespace": "xxxx" // The permission group to which the authorized policy belongs
  }
}
  • User social account binding event
{
  "eventName": "user:link-account",
  "data": {
    "primaryUser": {
      "id": "6130d1cb9c8c812c8ab8fee6",
      "createdAt": "2021-09-02T13:29:47.401Z",
      "updatedAt": "2021-09-02T13:30:19.948Z",
      "userPoolId": "xxxxx",
      "isRoot": false,
      "status": "Activated",
      "oauth": null,
      "email": null,
      "phone": null,
      "username": "2@qq.com",
      "unionid": null,
      "openid": null,
      "nickname": null,
      "company": null,
      "photo": "https://files.authing.co/authing-console/default-user-avatar.png",
      "browser": null,
      "device": null,
      "password": "1a7418befabaf0f85ae2b3861e02d005",
      "salt": "pnpgbd3pok9",
      "token": null,
      "tokenExpiredAt": "2021-09-16T13:30:19.930Z",
      "loginsCount": 1,
      "lastIp": "223.104.39.83",
      "name": null,
      "givenName": null,
      "familyName": null,
      "middleName": null,
      "profile": null,
      "preferredUsername": null,
      "website": null,
      "gender": "U",
      "birthdate": null,
      "zoneinfo": null,
      "locale": null,
      "address": null,
      "formatted": null,
      "streetAddress": null,
      "locality": null,
      "region": null,
      "postalCode": null,
      "city": null,
      "province": null,
      "country": null,
      "registerSource": ["import:manual"],
      "secretInfo": null,
      "emailVerified": false,
      "phoneVerified": false,
      "lastLogin": "2021-09-02T13:30:19.946Z",
      "blocked": false,
      "isDeleted": false,
      "sendSmsCount": 0,
      "sendSmsLimitCount": 1000,
      "dataVersion": null,
      "encryptedPassword": "xxxxx",
      "signedUp": "2021-09-02T13:29:47.401Z",
      "externalId": null,
      "mainDepartmentId": null,
      "mainDepartmentCode": null,
      "lastMfaTime": null,
      "passwordSecurityLevel": 1,
      "resetPasswordOnFirstLogin": false,
      "source": null,
      "lastIP": "223.104.39.83",
      "identities": []
    },
    "secondaryUser": {
      "id": "6130d1760ce53236578c621a",
      "createdAt": "2021-09-02T13:28:22.161Z",
      "updatedAt": "2021-09-02T13:28:23.015Z",
      "userPoolId": "xxxxx",
      "isRoot": false,
      "status": "Activated",
      "oauth": "xxxxx",
      "email": null,
      "phone": null,
      "username": "nutstest",
      "unionid": "35067055",
      "openid": "35067055",
      "nickname": "NT",
      "company": "www.nutstest.com",
      "photo": "https://files.authing.co/user-contents/6110a896e978a8bcebc176ec/avatar/c5277984-0aa9-4fa6-8b88-d1545ad372fb.jpg",
      "browser": null,
      "device": null,
      "password": null,
      "salt": null,
      "token": null,
      "tokenExpiredAt": "2021-09-16T13:28:22.289Z",
      "loginsCount": 1,
      "lastIp": "xxx.xxx.xx.xx",
      "name": null,
      "givenName": null,
      "familyName": null,
      "middleName": null,
      "profile": "https://github.com/nutstest",
      "preferredUsername": null,
      "website": null,
      "gender": "U",
      "birthdate": null,
      "zoneinfo": null,
      "locale": null,
      "address": null,
      "formatted": null,
      "streetAddress": null,
      "locality": null,
      "region": null,
      "postalCode": null,
      "city": null,
      "province": null,
      "country": null,
      "registerSource": ["social:github"],
      "secretInfo": null,
      "emailVerified": false,
      "phoneVerified": false,
      "lastLogin": "2021-09-02T13:28:22.386Z",
      "blocked": false,
      "isDeleted": false,
      "sendSmsCount": 0,
      "sendSmsLimitCount": 1000,
      "dataVersion": null,
      "encryptedPassword": null,
      "signedUp": "2021-09-02T13:28:22.161Z",
      "externalId": null,
      "mainDepartmentId": null,
      "mainDepartmentCode": null,
      "lastMfaTime": null,
      "passwordSecurityLevel": null,
      "resetPasswordOnFirstLogin": false,
      "source": null,
      "lastIP": "xxx.xxx.xx.xx",
      "identities": [
        {
          "id": "6130d17673f16b4eba4450ed",
          "createdAt": "2021-09-02T13:28:22.496Z",
          "updatedAt": "2021-09-02T13:28:22.496Z",
          "userPoolId": "xxxxx",
          "provider": "github",
          "isSocial": true,
          "connectionId": null,
          "userId": "6130d1760ce53236578c621a",
          "origianlProfile": null,
          "userIdInIdp": "xxxxx",
          "type": "primary",
          "userInfoInIdp": {
            "unionid": "35067055",
            "openid": "35067055",
            "username": "nutstest",
            "profile": "https://github.com/nutstest",
            "nickname": "NT",
            "photo": "https://avatars.githubusercontent.com/u/35067055?v=4",
            "company": "www.nutstest.com",
            "city": null,
            "oauth": "xxxxx",
            "accessToken": "xxxxx",
            "userIdInIdp": "xxxxx",
            "provider": "github",
            "registerSource": ["social:github"],
            "userPoolId": "xxxxx"
          },
          "openid": null,
          "accessToken": "xxxxx",
          "refreshToken": null
        },
        {
          "id": "6130d17624a68a4e22a12d85",
          "createdAt": "2021-09-02T13:28:22.504Z",
          "updatedAt": "2021-09-02T13:28:22.504Z",
          "userPoolId": "xxxxx",
          "provider": "github",
          "isSocial": true,
          "connectionId": null,
          "userId": "6130d1760ce53236578c621a",
          "origianlProfile": null,
          "userIdInIdp": "xxxxx",
          "type": "openid",
          "userInfoInIdp": {
            "unionid": "35067055",
            "openid": "35067055",
            "username": "nutstest",
            "profile": "https://github.com/nutstest",
            "nickname": "NT",
            "photo": "https://avatars.githubusercontent.com/u/35067055?v=4",
            "company": "www.nutstest.com",
            "city": null,
            "oauth": "xxxxx",
            "accessToken": "xxxxx",
            "userIdInIdp": "xxxxx",
            "provider": "github",
            "registerSource": ["social:github"],
            "userPoolId": "xxxxx"
          },
          "openid": null,
          "accessToken": "xxxxx",
          "refreshToken": null
        }
      ]
    }
  }
}
Previous article: Private Deployment Next article: Audit Logs
  • Configure Webhooks
  • Debug Webhook
  • Supported Events
  • Attached data

User identity management

Integrated third-party login
Customized authentication process

Enterprise internal management

Single sign-on
Multi-factor authentication
Permission management

Developer

Development Documentation
GitHub (opens new window)

Company

official@genauth.ai
16th Floor, Building B, Beichen Century Center, Chaoyang District, Beijing (Total)
Room 406, 4th Floor, Block B, No. 200, Tianfu Fifth Street, High-tech Zone, Chengdu (Branch)

© Beijing Steamory Technology Co., Ltd.