跳轉到主要內容
POST
Add Friend

授權

X-SecretKey
string
header
必填

This API requires a title secret key, available to title admins, from PlayFab Game Manager.

主體

application/json
PlayFabId
string
必填

PlayFab identifier of the player to add a new friend.

FriendEmail
string

Email address of the user being added.

FriendPlayFabId
string

The PlayFab identifier of the user being added.

FriendTitleDisplayName
string

Title-specific display name of the user to being added.

FriendUsername
string

The PlayFab username of the user being added

回應

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
最後修改於 2026年10月6日