Platform API
Before adding to the blacklist
Validate a blacklist addition.
HTTP request
POST {WEBHOOK_ADDRESS}/callbackBeforeAddBlackCommandRequest body
| Property | Type | Description |
|---|---|---|
| callbackCommand | string | callbackBeforeAddBlackCommand. |
| ownerUserID | string | Blacklist owner |
| blackUserID | string | User being blocked |
Response
Return the common before-event response from Webhooks overview. Use nextCode: 1 to reject the operation.
Processing rules
- Configuration key:
beforeAddBlack. - OpenIM waits synchronously; timeout behavior follows
failedContinue.
Was this page helpful?