# folder.updated

Source: https://developer.nylas.com/docs/reference/notifications/folders/folder-updated/

Sent when a user updates a folder.

## data.object fields

- `grant_id` (string) - Unique identifier for the grant that owns this folder.
- `id` (string) **(required)** - Unique identifier for the folder.
- `name` (string) **(required)** - Updated display name of the folder.
- `object` (string) (folder) - Object type identifier.
- `system_folder` (boolean) - Whether this is a provider system folder (e.g. Inbox, Sent, Trash).

## Example payload

```json
{
  "specversion": "1.0",
  "type": "folder.updated",
  "source": "/google/emails/incremental",
  "id": "<WEBHOOK_ID>",
  "time": 1718210554,
  "webhook_delivery_attempt": 1,
  "data": {
    "application_id": "<NYLAS_APPLICATION_ID>",
    "object": {
      "grant_id": "<NYLAS_GRANT_ID>",
      "id": "<FOLDER_ID>",
      "name": "My updated test folder",
      "object": "folder",
      "system_folder": false
    }
  }
}
```
