These are the endpoints the MyCallDesk app in Zapier uses. They are scoped to one business: the API key identifies it, and every response contains that business's data only. All requests and responses are JSON over HTTPS.
The account owner opens Settings → Integrations → Zapier in MyCallDesk and presses Generate key. The key starts with mcd_zap_ and is shown once. Send it in the X-API-Key header of every request. Making a new key, or revoking it, stops the old key at once. A missing or invalid key returns 401.
Base URL: https://mycalldesk-api-cc-prod-dca7dqcncrbud6du.canadacentral-01.azurewebsites.net Header: X-API-Key: mcd_zap_xxxxxxxxxxxxxxxx
GET /api/zapier/me — used by Zapier to check the key. Returns the business the key belongs to.
curl -H "X-API-Key: mcd_zap_..." https://mycalldesk-api-cc-prod-dca7dqcncrbud6du.canadacentral-01.azurewebsites.net/api/zapier/me
200 OK
{ "business_id": "0b0f...", "business_name": "Acme Plumbing" }The four triggers use REST hooks. When a Zap is turned on, Zapier subscribes a webhook URL; MyCallDesk then POSTs each new record to it. When the Zap is turned off, Zapier removes the subscription.
POST /api/zapier/hooks
| Field | Type | Description |
|---|---|---|
event | string | One of new_call, new_lead, new_appointment, new_login. |
target_url | string | The https://hooks.zapier.com/… URL to POST to. Only Zapier hook URLs are accepted. |
POST /api/zapier/hooks
{ "event": "new_call", "target_url": "https://hooks.zapier.com/hooks/standard/123/abc/" }
201 Created
{ "id": "6f1c0d5e-..." }Subscribing the same event and URL again returns the existing id. Invalid input returns 400 with { "success": false, "msg": "…" }.
DELETE /api/zapier/hooks/{id} — returns 200 with { "success": true }.
MyCallDesk POSTs the record as a JSON object (fields below) to the subscribed URL as soon as it exists: a call after the AI has finished analysing it, a lead when it is created, an appointment when it is booked, a login when a user of the business signs in. Each record is sent once per subscription. If Zapier answers 410 Gone, the subscription is removed. Dates are ISO-8601 UTC.
GET /api/zapier/triggers/{event} — the newest records (up to 5) for the Zap editor. event is new_call, new_lead, new_appointment or new_login; anything else returns 404. When the business has no records yet, sample records are returned.
| Field | Type | Description |
|---|---|---|
id | string | Call id. |
direction | string | Inbound or Outbound. |
status | string | Call status. |
from_number / to_number | string | Caller and business numbers. |
started_at / ended_at | string | ISO-8601 UTC. |
duration_seconds | number | Call length. |
caller_name / caller_phone | string | Who called. |
service_requested / problem_details / address | string | What the AI captured. |
urgency | string | Urgency the AI assigned. |
score | string | Hot, Warm or Cold. |
wants_callback / appointment_requested | boolean | Flags from the AI analysis. |
summary / sentiment / recommended_action | string | AI summary and next step. |
transcript | string | Full transcript (up to 8,000 characters). |
lead_id / customer_id | string | Related records. |
dashboard_url | string | Link to the Calls page. |
| Field | Type | Description |
|---|---|---|
id | string | Lead id. |
status | string | Lead status. |
source | string | Call, SMS or Manual. |
contact_name / contact_phone / contact_email | string | The contact. |
service_requested / service_address | string | The request. |
urgency / score / notes | string | Urgency, Hot / Warm / Cold score and notes. |
call_id / customer_id | string | Related records. |
created_at | string | ISO-8601 UTC. |
dashboard_url | string | Link to the Leads page. |
Sent when a job is booked, by the AI on a call or text, or by your team in MyCallDesk.
| Field | Type | Description |
|---|---|---|
id | string | Appointment id. |
title / status | string | Title and status. |
scheduled_start / scheduled_end | string | ISO-8601 UTC. |
service_address / urgency / notes | string | Job details. |
customer_name / customer_phone | string | The customer. |
assigned_technician | string | Technician name, if assigned. |
lead_id / call_id / customer_id | string | Related records. |
created_at | string | ISO-8601 UTC. |
dashboard_url | string | Link to the Appointments page. |
Sent when any user of the business (owner, admin or technician) signs in.
| Field | Type | Description |
|---|---|---|
id | string | Login record id. |
user_id / user_name / user_email / user_role | string | Who signed in. |
method | string | How they signed in (password or Google). |
ip_address / country / region / city | string | Where they signed in from, when known. |
logged_in_at | string | ISO-8601 UTC. |
dashboard_url | string | Link to the Team Members page. |
POST /api/zapier/actions/create-lead — adds a lead to MyCallDesk. The customer is matched by phone number, or created if new. The lead is created with source Manual and status New.
| Field | Type | Description |
|---|---|---|
contact_phone | string | Required. At least 7 digits. |
contact_name | string | Optional, up to 200 characters. |
contact_email | string | Optional, up to 320 characters. |
service_requested | string | Optional, up to 250 characters. |
service_address | string | Optional, up to 250 characters. |
urgency | string | Optional: Low, Medium, High or Emergency (case-insensitive). Other values are ignored. |
notes | string | Optional, up to 1,000 characters. |
POST /api/zapier/actions/create-lead
{ "contact_name": "Sam Lee", "contact_phone": "+15551234567", "service_requested": "Water heater repair" }
200 OK
{ "id": "…", "status": "New", "source": "Manual", "contact_name": "Sam Lee", "contact_phone": "+15551234567", … } (same shape as new_lead)
400 Bad Request
{ "success": false, "msg": "contact_phone is required and must be a valid phone number." }| Field | Type | Description |
|---|---|---|
400 | Bad Request | Invalid input. The body is { "success": false, "msg": "…" }. |
401 | Unauthorized | Missing, invalid or revoked API key. |
404 | Not Found | Unknown event. |
Questions? Contact us at mycalldesk.net/contact.