https://api.folk.app/v1 to manage relationships for service businesses and high-touch teams.
- Authentication: Use an API key from workspace settings under API. Pass it as a Bearer token (
Authorization: Bearer <key>). - Rate limits: Folk applies rate limits per user across two concurrent windows: a default limit of 600 requests per minute, and a burst limit of 20 requests per 2 seconds. The plugin automatically reads standard
Retry-Afterheaders on 429 responses. - Idempotency: Modifying endpoints (
POST,PATCH,DELETE) accept an optionalidempotencyKeyparameter that passes anIdempotency-Keyheader to safely retry requests without duplication. - Custom fields: People and companies support
customFieldValuesmapped by group ID and custom field name.
- 33 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 Folk API key before the first call: More: API Key
pnpm corsair setup --plugin=folk --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
List workspace contactsWhat’s next
API reference
Every
folk.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.