Create Watch
POST/api/v1/integrations/:integrationId/watches
Creates a new watch for a specific integration to receive webhook notifications for resource changes. For storage integrations, set resource.type to STORAGE_FILE and resource.file.id to "root" to watch all files across the entire drive. Subscribe to specific events like file_created, file_updated, and file_deleted. Note: Google Drive change notifications typically have a 2-3 minute delivery latency.
Request
Responses
- 200
- 400
- 404
- 500
Successful Operation
Bad Request
Integration not found
Internal Server Error