Custom connections
When configuring a custom connection in an agent platform, use:
Validate the connection with
GET /me first. The returned organization.id
is the connection’s stable identity.
Claude Code and Codex
For Claude Code and Codex, the recommended path is the Bevits MCP server: the connection uses OAuth, no API key is stored in the configuration, and the agent gets 20 read-only tools out of the box. If you prefer to use the REST API directly, Claude Code and Codex can also call it through their terminal tools. Start the tool with the variable available in its environment:Recommended CRM workflow
To answer “who are the best customers in the VIP segment and what did they buy?”, the agent can use only three steps:GET /segments?q=VIPto find the segment.GET /segments/{segment_id}/customers?sort=total_spentto rank its customers.GET /customers/{customer_id}/purchasesto query the selected customer’s purchases.