Browse Platform API
Platform API

Before offline push

Copy

Adjust the actual recipients and notification metadata before an offline push.

HTTP request

POST {WEBHOOK_ADDRESS}/callbackBeforeOfflinePushCommand

Request body

The payload contains callbackCommand: callbackBeforeOfflinePushCommand and the recipient, platform, notification, message, conversation, mention, and content fields described on Before one-to-one online push.

Response

Return the common before-event fields from Webhooks overview. userIDList may replace the push recipients and offlinePushInfo may replace push metadata.

Processing rules

  • Configuration key: beforeOfflinePush.
  • OpenIM waits synchronously; timeout behavior follows failedContinue.