Create Appointment
Catalog + Curated
This page is generated from the full broker catalog and enhanced with curated examples.
Book an appointment for a contact in a target calendar.
Request Body
{
"jsonrpc": "2.0",
"id": "ghl-create-appointment-example",
"method": "tools/call",
"params": {
"name": "ghl.create_appointment",
"arguments": {
"calendarId": "cal_sales",
"contactId": "cont_294",
"startTime": "2026-04-05T14:00:00-05:00",
"title": "Discovery Call"
}
}
}
Arguments Schema
{
"type": "object",
"required": [
"calendarId",
"contactId",
"startTime"
],
"properties": {
"calendarId": {
"type": "string"
},
"contactId": {
"type": "string"
},
"startTime": {
"type": "string",
"format": "date-time"
},
"endTime": {
"type": "string",
"format": "date-time"
},
"title": {
"type": "string"
}
},
"additionalProperties": false
}
Code Examples
- cURL
- Node.js
- Python
curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-create-appointment-example",
"method": "tools/call",
"params": {
"name": "ghl.create_appointment",
"arguments": {
"calendarId": "cal_sales",
"contactId": "cont_294",
"startTime": "2026-04-05T14:00:00-05:00",
"title": "Discovery Call"
}
}
}'
const response = await fetch('https://madpanda3d.com/lab/mad-mcps/portal/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": "ghl-create-appointment-example",
"method": "tools/call",
"params": {
"name": "ghl.create_appointment",
"arguments": {
"calendarId": "cal_sales",
"contactId": "cont_294",
"startTime": "2026-04-05T14:00:00-05:00",
"title": "Discovery Call"
}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"jsonrpc": "2.0",
"id": "ghl-create-appointment-example",
"method": "tools/call",
"params": {
"name": "ghl.create_appointment",
"arguments": {
"calendarId": "cal_sales",
"contactId": "cont_294",
"startTime": "2026-04-05T14:00:00-05:00",
"title": "Discovery Call"
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 409 Slot Conflict
{
"ok": true,
"appointment": {
"id": "apt_721",
"calendarId": "cal_sales",
"startTime": "2026-04-05T14:00:00-05:00"
}
}
{
"ok": false,
"error": "slot_unavailable",
"message": "Selected slot is no longer available"
}