Skip to main content
The TwoChat plugin syncs data locally. Use corsair.twochat.db.<entity>.search({ data, limit?, offset? }) with the filters listed per entity.

Accounts

Path: twochat.db.accounts.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Contacts

Path: twochat.db.contacts.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Webhook Subscriptions

Path: twochat.db.webhookSubscriptions.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.