API reference
Every endpoint of the Mochi Public API, generated from the OpenAPI contract.
Leads
List leads and tag several at once.
- GET
/v1/leads/ - POST
/v1/leads/bulk/tags/
Lead
Read one lead, update its stage, assignment, contact details and tags.
- GET
/v1/leads/{lead_id}/ - PATCH
/v1/leads/{lead_id}/ - PUT
/v1/leads/{lead_id}/assignment/ - PATCH
/v1/leads/{lead_id}/contact/ - +4 more
Follow-ups
Schedule a follow-up message to a lead.
- POST
/v1/leads/{lead_id}/follow-ups/
Signals
Buying signals Mochi detects in conversations.
- GET
/v1/signals/
Bookings
Calls booked through connected calendars.
- GET
/v1/bookings/
Revenue
Revenue summary, provider transactions and manual payments.
- GET
/v1/revenue/manual/ - GET
/v1/revenue/summary/ - GET
/v1/revenue/transactions/
Analytics
Funnel, team, message, reply-rate and link metrics.
- GET
/v1/analytics/benchmarks/ - GET
/v1/analytics/funnel/ - GET
/v1/analytics/links/ - GET
/v1/analytics/messages/ - +3 more
Team
List, invite and deactivate team members.
- POST
/v1/team/invites/ - GET
/v1/team/members/ - POST
/v1/team/members/{member_id}/deactivate/
Config
Funnels and tags configured for the organization.
- GET
/v1/config/funnels/ - GET
/v1/config/tags/
Prompts
Update the AI prompts of the organization.
- PUT
/v1/config/prompts/{prompt_kind}/
Tag prompts
Update the AI prompt behind one tag.
- PUT
/v1/config/prompts/tags/{tag_id}/
Send policy
What the organization allows integrations to send.
- GET
/v1/send-policy/
Keyword automations
Create a keyword-triggered automation draft.
- POST
/v1/automations/keyword/
Automation definitions
Create, validate and update automation definitions.
- GET
/v1/automations/definitions/ - POST
/v1/automations/definitions/ - GET
/v1/automations/definitions/assets/ - GET
/v1/automations/definitions/capabilities/ - +3 more
Flows
List flows and start flow runs.
- GET
/v1/flows/ - POST
/v1/flows/ - GET
/v1/flows/runs/{run_id}/ - GET
/v1/flows/{flow_id}/ - +1 more
Content
Create, update and delete content items.
- POST
/v1/content/ - DELETE
/v1/content/{content_item_id}/ - PATCH
/v1/content/{content_item_id}/
Media
Upload media for messages and automations.
- POST
/v1/media/
Links
Create tracked links.
- POST
/v1/links/
Connections
List integrations and start an OAuth connection.
- GET
/v1/connections/ - POST
/v1/connections/
Stripe
Connect or disconnect Stripe.
- DELETE
/v1/connections/stripe/ - POST
/v1/connections/stripe/
Whop
Connect or disconnect Whop.
- DELETE
/v1/connections/whop/ - POST
/v1/connections/whop/
Ablefy
Connect or disconnect Ablefy.
- DELETE
/v1/connections/ablefy/ - POST
/v1/connections/ablefy/
Fanbasis
Connect or disconnect Fanbasis.
- DELETE
/v1/connections/fanbasis/ - POST
/v1/connections/fanbasis/
iClosed
Connect or disconnect iClosed.
- DELETE
/v1/connections/iclosed/ - POST
/v1/connections/iclosed/
ElevenLabs
Store an ElevenLabs credential for voice.
- POST
/v1/connections/elevenlabs/