跳转到主要内容
POST
Add Friend

授权

X-Authorization
string
header
必填

This API requires a client session ticket, available from any Client Login function.

请求体

application/json
FriendEmail
string

Email address of the user to attempt to add to the local user's friend list.

FriendPlayFabId
string

PlayFab identifier of the user to attempt to add to the local user's friend list.

FriendTitleDisplayName
string

Title-specific display name of the user to attempt to add to the local user's friend list.

FriendUsername
string

PlayFab username of the user to attempt to add to the local user's friend list.

响应

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日