Platform API
Before applying to join a group
Run authorization or risk checks before a group join application is created.
HTTP request
POST {WEBHOOK_ADDRESS}/callbackBeforeJoinGroupCommandRequest body
| Property | Type | Description |
|---|---|---|
| callbackCommand | string | callbackBeforeJoinGroupCommand. |
| groupID | string | Group ID. |
| groupType | string | Group type. |
| applyID | string | Applicant user ID. |
| reqMessage | string | Application message. |
| ex | string | Extension data. |
Response
Return the common before-event response from Webhooks overview. Use nextCode: 1 to reject the application.
Processing rules
- Configuration key:
beforeApplyJoinGroup. - OpenIM waits synchronously; timeout behavior follows
failedContinue.
Was this page helpful?