Documentation

AddOrUpdateContactEmail

Adds or updates a contact email to the player's profile.

Request Details

This API adds a contact email to the player's profile. If the player's profile already contains a contact email, it will update the contact email to the email address specified.

AddOrUpdateContactEmailRequest
Request Properties
EmailAddress (required) String

The new contact email to associate with the player.

POST https://{{TitleID}}.playfabapi.com/Client/AddOrUpdateContactEmail
    Content-Type: application/json
    X-Authentication: <user_session_ticket_value>
{
  "EmailAddress": "theuser@domain.com"
}
        

Response Details

AddOrUpdateContactEmailResult
Result Properties

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "code": 200,
  "status": "OK",
  "data": {}
}

Authentication

SessionTicket

Possible Error Codes

Name Code