Hi Brian! I'm a developer on the Family Safety team. To answer your question, currently there is no public API for Family Safety.
Is there a Family Safety API?
Hello! So far, we have been using Family Safety with really good success. I'm thinking, though, about what else I can do with it. So to that end, does anybody know if there's an API (maybe REST endpoints or the like) that I can use to interact with the Family Safety service? I'd want Parent access to modify settings (not just view) and probably Child access to view the settings.
Please let me know if you're aware of any such API. Thanks, all!
Brian
Windows for home | Windows 11 | Family and online safety
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
-
Anonymous
2014-09-13T21:09:13+00:00
16 additional answers
Sort by: Most helpful
-
Anonymous
2014-09-27T02:57:32+00:00 It would be great if an API was developed so developers could build applications like ChoreMonster to unlock the child account when a chore is complete.
-
Anonymous
2017-12-11T05:13:39+00:00 Yes, the previous link takes me to a closed poll, and the new link takes me to the MSFT home page. I'd like to develop a simple app which I can quickly turn off screen-time and add screen-time. I've reverse engineered the APIs and it's not terribly difficult. I got MSAL working to do authentication (from: https://blog.xamarin.com/enterprise-apps-made-easy-updated-libraries-apis/), however it seems that this authentication library isn't allowed to do anything to the family safety api and cannot be added to graph permissions settings.
If I hit the endpoint to modify the xbox screentime settings:
https://account.microsoft.com/family/api/screen-time-xbox/day-allow?X-Requested-With=XMLHttpRequest
Then I get an authentication failure because the request doesn't include the CSRF token:
__RequestVerificationToken
To get that you need to hit:
https://account.microsoft.com/family/settings/screen-time/<accountNumber>
And parse for the hidden field __RequestVerificationToken, but that throws a "browser not supported failure" I'm guessing due to the permissions of the MSAL and my app.
I thought this was going to be pretty easy, but I guess it needs to be added to MSAL...
-
Anonymous
2016-12-26T17:00:31+00:00 Hi Daniel,
a twist on the original question, are there any plans to provide either a public api, or enable family safety on other devices (such as iOS, android, or X-Box (screen time settings))?
Many thanks,
Ian.
-
Anonymous
2014-09-13T22:17:53+00:00 Aww nuts. ☺ If you think to, can you please let me know if you do? It would make my life easier if I could write an app to help me manage it. Thanks!
BTW, I apologize on behalf of all the ungrateful complaining customers out there. They should understand that this is a free product that you guys are producing here. They can either report bugs and offer helpful feedback, or they can pay for another product. What you guys do here is difficult. It's like what Louis CK said about people complaining about their cell service (paraphrasing): hey, if you don't like it then make your own. ☺ Is it perfect? No. But what software is?
We use your product heavily, and it's been great for my wife and I to better manage our family. Keep up the good work!