Skip to main content
POST
Add Friend

Authorizations

X-SecretKey
string
header
required

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

Body

application/json
PlayFabId
string
required

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

Response

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
Last modified on October 1, 2026