Browse Platform API
Platform API

After accepting a friend request

Copy

Synchronize a newly established friendship.

HTTP request

POST {WEBHOOK_ADDRESS}/callbackAfterAddFriendAgreeCommand

Request body

PropertyTypeDescription
callbackCommandstringcallbackAfterAddFriendAgreeCommand.
fromUserIDstringUser performing the action
blackUserIDstringCounterparty user ID
HandleResultintRequest handling result
HandleMsgstringHandling message

Response

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

Processing rules

  • Configuration key: afterAddFriendAgree.
  • Process idempotently using the relationship key and operationID.
  • The protocol retains these historical field names.