> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useparagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# File Change

> Trigger when there are changes to content within the hierarchy of the root folder.

## Subscribe

Send this request body to [Subscribe to a Trigger](https://docs.useparagon.com/actionkit/triggers/api-reference/subscribe-to-trigger.md) to start listening for this event on behalf of your user:

```http Subscribe Request theme={null}
POST https://actionkit.useparagon.com/projects/{project_id}/trigger-subscriptions

Authorization: Bearer {Paragon User Token}
Content-Type: application/json

{
  "integration": "onedrive",
  "type": "ONEDRIVE_TRIGGER_FILE_CHANGE",
  "parameters": {}
}
```

**Configuration options:**

This trigger does not require any configuration options.

## Example Payload

This is an example payload that Paragon sends to your configured webhook URL. Learn more about handling trigger payloads in [Receiving Webhooks](https://docs.useparagon.com/actionkit/triggers/receiving-webhooks.md).

```json Example expandable theme={null}
{
  "type": "TRIGGER/ACTION",
  "input": {
    "data": {
      "resource": "/drives/52C413D20RR45YT/root",
      "tenantId": "9188040d-hkl-abc-abcd-36a304b66dad",
      "changeType": "updated",
      "clientState": "SecretClientState",
      "resourceData": {
        "@odata.type": "#Microsoft.Graph.DriveItem"
      },
      "subscriptionId": "703ea953-4b86-abc-abcd-9239205b12a5",
      "subscriptionExpirationDateTime": "2025-12-09T05:58:43.501+00:00"
    }
  }
}
```
