Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access Microsoft Todo List via Rest API

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.

like image 652
Sebastian Sommerfeld Avatar asked Jan 27 '26 16:01

Sebastian Sommerfeld


1 Answers

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.

like image 193
Satya V Avatar answered Jan 29 '26 06:01

Satya V



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!