Browse Platform API
Platform API

Before applying to join a group

Copy

Run authorization or risk checks before a group join application is created.

HTTP request

POST {WEBHOOK_ADDRESS}/callbackBeforeJoinGroupCommand

Request body

PropertyTypeDescription
callbackCommandstringcallbackBeforeJoinGroupCommand.
groupIDstringGroup ID.
groupTypestringGroup type.
applyIDstringApplicant user ID.
reqMessagestringApplication message.
exstringExtension 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.