7

I want to get my to-dos from my Microsoft Todo (https://to-do.live.com) but I don't have a clue on how to get started. I searched online but did not find documentation for a REST API.

Does anyone know how to access certain Todo lists from MS Todo (formerly known as Wunderlist)? Is the Graph API the place to look? I don't have an Office 365 account.

Bhargavi Annadevara
  • 4,923
  • 2
  • 13
  • 30
  • If you have a MSA Account you can use this [document](https://learn.microsoft.com/en-us/graph/api/todo-list-lists?view=graph-rest-1.0&tabs=http) and get the list of todolists. You can test it in [Graph Explorer](https://aka.ms/ge) by logging with MSA and consent permission `Task.ReadWrite` and then make the call. – Shiva Keshav Varma Jan 25 '21 at 11:26
  • Did it work for you? – Shiva Keshav Varma Jan 26 '21 at 04:45

1 Answers1

10

You could use Graph API for to-do tasks

For example to list all the tasks categories :

enter image description here

To access tasks under a specific category :

https://graph.microsoft.com/v1.0/me/todo/lists/{id}/tasks

with the token in the request body to authorize the request.

Authorization : Bearer <Token>

To get Token

I understand you don't have any Office 365 Work accounts.

Access the below url and login

https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredApps

Login using your personal account credentials.

Register app :

enter image description here

Once registration is complete, you will be getting app credentials.

Once Registration done. Grant the permissions :

App --> App Name --> API Permissions --> Graph Api

Check the below Tasks delegated permissions

enter image description here

You can authorize the client using the below url :

https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id={client_id}&scope={scope}
    &response_type=token&redirect_uri={redirect_uri}

Obtain the token.

Satya V
  • 3,811
  • 1
  • 6
  • 9
  • Please consider accepting this solution if it had helped :) https://meta.stackexchange.com/questions/5234/how-does-accepting-an-answer-work – Satya V Feb 08 '21 at 05:41