Create change notification subscription
documentedCreate a subscription for Graph change notifications (e.g., channel messages). Endpoints exist in v1.0 and beta depending on resource. ([learn.microsoft.com](https://learn.microsoft.com/en-us/graph/teams-changenotifications-chatmessage?utm_source=openai))
POST /subscriptionsChange Notificationsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://graph.microsoft.com/v1.0/subscriptions" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"changeType": "{{$changeType}}", "notificationUrl": "{{$notification_url}}", "resource": "/teams/{{$team_id}}/channels/{{$channel_id}}/messages", "expirationDateTime": "{{$expirationDateTime}}", "includeResourceData": {{$includeResourceData}}, "encryptionCertificate": "{{$encryptionCertificate}}", "encryptionCertificateId": "{{$encryptionCertificateId}}", "clientState": "{{$clientState}}"}'