Skip to main content
Use Close through Corsair: one client, typed API calls, local DB sync, and incoming webhooks. What you get:
  • 31 typed API operations
  • 10 synced entities (activityCall, activityEmail, activityNote, activitySms, contact, customField, and 4 more) for fast .search() / .list()
  • 6 incoming webhook event types

Setup

1

Install

2

Add the plugin

corsair.ts
With multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

List leads
Create a lead
See the full list on the API page.

Query synced data

This table exists, but Close calls don’t fill it yet. This returns only rows you have written yourself.
Synced entities: activityCall, activityEmail, activityNote, activitySms, contact, customField, lead, opportunity, task, user. See Database for filters and operators.

Webhooks

Fires when a lead is created.
Mount your framework handler once (see Frameworks), then point the provider at that URL. Full event list: Webhooks. Concepts: Webhooks, Hooks.

What’s next

API reference

Every close.api.* operation with input and output types.

Database

Synced entities, search filters, and operators.

Webhooks

Event paths, payloads, and webhookHooks examples.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.