Browse Platform API
Platform API

After adding a friend

Copy

Synchronize a newly created friend request.

HTTP request

POST {WEBHOOK_ADDRESS}/callbackAfterAddFriendCommand

Request body

PropertyTypeDescription
callbackCommandstringcallbackAfterAddFriendCommand.
fromUserIDstringRequest sender
toUserIDstringRequest recipient
reqMsgstringRequest message

Response

Return HTTP success promptly. The relationship operation is already complete and cannot be changed by this response.

Processing rules

  • Configuration key: afterAddFriend.
  • Process idempotently using the relationship key and operationID.