App name: outlook
Base URL proxied: graph.microsoft.com
/outlook/v1.0/me/{resource}
GET /outlook/v1.0/meGET /outlook/v1.0/me/mailFoldersWell-known folder names: Inbox, Drafts, SentItems, DeletedItems, Archive, JunkEmail
GET /outlook/v1.0/me/mailFolders/{folderId}POST /outlook/v1.0/me/mailFolders
Content-Type: application/json
{
"displayName": "My Folder"
}GET /outlook/v1.0/me/messagesFrom specific folder:
GET /outlook/v1.0/me/mailFolders/Inbox/messagesWith filter:
GET /outlook/v1.0/me/messages?$filter=isRead eq false&$top=10GET /outlook/v1.0/me/messages/{messageId}POST /outlook/v1.0/me/sendMail
Content-Type: application/json
{
"message": {
"subject": "Hello",
"body": {
"contentType": "Text",
"content": "This is the email body."
},
"toRecipients": [
{
"emailAddress": {
"address": "recipient@example.com"
}
}
]
},
"saveToSentItems": true
}POST /outlook/v1.0/me/messages
Content-Type: application/json
{
"subject": "Hello",
"body": {
"contentType": "Text",
"content": "This is the email body."
},
"toRecipients": [
{
"emailAddress": {
"address": "recipient@example.com"
}
}
]
}POST /outlook/v1.0/me/messages/{messageId}/sendPATCH /outlook/v1.0/me/messages/{messageId}
Content-Type: application/json
{
"isRead": true
}DELETE /outlook/v1.0/me/messages/{messageId}POST /outlook/v1.0/me/messages/{messageId}/move
Content-Type: application/json
{
"destinationId": "{folderId}"
}GET /outlook/v1.0/me/calendarsGET /outlook/v1.0/me/calendar/eventsWith filter:
GET /outlook/v1.0/me/calendar/events?$filter=start/dateTime ge '2024-01-01'&$top=10POST /outlook/v1.0/me/calendar/events
Content-Type: application/json
{
"subject": "Meeting",
"start": {
"dateTime": "2024-01-15T10:00:00",
"timeZone": "UTC"
},
"end": {
"dateTime": "2024-01-15T11:00:00",
"timeZone": "UTC"
},
"attendees": [
{
"emailAddress": {
"address": "attendee@example.com"
},
"type": "required"
}
]
}DELETE /outlook/v1.0/me/events/{eventId}GET /outlook/v1.0/me/contactsPOST /outlook/v1.0/me/contacts
Content-Type: application/json
{
"givenName": "John",
"surname": "Doe",
"emailAddresses": [
{
"address": "john.doe@example.com"
}
]
}DELETE /outlook/v1.0/me/contacts/{contactId}$top=10- Limit results$skip=20- Skip results (pagination)$select=subject,from- Select specific fields$filter=isRead eq false- Filter results$orderby=receivedDateTime desc- Sort results$search="keyword"- Search content
- Use
meas the user identifier for the authenticated user - Message body content types:
TextorHTML - Well-known folder names work as folder IDs:
Inbox,Drafts,SentItems, etc. - Calendar events use ISO 8601 datetime format