Skip to content

Webhooks

Lyra can’t call your server when a page, comment or row changes yet. If you need that, write to support@lyra-docs.com and say what you would use it for.

Until then, check for changes on a schedule:

To notice Do this
Changed pages in one place GET /pages?parentId=… and compare each page’s updatedAt with the last time you looked
Changed database rows Add an Edited time property to the database, then POST /databases/{databaseId}/query sorted by it, newest first, and stop at the first row edited before your last check
New comments on a page GET /pages/{pageId}/threads?includeResolved=true and compare the comment ids with the ones you’ve already seen

Every check counts against the token’s rate limit of 120 requests a minute. Once every few minutes is plenty for most jobs.