Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by Gaston Schattenhofer · Sep 16, 2019 at 08:53 PM · Player DataAccount Management

Verification status through Api call

Is there a way to get the user contact email verification status through an Api call? If so, which api/s call/s?

Thanks!

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by SethDu · Sep 17, 2019 at 08:17 AM

Yes, you can add ProfileConstraintsin the request when calling GetPlayerProfile, for example:

{
  "PlayFabId": "***********",
  "ProfileConstraints":{
  	"ShowContactEmailAddresses": true
  }
}

The successful callback will be like:

{
    "code": 200,
    "status": "OK",
    "data": {
        "PlayerProfile": {
            "PublisherId": "***********",
            "TitleId": "****",
            "PlayerId": "***********",
            "ContactEmailAddresses": [
                {
                    "Name": "Primary",
                    "EmailAddress": "***********",
                    "VerificationStatus": "Pending"
                }
            ]
        }
    }
}

As you can see the VerificationStatus is provided in the response.

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Gaston Schattenhofer · Sep 17, 2019 at 06:23 PM

Awesome, thanks @SethDu !

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by countinglampposts · Jun 05, 2020 at 02:01 AM

@SethDu I am finding that the API call results are no longer including a VerificationStatus field. The Name and EmailAddress fields are populated, but VerificationStatus is simply missing. Whats going on? Is this a playfab bug? This was working when I first implemented the system.

Comment

People who like this

0 Show 2 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Akarsh jain · Jul 08, 2021 at 08:19 AM 1
Share

@countinglampposts the ans to your question is use result.PlayerProfile.ContactEmailAddress[0].VerificationStatus

if i am thinking right

avatar image SethDu ♦ · Jul 09, 2021 at 09:17 AM 0
Share

I think Akarsh jain got the point. I don't see this behavior in my testing results. If you are uncertain the contained information in response, I suggest try it via Postman first. Postman (REST) SDK - PlayFab | Microsoft Docs

avatar image

Answer by Dan Kardell · Jan 12 at 02:45 AM

@SethDu How do you re-send this if the user does not get it or delete it by mistake?

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    4 People are following this question.

    avatar image avatar image avatar image avatar image

    Related Questions

    Getting Profile Language 1 Answer

    How can I convert the timezone in PlayFab? 1 Answer

    Multiple contact emails? 1 Answer

    Am I able to see the device in the player's account after using LoginWithAndroidDeviceID?,Am I able to see the Device of the user in Android? 1 Answer

    Understanding the limits... 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges