Ajouter un ami
Adds the Friend user to the friendlist of the user with PlayFabId. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| UsersAlreadyFriends | 1183 |
POST
Add Friend
Autorisations
This API requires a title secret key, available to title admins, from PlayFab Game Manager.
Corps
application/json
PlayFab identifier of the player to add a new friend.
Email address of the user being added.
The PlayFab identifier of the user being added.
Title-specific display name of the user to being added.
The PlayFab username of the user being added
Dernière modification le 6 octobre 2026
Sujets connexes
Ajouter un amiListes d'amisSupprimer un amiJouer à une partie avec des amis (organigramme)Ajouter un ID générique