Features › API & MCP
Connect & measure · API & MCPRun YoLeads from Claude, ChatGPT or your code.
A REST API with an OpenAPI spec, an MCP server for AI assistants, and signed webhooks. All under the same safe limits as the app.
What it does
Everything in the app, as an API call.
REST API
Campaigns, leads, lists, inbox, analytics and accounts as clean JSON, described in an OpenAPI spec.
MCP server
Connect Claude, ChatGPT or any MCP client with OAuth. Tools are scoped by the key's role.
Webhooks
Signed events with retries when a lead accepts, replies or an account needs you.
How it works
A key, a call, an event.
- Create a key with the role you choose.
- Make a call. Actions are queued inside each account's limits.
- Listen for events with signed webhooks.
- Or connect an AI agent over MCP and ask in plain words.
# queue a connection request, sent when it's safe curl -X POST https://app.yoleads.io/api/v1/accounts/ACCOUNT_ID/connection-requests \ -H "Authorization: Bearer $HEYLEADS_API_KEY" \ -H "Idempotency-Key: order-1042" \ -d '{"profileUrl":"https://www.linkedin.com/in/ada"}' # 202 Accepted
What you get
Built for code and AI agents.
- REST API with an OpenAPI spec
- MCP server for Claude, ChatGPT and any MCP client
- OAuth for MCP clients
- Keys carry a role, never more than their creator
- Idempotency keys make retries safe
- Signed webhooks with retries and a delivery log
- Daily limits, working hours and the reply guard apply to every call
FAQ
Questions? Answers.
Do API calls bypass the limits?
No. Actions are queued and sent at a safe pace inside each account's limits, just like the app.
Which AI assistants work with the MCP server?
Claude, ChatGPT and any client that supports MCP. A key's role decides which tools the assistant can use.
Is there an SDK?
Use the REST API directly, or generate a client from the OpenAPI spec. For no-code, use webhooks with Zapier, Make or n8n.
Goes well with