Browse Platform API
Platform API

After a user goes offline

Copy

Synchronize presence after a user connection closes.

HTTP request

POST {WEBHOOK_ADDRESS}/callbackAfterUserOfflineCommand

Request body

PropertyTypeDescription
callbackCommandstringcallbackAfterUserOfflineCommand.
operationIDstringOpenIM operation trace ID.
platformIDintClient platform ID.
platformstringClient platform name.
userIDstringUser ID.
seqintConnection sequence number.
connIDstringConnection ID.

Response

Return HTTP success promptly. The connection is already offline and cannot be changed by this response.

Processing rules

  • Configuration key: afterUserOffline.
  • Process idempotently using userID, platformID, and connID.