CRM and sales
Capsule CRM in your product and your AI agents, through one API
The Capsule CRM toolkit covers people and organisations, opportunities with their pipelines and milestones, users and tasks. Through Connect your product or AI agent calls them with one endpoint, while Connect stores and renews the credentials and logs every execution.
15 days to try it. No credit card.
POST https://connect.reportei.com/api/tools/capsule_create_party/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json
{
"customer_toolkit": "<connection UUID>",
"arguments": {
"party": {}
}
}How it works
From a connected customer to the first Capsule CRM call.
- 1
Your customer connects the account
Your system opens a Connect session for the toolkit and your customer connects their Capsule CRM account. You get the connection id.
- 2
Your product calls the tool
A POST to /api/tools/{tool}/execute with the connection id and arguments. On success, Connect preserves the app's response status and body.
- 3
Connect handles the rest
It stores the credential encrypted, renews tokens for OAuth connections that support renewal and records executions in an audit trail available through the API.
Use cases
What your product does with Capsule CRM.
Create contacts from signups
A SaaS searches Capsule for a party and, if none exists, creates the person and links the organisation.
Open deals in a pipeline
A quoting tool creates an opportunity at the right milestone and moves it to Won or Lost when the outcome is known.
Agent that schedules follow-ups
An AI agent lists open tasks and creates a task due on a given date, linked to a party or an opportunity.
Tools
15 Capsule CRM tools
- List partiesGETLists the people and organisations of the account, 50 per page by default. Paginate with page, starting at 1, and perPage, up to 100; a page shorter than perPage is the last one.
- Search partiesGETSearches people and organisations with the same results as the global search of Capsule, by a name, a postcode or a phone number, for example. Paginate with page, starting at 1, and perPage, up to 100.
- Get partyGETReturns one person or organisation, with its email addresses, phone numbers, addresses and websites and the id of each of them.
- Create partyPOSTCreates a person or an organisation. Send firstName and lastName for a person and name for an organisation. organisation links a person by id, or by name, which creates the organisation when it does not exist yet. Without owner, the party goes to the connected user.
- Update partyPUTUpdates a person or an organisation; fields left out stay unchanged. In the arrays, an item without id is added, an item with id is changed, and an item with id and _delete set to true is removed. The ids come from Get party.
- List opportunitiesGETLists the opportunities of the account, with party, milestone, value and expectedCloseOn, 50 per page by default. Paginate with page, starting at 1, and perPage, up to 100; a page shorter than perPage is the last one.
- Create opportunityPOSTCreates an opportunity for a party, at a milestone of a pipeline. name, party and milestone are required.
- Update opportunityPUTUpdates an opportunity; fields left out stay unchanged. Moving it to another milestone, such as Won or Lost, is a change of milestone.
- List pipelinesGETLists the sales pipelines of the account. Use the id of a pipeline in List pipeline milestones.
- List pipeline milestonesGETLists the milestones of a pipeline, with the probability of each; complete is true on the ones that close the opportunity, such as Won and Lost. Use the id of a milestone as milestone in the opportunity tools.
API key
Your customer pastes the app's key on a Connect screen, or your system sends the key with POST /api/customer-toolkits, with no screen.
OAuth with your product's app
You register your product's OAuth app once, with POST /api/merchants/credentials/capsule, and your customer authorizes the account on a consent screen. Connect renews the token when it is about to expire.
Questions about the Capsule CRM toolkit
Do I need to build against the Capsule CRM API?
No. Connect ships 15 Capsule CRM tools, described and ready. Your customer connects the account and your system calls every tool through the same endpoint, with the same request format.
How does my customer connect their Capsule CRM account?
With the mode the toolkit accepts: API key, OAuth with your product's app. Connect stores the credential encrypted and never returns it to your system.
Does it work with AI agents?
Yes. Each tool's input is described in JSON Schema, which your agent uses directly as a tool definition. The agent picks the tool and the arguments, and your system makes the call to Connect.
Does my customer need a Reportei account?
No. Your customer connects the account on a Connect screen, or your system sends the credential through the API, and they keep using only your product.
Toolkits in the same category
See all 100 toolkitsSee Connect applied to your product.
Try it for 15 days with no card, or walk our team through your use case.
