curl --request POST \
--url https://mwxpyoqrtdfxubdotbmj.supabase.co/functions/v1/public-api/v1/bookings \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"slot_token": "<string>",
"reservation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assign_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"member_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"attendee": {
"name": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"notes": "<string>",
"timezone": "<string>"
},
"meeting": {
"title": "<string>",
"description": "<string>",
"location": "<string>",
"request_conferencing": true
},
"record_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://mwxpyoqrtdfxubdotbmj.supabase.co/functions/v1/public-api/v1/bookings"
payload = {
"slot_token": "<string>",
"reservation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assign_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"member_ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"attendee": {
"name": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"notes": "<string>",
"timezone": "<string>"
},
"meeting": {
"title": "<string>",
"description": "<string>",
"location": "<string>",
"request_conferencing": True
},
"record_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
slot_token: '<string>',
reservation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
assign_user_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
member_ids: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
policy_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
from: '2023-11-07T05:31:56Z',
to: '2023-11-07T05:31:56Z',
attendee: {
name: '<string>',
email: 'jsmith@example.com',
phone: '<string>',
notes: '<string>',
timezone: '<string>'
},
meeting: {
title: '<string>',
description: '<string>',
location: '<string>',
request_conferencing: true
},
record_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
})
};
fetch('https://mwxpyoqrtdfxubdotbmj.supabase.co/functions/v1/public-api/v1/bookings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mwxpyoqrtdfxubdotbmj.supabase.co/functions/v1/public-api/v1/bookings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'slot_token' => '<string>',
'reservation_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'assign_user_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'member_ids' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'policy_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'from' => '2023-11-07T05:31:56Z',
'to' => '2023-11-07T05:31:56Z',
'attendee' => [
'name' => '<string>',
'email' => 'jsmith@example.com',
'phone' => '<string>',
'notes' => '<string>',
'timezone' => '<string>'
],
'meeting' => [
'title' => '<string>',
'description' => '<string>',
'location' => '<string>',
'request_conferencing' => true
],
'record_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mwxpyoqrtdfxubdotbmj.supabase.co/functions/v1/public-api/v1/bookings"
payload := strings.NewReader("{\n \"slot_token\": \"<string>\",\n \"reservation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"assign_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"member_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"policy_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"from\": \"2023-11-07T05:31:56Z\",\n \"to\": \"2023-11-07T05:31:56Z\",\n \"attendee\": {\n \"name\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\",\n \"notes\": \"<string>\",\n \"timezone\": \"<string>\"\n },\n \"meeting\": {\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"location\": \"<string>\",\n \"request_conferencing\": true\n },\n \"record_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mwxpyoqrtdfxubdotbmj.supabase.co/functions/v1/public-api/v1/bookings")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"slot_token\": \"<string>\",\n \"reservation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"assign_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"member_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"policy_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"from\": \"2023-11-07T05:31:56Z\",\n \"to\": \"2023-11-07T05:31:56Z\",\n \"attendee\": {\n \"name\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\",\n \"notes\": \"<string>\",\n \"timezone\": \"<string>\"\n },\n \"meeting\": {\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"location\": \"<string>\",\n \"request_conferencing\": true\n },\n \"record_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mwxpyoqrtdfxubdotbmj.supabase.co/functions/v1/public-api/v1/bookings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"slot_token\": \"<string>\",\n \"reservation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"assign_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"member_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"policy_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"from\": \"2023-11-07T05:31:56Z\",\n \"to\": \"2023-11-07T05:31:56Z\",\n \"attendee\": {\n \"name\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\",\n \"notes\": \"<string>\",\n \"timezone\": \"<string>\"\n },\n \"meeting\": {\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"location\": \"<string>\",\n \"request_conferencing\": true\n },\n \"record_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"booking": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "confirmed",
"start_at": "2023-11-07T05:31:56Z",
"end_at": "2023-11-07T05:31:56Z",
"policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": "<string>",
"record_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attendee": {},
"meeting_title": "<string>",
"meeting_url": "<string>",
"calendar_event_link": "<string>",
"provider": "<string>",
"rescheduled_from": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"test_mode": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"cancelled_at": "2023-11-07T05:31:56Z"
}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"rate_limit": {
"limit": 123,
"remaining": 123,
"reset": 123
}
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Request validation failed",
"details": {
"fields": {
"first_name": "First name is required"
}
}
},
"meta": {
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2026-02-15T10:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "AUTH_INVALID_KEY",
"message": "Invalid API key"
},
"meta": {
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2026-02-15T10:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "MISSING_API_KEY",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"rate_limit": {
"limit": 123,
"remaining": 123,
"reset": 123
}
}
}{
"success": false,
"error": {
"code": "MISSING_API_KEY",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"rate_limit": {
"limit": 123,
"remaining": 123,
"reset": 123
}
}
}{
"success": false,
"error": {
"code": "MISSING_API_KEY",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"rate_limit": {
"limit": 123,
"remaining": 123,
"reset": 123
}
}
}{
"success": false,
"error": {
"code": "MISSING_API_KEY",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"rate_limit": {
"limit": 123,
"remaining": 123,
"reset": 123
}
}
}{
"success": false,
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Retry after 12 seconds.",
"details": {
"limit": 60,
"remaining": 0,
"reset": 1718400000000,
"retry_after": 12
}
},
"meta": {
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2026-02-15T10:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "MISSING_API_KEY",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"rate_limit": {
"limit": 123,
"remaining": 123,
"reset": 123
}
}
}Book a meeting — confirm an offered slot, or let the engine pick
Two shapes, one resource. With slot_token the offered slot is confirmed
(the rep’s calendar is re-read, the event is created, the hold is consumed);
with member_ids the engine chooses the rep and the earliest slot under the
policy. Either way the booking row is the source of truth, the calendar event
is created on the rep’s connected calendar, and appointment.scheduled fires.
Under a test-mode credential no real calendar is touched (provider: test).
Required scope: bookings:create. Requires Idempotency-Key.
curl --request POST \
--url https://mwxpyoqrtdfxubdotbmj.supabase.co/functions/v1/public-api/v1/bookings \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"slot_token": "<string>",
"reservation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assign_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"member_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"attendee": {
"name": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"notes": "<string>",
"timezone": "<string>"
},
"meeting": {
"title": "<string>",
"description": "<string>",
"location": "<string>",
"request_conferencing": true
},
"record_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://mwxpyoqrtdfxubdotbmj.supabase.co/functions/v1/public-api/v1/bookings"
payload = {
"slot_token": "<string>",
"reservation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assign_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"member_ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"attendee": {
"name": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"notes": "<string>",
"timezone": "<string>"
},
"meeting": {
"title": "<string>",
"description": "<string>",
"location": "<string>",
"request_conferencing": True
},
"record_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
slot_token: '<string>',
reservation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
assign_user_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
member_ids: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
policy_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
from: '2023-11-07T05:31:56Z',
to: '2023-11-07T05:31:56Z',
attendee: {
name: '<string>',
email: 'jsmith@example.com',
phone: '<string>',
notes: '<string>',
timezone: '<string>'
},
meeting: {
title: '<string>',
description: '<string>',
location: '<string>',
request_conferencing: true
},
record_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
})
};
fetch('https://mwxpyoqrtdfxubdotbmj.supabase.co/functions/v1/public-api/v1/bookings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mwxpyoqrtdfxubdotbmj.supabase.co/functions/v1/public-api/v1/bookings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'slot_token' => '<string>',
'reservation_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'assign_user_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'member_ids' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'policy_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'from' => '2023-11-07T05:31:56Z',
'to' => '2023-11-07T05:31:56Z',
'attendee' => [
'name' => '<string>',
'email' => 'jsmith@example.com',
'phone' => '<string>',
'notes' => '<string>',
'timezone' => '<string>'
],
'meeting' => [
'title' => '<string>',
'description' => '<string>',
'location' => '<string>',
'request_conferencing' => true
],
'record_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mwxpyoqrtdfxubdotbmj.supabase.co/functions/v1/public-api/v1/bookings"
payload := strings.NewReader("{\n \"slot_token\": \"<string>\",\n \"reservation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"assign_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"member_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"policy_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"from\": \"2023-11-07T05:31:56Z\",\n \"to\": \"2023-11-07T05:31:56Z\",\n \"attendee\": {\n \"name\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\",\n \"notes\": \"<string>\",\n \"timezone\": \"<string>\"\n },\n \"meeting\": {\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"location\": \"<string>\",\n \"request_conferencing\": true\n },\n \"record_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mwxpyoqrtdfxubdotbmj.supabase.co/functions/v1/public-api/v1/bookings")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"slot_token\": \"<string>\",\n \"reservation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"assign_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"member_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"policy_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"from\": \"2023-11-07T05:31:56Z\",\n \"to\": \"2023-11-07T05:31:56Z\",\n \"attendee\": {\n \"name\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\",\n \"notes\": \"<string>\",\n \"timezone\": \"<string>\"\n },\n \"meeting\": {\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"location\": \"<string>\",\n \"request_conferencing\": true\n },\n \"record_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mwxpyoqrtdfxubdotbmj.supabase.co/functions/v1/public-api/v1/bookings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"slot_token\": \"<string>\",\n \"reservation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"assign_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"member_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"policy_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"from\": \"2023-11-07T05:31:56Z\",\n \"to\": \"2023-11-07T05:31:56Z\",\n \"attendee\": {\n \"name\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\",\n \"notes\": \"<string>\",\n \"timezone\": \"<string>\"\n },\n \"meeting\": {\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"location\": \"<string>\",\n \"request_conferencing\": true\n },\n \"record_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"booking": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "confirmed",
"start_at": "2023-11-07T05:31:56Z",
"end_at": "2023-11-07T05:31:56Z",
"policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": "<string>",
"record_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attendee": {},
"meeting_title": "<string>",
"meeting_url": "<string>",
"calendar_event_link": "<string>",
"provider": "<string>",
"rescheduled_from": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"test_mode": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"cancelled_at": "2023-11-07T05:31:56Z"
}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"rate_limit": {
"limit": 123,
"remaining": 123,
"reset": 123
}
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Request validation failed",
"details": {
"fields": {
"first_name": "First name is required"
}
}
},
"meta": {
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2026-02-15T10:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "AUTH_INVALID_KEY",
"message": "Invalid API key"
},
"meta": {
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2026-02-15T10:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "MISSING_API_KEY",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"rate_limit": {
"limit": 123,
"remaining": 123,
"reset": 123
}
}
}{
"success": false,
"error": {
"code": "MISSING_API_KEY",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"rate_limit": {
"limit": 123,
"remaining": 123,
"reset": 123
}
}
}{
"success": false,
"error": {
"code": "MISSING_API_KEY",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"rate_limit": {
"limit": 123,
"remaining": 123,
"reset": 123
}
}
}{
"success": false,
"error": {
"code": "MISSING_API_KEY",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"rate_limit": {
"limit": 123,
"remaining": 123,
"reset": 123
}
}
}{
"success": false,
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Retry after 12 seconds.",
"details": {
"limit": 60,
"remaining": 0,
"reset": 1718400000000,
"retry_after": 12
}
},
"meta": {
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2026-02-15T10:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "MISSING_API_KEY",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"rate_limit": {
"limit": 123,
"remaining": 123,
"reset": 123
}
}
}Authorizations
API key from Settings > API Keys or POST /v1/api-keys. Format
f9_live_<32 hex chars> (live) or f9_test_<32 hex chars> (sandbox — no
real sends, ever). Legacy wcrm_live_ / wcrm_test_ keys still
authenticate but are no longer issued. Shown once at creation; only a hash
is stored.
Body
Exactly one shape: slot_token (confirm an offered slot — from POST /v1/scheduling/slots/search, optionally with the reservation_id holding it and, for a shared-exposure slot, assign_user_id) OR member_ids (+ optional policy_id, from, to: the engine picks the rep and the earliest slot). Both take attendee, meeting and an optional record_id (the CRM record this meeting is about; carried on the appointment.* webhook events).