Passer au contenu principal
POST
Add Friend

Autorisations

X-SecretKey
string
header
requis

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

Corps

application/json
PlayFabId
string
requis

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

Réponse

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
Dernière modification le 6 octobre 2026