Récupérer un abonnement Copilot spécifique

VérifiéSûr

Récupère les détails d'une souscription spécifique aux notifications de changement Microsoft 365 Copilot en utilisant son identifiant unique. Utile pour vérifier la configuration, la date d'expiration ou l'URL de notification d'une souscription existante.

Spar Skills Guide Bot
DeveloppementDébutant
8002/06/2026
Claude Code
#copilot-api#change-notifications#subscriptions#microsoft-365#get-subscription

Recommandé pour

Notre avis

Récupère les détails d'un abonnement spécifique aux notifications de changement via l'API Microsoft 365 Copilot.

Points forts

  • Opération GET simple et rapide
  • Retourne toutes les informations de l'abonnement (ressource, type de changement, URL de notification, etc.)
  • Nécessite uniquement l'ID de l'abonnement

Limites

  • Nécessite un jeton d'accès valide et le scope OAuth approprié
  • Ne fonctionne que pour les abonnements aux notifications de changement Copilot
  • L'abonnement doit exister sous le jeton d'authentification utilisé
Quand l'utiliser

Utilisez cette opération lorsque vous avez besoin de vérifier les détails d'un abonnement existant, comme sa date d'expiration ou son URL de notification.

Quand l'éviter

Ne l'utilisez pas pour lister tous les abonnements (préférez l'opération list) ou pour créer, mettre à jour ou supprimer un abonnement.

Analyse de sécurité

Sûr
Score qualité90/100

The skill only instructs a GET request to a local mock server with a user-provided token; no destructive, exfiltrating, or obfuscated actions are present.

Aucun point d'attention détecté

Exemples

Get subscription details
Retrieve the details of the Copilot change notification subscription with ID sub-001-abc.

Get a Specific Subscription

Retrieve details of a specific Copilot change notification subscription by its ID.

API Details

  • API: Microsoft 365 Copilot API
  • Method: GET
  • Path: /copilot/subscriptions/{subscriptionId}
  • Operation ID: getCopilotSubscription
  • Tag: Change Notifications
  • OpenAPI: microsoft-copilot-api.yaml

Sandbox

Mock server URL: http://localhost:8080/rest/microsoft-365-copilot-apis/1.0.0/copilot/subscriptions/{subscriptionId}

Required Headers

  • Authorization: Bearer {access-token}

OAuth Scope

  • Copilot.ChangeNotification.ReadWrite

Parameters

| Parameter | In | Type | Required | Description | |-----------|-----|------|----------|-------------| | subscriptionId | path | string | Yes | Unique identifier of the subscription |

Example Request

curl -X GET "http://localhost:8080/rest/microsoft-365-copilot-apis/1.0.0/copilot/subscriptions/sub-001-abc" \
  -H "Authorization: Bearer {access-token}"

Example Response

{
  "id": "sub-001-abc",
  "resource": "/copilot/interactions",
  "changeType": "created",
  "notificationUrl": "https://contoso.com/webhooks/copilot-notifications",
  "expirationDateTime": "2025-10-15T00:00:00Z",
  "clientState": "contoso-secret-state-value",
  "createdDateTime": "2025-09-10T12:00:00Z"
}

Instructions

When the user wants to check the details of a specific change notification subscription, use this operation by making a GET request to /copilot/subscriptions/{subscriptionId}. Provide the subscription ID as a path parameter.

Skills similaires