Microsoft Graph

API

One REST API for Microsoft 365 mail, calendars, files, Teams and users

Fiyat
Free with Microsoft 365; some metered
Erişim
Entra ID OAuth access token

Hakkında

Microsoft Graph is the single REST endpoint for Microsoft 365 and Entra data: Outlook mail and calendars, OneDrive and SharePoint files, Teams chats and directory users. Apps sign in through Microsoft Entra ID. Standard APIs come with user licenses; a few high-volume APIs are metered.

Neler yapabilirsin

  • Read and send Outlook mail on behalf of a signed-in user
  • Create calendar events and find meeting times across Microsoft 365 users
  • Sync OneDrive and SharePoint files, or post messages to Teams chats

Başlarken

  1. Register an app in Microsoft Entra ID
  2. Grant it Mail.Read or other Graph permissions
  3. Get an access token with MSAL

Örnek kod

curl "https://graph.microsoft.com/v1.0/me/messages?\$select=sender,subject&\$top=10" \
  -H "Authorization: Bearer $GRAPH_ACCESS_TOKEN"

Ayrıntılar

Barındırma
Hazır hizmet (bulut)
Kullanılabildiği yerler
Tüm dünya
Resmi SDK'lar
C#, JavaScript/TypeScript, Java, Go, PHP, Python
MCP sunucusu
Uzak sunucu
Entegrasyonlar
Microsoft 365, Outlook, Microsoft Teams

Görevler

Alternatifler

Aynı görevler için başka araçlar.

Son kontrol: .