- Basic auth, not Bearer. The API key is the username and the password is empty; the plugin builds the documented
Authorization: Basicheader. Bearer is only for OAuth integrations. - Lead intake runs through
events.create. FUB’s docs advise pushing leads viaPOST /events: it creates or matches the person and runs their action plans.people.createonly writes the contact without routing. - Identification headers. Every request carries
X-System(defaults tocorsair) and, when you setsystemKey,X-System-Keyfrom your system registration. Registered systems get the higher rate limits (global 250 per 10s instead of 125). - Rate limits are per 10-second window per context (events GET 20, notes 10, PUT /people 25, global 250). FUB answers 429 with
Retry-After; the plugin waits that long and retries up to five times. - Paging. Lists take
limit(max 100) andoffset; responses carry a_metadatablock whosenextkeyset cursor FUB enforces for deep pagination. - Deleting. Most deletes answer 200 (the plugin returns the echoed resource when FUB sends one).
appointments.deleteandpeople.ignoreUnclaimedanswer 204. Deleting an appointment type requiresassignTypeId: the type its existing appointments move to. people.claimandpeople.ignoreUnclaimedwork on unclaimed leads only, and a claim of a lead that is no longer unclaimed answers 409.- Text messages are logged, not sent.
textMessages.createrecords a message on a person; FUB does not send SMS through the API. - Webhooks. The plugin manages webhook subscriptions (
/webhooks) and reads a webhook’s delivered events by ID withwebhookEvents.get; it does not receive webhook deliveries.
- 156 typed API operations
Setup
1
Install
2
Add the plugin
corsair.ts
multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- API Key (Recommended)
No setup required yet. When you make your first request as a tenant, Corsair prompts for the API key.More: API Key
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 the newest peopleWhat’s next
API reference
Every
followupboss.api.* operation with input and output types.Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.