public_key field (pnpm corsair setup --plugin=forcemanager api_key=<private key> public_key=<public key>, or the two fields on Hub’s connect page). The plugin logs in with the pair, sends the session token in X-Session-Key and logs in again when the token expires. Set environment to sandbox to target the documented sandbox host. Calendar create and update (sendNotification emails invitations), user create and update (an active user can take a paid seat) and the generic bulk create and update routes are destructive. The plugin does not manage webhooks or perform the binary upload step returned by document and picture upload-initiation routes.
What you get:
- 294 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)
Store the ForceManager API key before the first call: More: API Key
pnpm corsair setup --plugin=forcemanager --tenant=acme api_key=<your-key> (leave out --tenant without multiTenancy), or pass it as key in the plugin options. With Hub, each tenant enters their own key on the connect page. See API key auth.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
accountAddresses.accountAddressesSchema
What’s next
API reference
Every
forcemanager.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.