Documentation

SendAccountRecoveryEmail

Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to change the password.If an account recovery email template ID is provided, an email using the custom email template will be used.

Request Details

If the account in question is a "temporary" account (for example, one that was created via a call to LoginFromIOSDeviceID), thisfunction will have no effect. Only PlayFab accounts which have valid email addresses will be able to receive a password reset email using this API.

SendAccountRecoveryEmailRequest
Request Properties
Email (required) String

User email address attached to their account

EmailTemplateId String

The email template id of the account recovery email template to send.

POST https://{{TitleID}}.playfabapi.com/Admin/SendAccountRecoveryEmail
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{
  "Email": "assignedemail@here.com",
  "EmailTemplateId": "D53AB15D8F12E330"
}
        

Response Details

SendAccountRecoveryEmailResult
Result Properties

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8


Authentication

SecretKey

Possible Error Codes

Name Code
AccountNotFound 1001