Passer au contenu principal
POST
Add Friend

Autorisations

X-Authorization
string
header
requis

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

Corps

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.

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