Developers · API and MCP

Build on Mango.

Mango is an AI office manager for service businesses — it answers calls, helps book work, follows up commercial proposals and invoices, and chases payment. Its published integration capabilities are available through REST, MCP, and webhooks; Console Aimee uses a separate session-bound owner surface for private account operations.

Three faces, one core

One core, deliberate projections.

Write a script against REST, let an AI agent use an approved MCP tool, or wire real-time webhooks into your stack. Each surface has its own allowlist and permissions; an external key never inherits Console Aimee's private owner controls.

REST API

For apps, scripts & back-office

A versioned, scope-filtered /v1 integration surface for published business records and actions. Consistent envelopes, typed errors, idempotency keys, and cursor pagination — the dependable stuff integrations are built on.

curl
curl https://mangodesk.app/api/v1/work-contexts \
  -H "Authorization: Bearer mrk_live_..."

MCP server

For Claude, ChatGPT & your own agents

Mango speaks the Model Context Protocol natively. Use the authenticated tenant endpoint for a real business connection; the public endpoint is only for product questions. Tenant tools are published and filtered to each key's or grant's scopes.

mcp.json
{
  "mcpServers": {
    "mango": {
      "url": "https://mangodesk.app/mcp/v1",
      "headers": { "Authorization": "Bearer $MANGO_ACCESS_TOKEN" }
    }
  }
}

Webhooks

For real-time sync & no-code

Get a signed event the moment a call lands or a booking is made — so teams stop entering the same work context twice. HMAC-signed, retried, replayable. The backbone of the Zapier app.

http
POST https://your-app.com/hooks/mango
Mango-Signature: t=1720742400,v1=5f8b2c...
{ "type": "booking.created", "data": { ... } }

Quickstart

From zero to your first call in four steps.

1

Create a key

In your console, open Settings → API keys, name a key, and pick its scopes. You'll see the secret once — store it safely.

2

Verify it

Confirm the key resolves to your business and scopes.

curl
curl https://mangodesk.app/api/v1/me \
  -H "Authorization: Bearer mrk_live_..."
3

Make a request

List this week's work contexts — or create a contact. Every non-GET REST write requires an Idempotency-Key header; a write without one returns 400 with code idempotency_key_required. Reuse the same key only to retry the exact same request. Missing-key response: { "error": { "type": "idempotency_error", "code": "idempotency_key_required", "message": "Send an Idempotency-Key header with this request, and reuse the same key only when retrying the exact same action." } }

curl
curl -X POST https://mangodesk.app/api/v1/contacts \
  -H "Authorization: Bearer mrk_live_..." \
  -H "Idempotency-Key: 8f3a-..." \
  -d '{ "name": "Dana Reeve", "phone": "+61400000000" }'
4

Connect your platform

For one business, give your platform the scoped key as a Bearer credential. For a multi-tenant platform, use OAuth 2.1 + PKCE so each owner signs in, reviews scopes and can revoke access. Then use the same Bearer credential with https://mangodesk.app/mcp/v1 or REST, and subscribe to verified webhooks for changes.

Authentication & scopes

Scoped keys. Least privilege by default.

Keys are Stripe-style secrets (mrk_live_… / mrk_test_…), hashed at rest, revocable, and attributed. A key can do only what its scopes allow — enforced on our side, never trusted from the request. Partner apps use OAuth 2.1 authorization code + S256 PKCE Live now so the business owner can review scopes and revoke access without sharing a key. Never put a Mango key in browser code, a mobile app binary, a chat transcript or a webhook URL. Test keys (mrk_test_…) are issued by an owner or admin session with env "test". A test key is a live key: its writes are real records, its reads see every row, and its messages, owner mail, booking cancels that move a deposit refund and webhook events run as a live key's do. It reaches every tool and route a live key with the same scopes reaches.

What still needs a human. A key or OAuth grant can do most of the business, but these steps stay with the owner: paying through Stripe-hosted checkout (payment happens on Stripe's page, never through the API); the accounting provider's consent screen; a one-time secret (API key, webhook signing secret, calendar feed link), emailed to the owner and never returned by a tool; approving an account closure from an emailed link; the emailed sign-in link for an owner's first sign-in to Console; owner re-verification when an owner's authority has been disabled; and SMTP credentials, which are entered in Console only. The AI-spend cap is headless: llm_budget_get and llm_budget_set.

Read

Choose only what the integration needs.

  • contacts:read
  • work_contexts:read
  • schedule:read
  • calls:read
  • commercial_proposals:read
  • invoices:read
  • kb:read
  • files:read
  • integrations:read

Write

Create and update published records.

  • contacts:write
  • work_contexts:write
  • schedule:write
  • followups:write
  • invoices:write
  • invoices:issue
  • invoices:mark_paid
  • files:write
  • imports:write

Send

Reach out on the business's behalf.

  • messages:send
  • commercial_proposals:send
  • files:send

Destructive

Explicit and never bundled into a default grant.

  • bookings:cancel
  • contacts:delete
  • work_contexts:delete
  • followups:delete
  • invoices:delete
  • commercial_proposals:delete

Area scopes

Each area has a read, a write and an act scope. Act is consequential and confirm-gated. A key carries only the areas it was granted.

  • invoicing: invoicing:read invoicing:write invoicing:act
  • crew: crew:read crew:write crew:act
  • crm: crm:read crm:write crm:act
  • jobs: jobs:read jobs:write jobs:act
  • scheduling: scheduling:read scheduling:write scheduling:act
  • accounting: accounting:read accounting:write accounting:act
  • settings: settings:read settings:write settings:act
  • messaging: messaging:read messaging:write messaging:act
  • brief: brief:read brief:write brief:act
  • vault: vault:read vault:write vault:act
  • payments: payments:read payments:write payments:act
  • billing: billing:read billing:write billing:act
  • knowledge: knowledge:read knowledge:write knowledge:act
  • account: account:read account:write account:act

owner:full expands to every fine owner scope when a key is issued with it.

REST API

Live now

A scoped integration surface, not an exported console.

Rate limits are per key and per 15-minute window: 600 read requests and 120 write requests. Requests over the limit are refused with HTTP 429 and a Retry-After header.

Predictable published resources under https://mangodesk.app/api/v1. Consistent { data } envelopes (lists add has_more and next_cursor), typed errors as { error: { type, code, message } }, cursor pagination, and an OpenAPI 3.1 spec at https://mangodesk.app/api/v1/openapi.json. Owner actions, including plan changes, are listed only to keys and grants whose scopes allow them. A paid plan change completes in Stripe's billing portal. Limits: 600 reads and 120 writes per API key per 15 minutes. Responses to authenticated calls carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (epoch seconds); a call over the limit returns 429 rate_limited with Retry-After. Responses to authenticated calls carry an X-Request-Id header. A plan's booking allowance is counted per billing cycle; once it is used up the booking is refused and the refusal names the plan and the number, for example "You've reached Mango Pro's 25 bookings for this cycle."

ResourceMethodsScope
accountverify the key · resolve business and scopesany valid key
contactslist · get · create · update · notes · deletecontacts:*
work-contextslist · get · create · update · book appointment · notes · deletework_contexts:*
bookingslist · get · create · reschedule · cancelschedule:* · bookings:cancel
availabilityget policy · list offered slotsschedule:read
followupslist · get · create · complete · deletecontacts:read · followups:write · followups:delete
commercial_proposalslist · get · send · deletecommercial_proposals:read · commercial_proposals:send · commercial_proposals:delete
invoiceslist · get · create · issue · mark paid · deleteinvoices:read · invoices:write · invoices:issue · invoices:mark_paid · invoices:delete
callslist · getcalls:read
messagessend (SMS / email)messages:send
fileslist · get metadata · send · deletefiles:read · files:send · files:write (delete)
kbsearch · list documents · get documentkb:read
noteslist · getcontacts:read
agentget the capability manifestany valid key
contextget the agent session contextany valid key
settingsget business settingsany valid key
importscreate or update up to 200 records per call, deduplicated by externalRefimports:write
intakeget a caller's intake status by phone number (status only, never answers)contacts:read
integrationslist regional connection pathsintegrations:read
webhooksmanage · inspect · replayowner or admin Console session; API keys with the settings scope, through the developer_webhook tools on /mcp/v1. Not on /api/v1.

Routes

Every route below is documented in the OpenAPI 3.1 document at https://mangodesk.app/api/v1/openapi.json.

  • GET /api/v1/agent/manifest
  • GET /api/v1/availability
  • GET /api/v1/availability/slots
  • GET /api/v1/bookings
  • GET /api/v1/bookings/{id}
  • GET /api/v1/calls
  • GET /api/v1/calls/{id}
  • GET /api/v1/commercial-proposals
  • GET /api/v1/commercial-proposals/{id}
  • GET /api/v1/contacts
  • GET /api/v1/contacts/{id}
  • GET /api/v1/context
  • GET /api/v1/files
  • GET /api/v1/files/{id}
  • GET /api/v1/followups
  • GET /api/v1/followups/{id}
  • GET /api/v1/intake/status
  • GET /api/v1/integrations
  • GET /api/v1/integrations/servicem8
  • GET /api/v1/invoices
  • GET /api/v1/invoices/{id}
  • GET /api/v1/kb/documents
  • GET /api/v1/kb/documents/{id}
  • GET /api/v1/kb/search
  • GET /api/v1/me
  • GET /api/v1/notes
  • GET /api/v1/notes/{id}
  • GET /api/v1/openapi.json
  • GET /api/v1/settings
  • GET /api/v1/work-contexts
  • GET /api/v1/work-contexts/{id}
  • PATCH /api/v1/contacts/{id}
  • PATCH /api/v1/work-contexts/{id}
  • POST /api/v1/bookings
  • POST /api/v1/bookings/{id}/cancel
  • POST /api/v1/bookings/{id}/reschedule
  • POST /api/v1/commercial-proposals/{id}/delete
  • POST /api/v1/commercial-proposals/{id}/send
  • POST /api/v1/contacts
  • POST /api/v1/contacts/{id}/delete
  • POST /api/v1/contacts/{id}/notes
  • POST /api/v1/files/{id}/delete
  • POST /api/v1/files/{id}/send
  • POST /api/v1/followups
  • POST /api/v1/followups/{id}/complete
  • POST /api/v1/followups/{id}/delete
  • POST /api/v1/imports
  • POST /api/v1/invoices
  • POST /api/v1/invoices/{id}/delete
  • POST /api/v1/invoices/{id}/issue
  • POST /api/v1/invoices/{id}/mark-paid
  • POST /api/v1/messages
  • POST /api/v1/work-contexts
  • POST /api/v1/work-contexts/{id}/appointment
  • POST /api/v1/work-contexts/{id}/delete
  • POST /api/v1/work-contexts/{id}/notes

Model Context Protocol

Agent access with clear capability boundaries.

On the public owner-signup MCP at https://mangodesk.app/mcp, mutating owner tools are limited to 12 calls per hour per IP by default; owner__continue and owner__get_status allow 60 calls per hour per IP for polling.

Connect Claude, ChatGPT, a field-service platform or your own agent to the endpoint that matches its task. Marketing MCP answers public product questions. A real service-business platform connection uses authenticated tenant MCP at https://mangodesk.app/mcp/v1 with a scoped API key or OAuth access token. Tools are filtered on the server by the bound tenant and scopes. Console Aimee uses a separate session-bound private registry for owner-approved operations.

Connecting a client

Mango speaks the ordinary MCP handshake, so any standard client connects with no custom code: send initialize, then notifications/initialized, then tools/list. Supported revisions are 2025-11-25, 2025-06-18 and 2025-03-26; ask for anything else and the server negotiates down to one it supports rather than failing — read result.protocolVersion and carry on. No bespoke headers are needed, and Mcp-Session-Id is accepted and ignored because Mango keeps no transport session.

initialize
curl -X POST https://mangodesk.app/mcp/v1 \
  -H "Authorization: Bearer $MANGO_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{
        "protocolVersion":"2025-06-18",
        "capabilities":{},
        "clientInfo":{"name":"your-app","version":"1.0.0"}}}'

There is also an opt-in stateless dialect, 2026-07-28 — no handshake, per-request params._meta, and Mcp-Method/Mcp-Name headers that must match the request. You only get it by explicitly declaring that version, so ignore it unless you want it.

Live now Public receptionist

Answer-engine and agent tools — pricing, how-it-works, capture an enquiry, book an onboarding call. No key required.

mcp.json
{
  "mcpServers": {
    "mango": { "url": "https://mangodesk.app/mcp" }
  }
}

Live now Authenticated tenant tools

Published tenant operations, scoped to a key or OAuth grant, at https://mangodesk.app/mcp/v1. Connect with Authorization: Bearer <credential>; call account__me first to verify the bound business and scopes, then list tools. Tools are filtered to the caller's scopes—an agent sees only the explicitly released capabilities. Billing plan and specialist-agent changes are owner-confirmed on this endpoint for keys with the billing scope; a paid change completes in Stripe's billing portal.

MCP discovery
curl -X POST https://mangodesk.app/mcp/v1 \
  -H "Authorization: Bearer $MANGO_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
Readaccount__meaccount__contextagent__manifestsettings__getcontacts__listcontacts__getwork_contexts__listwork_contexts__getbookings__listbookings__getavailability__getavailability__slotscalls__listcalls__getcommercial_proposals__listcommercial_proposals__getinvoices__listinvoices__getfollowups__listfollowups__getfiles__listfiles__getnotes__listnotes__getkb__searchkb__documents__listkb__documents__getintegrations__catalogintegrations__servicem8__statusintake__status
Actcontacts__createcontacts__updatecontacts__notes__creatework_contexts__creatework_contexts__updatework_contexts__notes__creatework_contexts__book_appointmentbookings__createbookings__reschedulefollowups__createfollowups__completeinvoices__createinvoices__issueinvoices__mark_paidcommercial_proposals__sendfiles__sendmessages__sendimports__create
Destructivebookings__cancelcontacts__deletework_contexts__deleteinvoices__deletecommercial_proposals__deletefollowups__deletefiles__delete

Deleting a record removes it from your view permanently — 404 afterward, gone from every list — but a delete that would strand open work or an unsettled document refuses with 409 and a blockers list naming exactly what's in the way, never a silent cascade. A paid invoice specifically refuses deletion (Australian tax retention). Two operations are deliberately not published: commercial-proposal create (no bare-entry path — quotes are cost-model-driven) and invoice update (no edit primitive exists anywhere in Mango, Console included); create → delete → recreate covers a correction. Bringing in another system's history at once, not just one record at a time? imports__create creates or updates up to 200 records per call, deduplicated by your own externalRef so re-submitting the same data updates instead of duplicating.

Webhooks

Live now

Stop teams entering every work context twice.

Owners and admins manage endpoint URLs in Console, and an API key with the settings scope can manage them through the developer_webhook tools on /mcp/v1. Mango pushes the verified events below, retries failures with backoff, and preserves a replayable delivery log. Verify the timestamped Mango-Signature HMAC-SHA256 header over timestamp.raw_body, reject stale timestamps, and de-duplicate on the stable event ID before processing a payload. Delivery is at least once; do not treat a retry as a new work context.

webhook.pingcontact.createdbooking.createdcall.completed

Connected apps

Meet every platform where it already works.

ServiceM8 is the first provider adapter. An owner or admin authorizes it from Console and chooses read-only or read/write access. Mango imports ServiceM8 contacts, work contexts, and scheduled activities; read/write mode can export Mango-origin contacts, work contexts, and appointments. Provider credentials are encrypted, webhook notifications are de-duplicated, and disconnect revokes the local connection. ServiceM8 appears in Console integrations when its provider credentials are configured.

For any other platform, call GET /integrations?market=AU|NZ|GB|US or the authenticated integrations__catalog MCP tool. It distinguishes a live native connector from a bring-your-own REST/MCP/webhook path, planned work and partner programmes—so an integrator is never misled by a logo wall. simPRO, Fergus, BigChange and Jobber are planned adapter tracks; Tradify, Housecall Pro and ServiceTitan require provider partnership or approval. If the platform runs an agent, it can use authenticated MCP. Known-party Aimee-to-Aimee coordination is deliberately narrower: it exchanges only approved availability inside a relationship-specific mandate, not customer data, price, scope, contract or payment terms.

Access points

Everything an agent needs to discover us.

Machine-readable entry points — hit them directly, or let an AI agent find its own way in.

Developer access

Create a scoped key or register an OAuth client.

Owners can create API keys in Console. Partner apps can use the OAuth discovery metadata and authorization flow; contact us when you need a confidential client registration or integration review.

Try Aimee

Tool catalogue

Every authenticated tenant tool: its MCP name, REST call, scope, inputs, output and one example. Generated from the registries by scripts/seo/build-agent-catalogue.ts.

ToolCallScopeInputsOutputExample
account__meGET /api/v1/menonenoneOne object. Connection-test identity for the calling key.curl -X GET 'https://mangodesk.app/api/v1/me' -H 'Authorization: Bearer mrk_live_...'
contacts__listGET /api/v1/contactscontacts:readlimit query, integer, optional. Page size, 1–100 (default 50).
starting_after query, string, optional. Cursor — an object id to page after (newest-first order).
Cursor page: data, has_more, next_cursor of Contact.curl -X GET 'https://mangodesk.app/api/v1/contacts?limit=10' -H 'Authorization: Bearer mrk_live_...'
contacts__getGET /api/v1/contacts/{id}contacts:readid path, string, required. The contact id.One object of Contact.curl -X GET 'https://mangodesk.app/api/v1/contacts/<id>' -H 'Authorization: Bearer mrk_live_...'
intake__statusGET /api/v1/intake/statuscontacts:readcaller_phone query, string, required. The client's phone number.One object. The caller's own intake status only: no answer and no health detail.curl -X GET 'https://mangodesk.app/api/v1/intake/status' -H 'Authorization: Bearer mrk_live_...'
contacts__createPOST /api/v1/contactscontacts:writeIdempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
name body, string, optional.
phone body, string, optional.
email body, string, optional.
address body, string, optional.
status body, string, optional. e.g. new | active | customer.
source body, string, optional.
tags body, array of string, optional.
notes body, string, optional. Saved profile notes.
One object of WriteResult.curl -X POST 'https://mangodesk.app/api/v1/contacts' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>'
contacts__updatePATCH /api/v1/contacts/{id}contacts:writeid path, string, required. The contact id.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
name body, string, optional.
phone body, string, optional.
email body, string, optional.
address body, string, optional.
status body, string, optional.
source body, string, optional.
tags body, array of string, optional.
replace_tags body, boolean, optional. Replace tags instead of merging.
notes body, string, optional.
One object of WriteResult.curl -X PATCH 'https://mangodesk.app/api/v1/contacts/<id>' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>'
work_contexts__listGET /api/v1/work-contextswork_contexts:readlimit query, integer, optional. Page size, 1–100 (default 50).
starting_after query, string, optional. Cursor — an object id to page after (newest-first order).
Cursor page: data, has_more, next_cursor of WorkContext.curl -X GET 'https://mangodesk.app/api/v1/work-contexts?limit=10' -H 'Authorization: Bearer mrk_live_...'
work_contexts__getGET /api/v1/work-contexts/{id}work_contexts:readid path, string, required. The work-context id.One object of WorkContext.curl -X GET 'https://mangodesk.app/api/v1/work-contexts/<id>' -H 'Authorization: Bearer mrk_live_...'
work_contexts__createPOST /api/v1/work-contextswork_contexts:writeIdempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
title body, string, required. Short work-context title.
summary body, string, optional.
workTypeKey body, string, optional. Canonical work-type key. The server resolves its display label from the active industry binding.
serviceRecipientContactId body, string, optional.
billingRecipientContactId body, string, optional.
serviceLocation body, string, optional.
One object of WriteResult.curl -X POST 'https://mangodesk.app/api/v1/work-contexts' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>' -H 'Content-Type: application/json' -d '{"title":"example"}'
work_contexts__updatePATCH /api/v1/work-contexts/{id}work_contexts:writeid path, string, required. The work-context id.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
title body, string, optional.
summary body, string, optional.
serviceLocation body, string, optional.
lifecycleStatus body, one of draft, open, active, waiting, completed, cancelled, archived, optional. New canonical lifecycle status. Routed through the validated lifecycle writer. Setting "archived" reaches the same terminal state as POST /work-contexts/{id}/delete and enforces the identical rules: it requires the work_contexts:delete scope (not just work_contexts:write, which covers every other field here) and refuses with work_context_has_open_references if an open invoice or proposal is still attached.
note body, string, optional.
One object of WriteResult.curl -X PATCH 'https://mangodesk.app/api/v1/work-contexts/<id>' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>'
work_contexts__book_appointmentPOST /api/v1/work-contexts/{id}/appointmentwork_contexts:writeid path, string, required. The work-context id to book the appointment on.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
appointmentStartAt body, string, required. ISO 8601 start with timezone offset.
appointmentEndAt body, string, optional. ISO 8601 end with timezone offset (optional).
callerName body, string, optional.
callerPhone body, string, optional.
callerEmail body, string, optional.
contactId body, string, optional.
serviceTypeId body, string, required.
calendarId body, string, optional.
serviceLocation body, string, optional.
serviceAddressConfirmed body, boolean, optional. Required true for an on-site service after the exact address has been verified.
bookingFormAnswers body, object, optional. Answers keyed by the selected service's canonical booking-form field ids.
idempotencyKey body, string, optional. Optional body-level replay key; the Idempotency-Key header remains authoritative.
summary body, string, optional.
source body, string, optional. call | sms | web_chat | manual.
One object of WriteResult.curl -X POST 'https://mangodesk.app/api/v1/work-contexts/<id>/appointment' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>' -H 'Content-Type: application/json' -d '{"appointmentStartAt":"example","serviceTypeId":"example"}'
followups__listGET /api/v1/followupscontacts:readlimit query, integer, optional. Page size, 1–100 (default 50).
starting_after query, string, optional. Cursor — an object id to page after (newest-first order).
Cursor page: data, has_more, next_cursor of Followup.curl -X GET 'https://mangodesk.app/api/v1/followups?limit=10' -H 'Authorization: Bearer mrk_live_...'
followups__getGET /api/v1/followups/{id}contacts:readid path, string, required. The follow-up id.One object of Followup.curl -X GET 'https://mangodesk.app/api/v1/followups/<id>' -H 'Authorization: Bearer mrk_live_...'
followups__createPOST /api/v1/followupsfollowups:writeIdempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
contactId body, string, optional.
workContextId body, string, optional.
dueAt body, string, optional. ISO 8601 due date.
dueInDays body, number, optional.
loopType body, string, optional.
reason body, string, optional.
One object of WriteResult.curl -X POST 'https://mangodesk.app/api/v1/followups' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>'
followups__completePOST /api/v1/followups/{id}/completefollowups:writeid path, string, required. The follow-up id.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
resolution body, string, optional.
status body, string, optional. resolved (default) | dismissed.
One object of WriteResult.curl -X POST 'https://mangodesk.app/api/v1/followups/<id>/complete' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>'
calls__listGET /api/v1/callscalls:readlimit query, integer, optional. Page size, 1–100 (default 50).
starting_after query, string, optional. Cursor — an object id to page after (newest-first order).
Cursor page: data, has_more, next_cursor of Call.curl -X GET 'https://mangodesk.app/api/v1/calls?limit=10' -H 'Authorization: Bearer mrk_live_...'
calls__getGET /api/v1/calls/{id}calls:readid path, string, required. The call id.One object of Call.curl -X GET 'https://mangodesk.app/api/v1/calls/<id>' -H 'Authorization: Bearer mrk_live_...'
invoices__listGET /api/v1/invoicesinvoices:readlimit query, integer, optional. Page size, 1–100 (default 50).
starting_after query, string, optional. Cursor — an object id to page after (newest-first order).
Cursor page: data, has_more, next_cursor of Invoice.curl -X GET 'https://mangodesk.app/api/v1/invoices?limit=10' -H 'Authorization: Bearer mrk_live_...'
invoices__getGET /api/v1/invoices/{id}invoices:readid path, string, required. The invoice id.One object of Invoice.curl -X GET 'https://mangodesk.app/api/v1/invoices/<id>' -H 'Authorization: Bearer mrk_live_...'
commercial_proposals__listGET /api/v1/commercial-proposalscommercial_proposals:readlimit query, integer, optional. Page size, 1–100 (default 50).
starting_after query, string, optional. Cursor — an object id to page after (newest-first order).
Cursor page: data, has_more, next_cursor of CommercialProposal.curl -X GET 'https://mangodesk.app/api/v1/commercial-proposals?limit=10' -H 'Authorization: Bearer mrk_live_...'
commercial_proposals__getGET /api/v1/commercial-proposals/{id}commercial_proposals:readid path, string, required. The commercial proposal id.One object of CommercialProposal.curl -X GET 'https://mangodesk.app/api/v1/commercial-proposals/<id>' -H 'Authorization: Bearer mrk_live_...'
bookings__listGET /api/v1/bookingsschedule:readlimit query, integer, optional. Page size, 1–100 (default 50).
starting_after query, string, optional. Cursor — an object id to page after (newest-first order).
from query, string, optional.
to query, string, optional.
status query, string, optional.
Cursor page: data, has_more, next_cursor of PublicBooking.curl -X GET 'https://mangodesk.app/api/v1/bookings?limit=10' -H 'Authorization: Bearer mrk_live_...'
bookings__getGET /api/v1/bookings/{id}schedule:readid path, string, required. The booking id.One object of PublicBooking.curl -X GET 'https://mangodesk.app/api/v1/bookings/<id>' -H 'Authorization: Bearer mrk_live_...'
availability__getGET /api/v1/availabilityschedule:readnoneOne object of Availability.curl -X GET 'https://mangodesk.app/api/v1/availability' -H 'Authorization: Bearer mrk_live_...'
availability__slotsGET /api/v1/availability/slotsschedule:readfrom query, string, optional. ISO 8601 start of the search window. Defaults to now.
to query, string, optional. ISO 8601 end of the search window. Defaults to 14 days out.
service_type_id query, string, optional. Service to be booked. Defaults to the standard service.
calendar_id query, string, optional. Exact named calendar. Required when more than one eligible calendar can serve the service.
booking_id query, string, optional. Existing booking id when requesting reschedule-bound offers.
address query, string, optional. Site address, required for on-site services so travel feasibility can be checked.
limit query, integer, optional. Maximum slots to return.
Unpaged list: data of BookableSlot.curl -X GET 'https://mangodesk.app/api/v1/availability/slots' -H 'Authorization: Bearer mrk_live_...'
integrations__catalogGET /api/v1/integrationsintegrations:readmarket query, one of AU, NZ, GB, US, optional. Filter for AU, NZ, GB (United Kingdom), or US.Unpaged list: data of IntegrationProvider.curl -X GET 'https://mangodesk.app/api/v1/integrations' -H 'Authorization: Bearer mrk_live_...'
integrations__servicem8__statusGET /api/v1/integrations/servicem8integrations:readnoneUnpaged list: data of Integration.curl -X GET 'https://mangodesk.app/api/v1/integrations/servicem8' -H 'Authorization: Bearer mrk_live_...'
bookings__createPOST /api/v1/bookingsschedule:writeIdempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
customerName body, string, required.
serviceTypeId body, string, required.
selectedOffer body, string, required. Opaque selected_offer returned by GET /availability/slots. Pass it back unchanged.
customerPhone body, string, optional.
customerEmail body, string, optional.
address body, string, optional.
serviceAddressConfirmed body, boolean, optional.
statedPriceAccepted body, boolean, optional. True only after the customer explicitly accepts the approved stated price for the selected service. Required for a priced service; a price-free service needs none.
contactId body, string, optional.
workContextId body, string, optional.
bookingFormAnswers body, object, optional. Typed booking questionnaire answers keyed by field id.
contextText body, string, optional.
One object. Booking result: ok, the created booking (Booking), and a message.curl -X POST 'https://mangodesk.app/api/v1/bookings' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>' -H 'Content-Type: application/json' -d '{"customerName":"example","serviceTypeId":"example","selectedOffer":"example"}'
bookings__reschedulePOST /api/v1/bookings/{id}/rescheduleschedule:writeid path, string, required. The booking id to reschedule.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
selectedOffer body, string, required. Opaque selected_offer issued for this booking's reschedule.
One object. Booking result: ok, the rescheduled booking (Booking), and a message.curl -X POST 'https://mangodesk.app/api/v1/bookings/<id>/reschedule' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>' -H 'Content-Type: application/json' -d '{"selectedOffer":"example"}'
bookings__cancelPOST /api/v1/bookings/{id}/cancelbookings:cancelid path, string, required. The booking id to cancel.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
reason body, string, optional.
One object. Booking result: ok, the cancelled booking (Booking), and a message.curl -X POST 'https://mangodesk.app/api/v1/bookings/<id>/cancel' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>'
files__listGET /api/v1/filesfiles:readlimit query, integer, optional. Page size, 1–100 (default 50).
starting_after query, string, optional. Cursor — an object id to page after (newest-first order).
Cursor page: data, has_more, next_cursor of File.curl -X GET 'https://mangodesk.app/api/v1/files?limit=10' -H 'Authorization: Bearer mrk_live_...'
files__getGET /api/v1/files/{id}files:readid path, string, required. The file id.One object of File.curl -X GET 'https://mangodesk.app/api/v1/files/<id>' -H 'Authorization: Bearer mrk_live_...'
messages__sendPOST /api/v1/messagesmessages:sendIdempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
channel body, one of sms, email, required.
to body, string, required. Recipient phone (SMS) or email address.
purpose body, one of compliance_ack, account_activation, caller_followup, missed_call_text_back, conversation_reply, safety_reply, booking_confirmation, booking_update, booking_link_delivery, booking_link_chase, intake_correction_confirmation, intake_caller_change_confirmation, intake_client_copy, appointment_reminder, staff_reminder, appointment_status, commercial_proposal_delivery, invoice_delivery, outbound_call_follow_up, payment_receipt, tenant_billing_payment_failed, tenant_billing_suspension, card_expiry_look_ahead, deposit_request, commercial_change_approval, booking_refund, photo_request, completion_photo_delivery, service_recipient_message, service_recipient_message_marketing, vault_file_delivery, owner_notification, owner_safety_notification, platform_message, client_access_verification, participant_decision, work_invitation, tenant_member_invitation, nudge, work_context_thread_message, automation_service, client_broadcast, commercial_proposal_followup, review_request, review_followup, no_booking_followup, soft_deflect_followup, repeat_service_recipient_offer, campaign, lead_followup, waitlist_offer, required. Registered business purpose; determines service versus marketing compliance.
message body, string, optional. SMS body, or email body (alias of `body`).
subject body, string, optional. Email subject (email only).
body body, string, optional. Email body (email only).
One object of Message.curl -X POST 'https://mangodesk.app/api/v1/messages' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>' -H 'Content-Type: application/json' -d '{"channel":"sms","to":"example","purpose":"compliance_ack"}'
contacts__notes__createPOST /api/v1/contacts/{id}/notescontacts:writeid path, string, required. The contact id.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
workContextId body, string, optional.
text body, string, required.
One object of WriteResult.curl -X POST 'https://mangodesk.app/api/v1/contacts/<id>/notes' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>' -H 'Content-Type: application/json' -d '{"text":"example"}'
work_contexts__notes__createPOST /api/v1/work-contexts/{id}/noteswork_contexts:writeid path, string, required. The work context id.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
workContextId body, string, optional.
text body, string, required.
One object of WriteResult.curl -X POST 'https://mangodesk.app/api/v1/work-contexts/<id>/notes' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>' -H 'Content-Type: application/json' -d '{"text":"example"}'
invoices__createPOST /api/v1/invoicesinvoices:writeIdempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
workContextId body, string, required.
lineItems body, array of object, required.
taxRatePct body, number, optional.
One object of Invoice.curl -X POST 'https://mangodesk.app/api/v1/invoices' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>' -H 'Content-Type: application/json' -d '{"workContextId":"example","lineItems":[]}'
invoices__issuePOST /api/v1/invoices/{id}/issueinvoices:issueid path, string, required. The invoice id.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
sendToCustomer body, boolean, optional.
deliveryChannel body, one of sms, email, both, optional.
One object of Invoice.curl -X POST 'https://mangodesk.app/api/v1/invoices/<id>/issue' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>'
invoices__mark_paidPOST /api/v1/invoices/{id}/mark-paidinvoices:mark_paidid path, string, required. The invoice id.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
manualMethod body, one of cash, bank_transfer, eftpos, cheque, other, optional.
amountUsd body, number, optional.
manualReference body, string, optional.
manualNote body, string, optional.
One object of Invoice.curl -X POST 'https://mangodesk.app/api/v1/invoices/<id>/mark-paid' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>'
invoices__deletePOST /api/v1/invoices/{id}/deleteinvoices:deleteid path, string, required. The invoice id.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
One object of WriteResult.curl -X POST 'https://mangodesk.app/api/v1/invoices/<id>/delete' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>'
commercial_proposals__sendPOST /api/v1/commercial-proposals/{id}/sendcommercial_proposals:sendid path, string, required. The work context id.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
deliveryChannel body, one of sms, email, both, optional.
message body, string, optional.
One object of CommercialProposal.curl -X POST 'https://mangodesk.app/api/v1/commercial-proposals/<id>/send' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>'
commercial_proposals__deletePOST /api/v1/commercial-proposals/{id}/deletecommercial_proposals:deleteid path, string, required. The commercial proposal id.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
One object of WriteResult.curl -X POST 'https://mangodesk.app/api/v1/commercial-proposals/<id>/delete' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>'
contacts__deletePOST /api/v1/contacts/{id}/deletecontacts:deleteid path, string, required. The contact id.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
One object of WriteResult.curl -X POST 'https://mangodesk.app/api/v1/contacts/<id>/delete' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>'
work_contexts__deletePOST /api/v1/work-contexts/{id}/deletework_contexts:deleteid path, string, required. The work context id.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
One object of WriteResult.curl -X POST 'https://mangodesk.app/api/v1/work-contexts/<id>/delete' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>'
followups__deletePOST /api/v1/followups/{id}/deletefollowups:deleteid path, string, required. The follow-up id.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
One object of WriteResult.curl -X POST 'https://mangodesk.app/api/v1/followups/<id>/delete' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>'
files__deletePOST /api/v1/files/{id}/deletefiles:writeid path, string, required. The file id.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
One object of WriteResult.curl -X POST 'https://mangodesk.app/api/v1/files/<id>/delete' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>'
files__sendPOST /api/v1/files/{id}/sendfiles:sendid path, string, required. The file id.
Idempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
deliveryMethod body, one of sms, email, required.
to body, string, required.
message body, string, optional.
One object of WriteResult.curl -X POST 'https://mangodesk.app/api/v1/files/<id>/send' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>' -H 'Content-Type: application/json' -d '{"deliveryMethod":"sms","to":"example"}'
kb__searchGET /api/v1/kb/searchkb:readquery query, string, required. Search text.Cursor page: data, has_more, next_cursor. Knowledge document summaries for the query. Not paged: has_more is always false.curl -X GET 'https://mangodesk.app/api/v1/kb/search?limit=10' -H 'Authorization: Bearer mrk_live_...'
kb__documents__listGET /api/v1/kb/documentskb:readlimit query, integer, optional. Page size, 1–100 (default 50).
starting_after query, string, optional. Cursor — an object id to page after (newest-first order).
Cursor page: data, has_more, next_cursor. Knowledge document summaries. Not paged: has_more is always false.curl -X GET 'https://mangodesk.app/api/v1/kb/documents?limit=10' -H 'Authorization: Bearer mrk_live_...'
kb__documents__getGET /api/v1/kb/documents/{id}kb:readid path, string, required. The knowledge document id.One object. One knowledge document: summary fields plus its detail.curl -X GET 'https://mangodesk.app/api/v1/kb/documents/<id>' -H 'Authorization: Bearer mrk_live_...'
notes__listGET /api/v1/notescontacts:readlimit query, integer, optional. Page size, 1–100 (default 50).
starting_after query, string, optional. Cursor — an object id to page after (newest-first order).
contact_id query, string, optional. Filter to one contact.
work_context_id query, string, optional. Filter to one work context.
Cursor page: data, has_more, next_cursor. Staff notes (agent notes). Not paged: has_more is always false.curl -X GET 'https://mangodesk.app/api/v1/notes?limit=10' -H 'Authorization: Bearer mrk_live_...'
notes__getGET /api/v1/notes/{id}contacts:readid path, string, required. The note id.One object. One staff note.curl -X GET 'https://mangodesk.app/api/v1/notes/<id>' -H 'Authorization: Bearer mrk_live_...'
settings__getGET /api/v1/settingsnonenoneOne object. Business settings the console reads.curl -X GET 'https://mangodesk.app/api/v1/settings' -H 'Authorization: Bearer mrk_live_...'
account__contextGET /api/v1/contextnonenoneOne object. Agent session context: tenant, role, current view, and open items.curl -X GET 'https://mangodesk.app/api/v1/context' -H 'Authorization: Bearer mrk_live_...'
agent__manifestGET /api/v1/agent/manifestnonenoneOne object. Scoped menu of REST and MCP operations, with output_schemas for the resources it names.curl -X GET 'https://mangodesk.app/api/v1/agent/manifest' -H 'Authorization: Bearer mrk_live_...'
imports__createPOST /api/v1/importsimports:writeIdempotency-Key header, string, required. Required on every non-GET request. A write without it returns 400 with code idempotency_key_required. Reuse the same value only to retry this exact request.
resource body, one of contacts, work_contexts, followups, invoices, required.
records body, array of object, required.
dryRun body, boolean, optional.
One object of WriteResult. Per-row results and a summary.curl -X POST 'https://mangodesk.app/api/v1/imports' -H 'Authorization: Bearer mrk_live_...' -H 'Idempotency-Key: <unique-key>' -H 'Content-Type: application/json' -d '{"resource":"contacts","records":[]}'

Claude Code owner signup: claude mcp add --transport http mango-desk https://mangodesk.app/mcp