Browse Platform API
Platform API

Before updating selected user fields

Copy

Validate or adjust only the optional profile fields included in a selected-field update.

HTTP request

POST {WEBHOOK_ADDRESS}/callbackBeforeUpdateUserInfoExCommand

Request body

Includes callbackCommand, required userID, and optional nickName, faceURL, and ex values.

Response

Return the common before-event response plus only the replacement fields that OpenIM should apply.

Processing rules

  • Configuration key: beforeUpdateUserInfoEx.
  • Omitted fields remain untouched; nextCode: 1 rejects the update.