Skip to content

Properties

idstring
required·

The unique identifier for the webhook subscription

notification_urlstring
required·

The URL where notifications will be sent

change_typesstring[]

Types of changes to monitor

Possible values:
createdupdateddeletedall
client_statestring

Optional secret for verifying webhook authenticity

created_atstring · date-time

When the subscription was created

driveobject

The drive being monitored

idstring

The unique identifier for a drive

expirationstring · date-time

When the subscription expires (ISO 8601 datetime)

page_tokenstring

Starting page token for change notifications (Google Drive only)

remote_dataRecord<string, any>

Raw data returned from the remote API call.

resourceobject

The resource being monitored

idstring

ID of the resource (drive, folder, etc.)

typestring

Type of resource

Possible values:
drivefolderfilerootchanges
resource_idstring

Provider-generated identifier for the watched resource

resource_uristring

The URI of the resource being watched

tokenstring

Optional token sent with notifications

typestring

The type of subscription

Possible values:
webhookweb_hook