Skip to main content

acuity-scheduling

Acuity Scheduling API integration with managed OAuth. Manage appointments, calendars, clients, and availability. Use this skill when users want to schedule, reschedule, or cancel appointments, check availability, or manage clients and calendars. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).

Informations de source

Dépôt
modbender/skill-library-mcp
Dernière activité de la source
6 mars 2026 à 18:33
Langue détectée de SKILL.md
anglais
Étoiles
12
Forks
3

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
acuity-scheduling
description
Acuity Scheduling API integration with managed OAuth. Manage appointments, calendars, clients, and availability. Use this skill when users want to schedule, reschedule, or cancel appointments, check availability, or manage clients and calendars. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
compatibility
Requires network access and valid Maton API key
metadata
{"author":"maton","version":"1.0","clawdbot":{"emoji":"🧠","requires":{"env":"[Truncated]"}}}
# Acuity Scheduling Access the Acuity Scheduling API with managed OAuth authentication. Manage appointments, calendars, clients, availability, and more. ## Quick Start ```bash # List appointments python <<'EOF' import urllib.request, os, json req = urllib.request.Request('https://gateway.maton.ai/acuity-scheduling/api/v1/appointments?max=10') req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}') print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2)) EOF ``` ## Base URL ``` https://gateway.maton.ai/acuity-scheduling/{native-api-path} ``` Replace `{native-api-path}` with the actual Acuity API endpoint path. The gateway proxies requests to `acuityscheduling.com` and automatically injects your OAuth token. ## Authentication All requests require the Maton API key in the Authorization header: ``` Authorization: Bearer $MATON_API_KEY ``` **Environment Variable:** Set your API key as `MATON_API_KEY`: ```bash export MATON_API_KEY="YOUR_API_KEY" ``` ### Getting Your API Key 1. Sign in or create an account at [maton.ai](https://maton.ai) 2. Go to [maton.ai/settings](https://maton.ai/settings) 3. Copy your API key ## Connection Management Manage your Acuity Scheduling OAuth connections at `https://ctrl.maton.ai`. ### List Connections ```bash python <<'EOF' import urllib.request, os, json req = urllib.request.Request('https://ctrl.maton.ai/connections?app=acuity-scheduling&status=ACTIVE') req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}') print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2)) EOF ``` ### Create Connection ```bash python <<'EOF' import urllib.request, os, json data = json.dumps({'app': 'acuity-scheduling'}).encode() req = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST') req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}') req.add_header('Content-Type', 'application/json') print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2)) EOF ``` ### Get Connection ```bash python <<'EOF' import urllib.request, os, json req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}') req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}') print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2)) EOF ``` **Response:** ```json { "connection": { "connection_id": "21fd90f9-5935-43cd-b6c8-bde9d915ca80", "status": "ACTIVE", "creation_time": "2025-12-08T07:20:53.488460Z", "last_updated_time": "2026-01-31T20:03:32.593153Z", "url": "https://connect.maton.ai/?session_token=...", "app": "acuity-scheduling", "metadata": {} } } ``` Open the returned `url` in a browser to complete OAuth authorization. ### Delete Connection ```bash python <<'EOF' import urllib.request, os, json req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE') req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}') print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2)) EOF ``` ### Specifying Connection If you have multiple Acuity Scheduling connections, specify which one to use with the `Maton-Connection` header: ```bash python <<'EOF' import urllib.request, os, json req = urllib.request.Request('https://gateway.maton.ai/acuity-scheduling/api/v1/appointments') req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}') req.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80') print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2)) EOF ``` If omitted, the gateway uses the default (oldest) active connection. ## API Reference ### Account Information #### Get Account Info ```bash GET /acuity-scheduling/api/v1/me ``` Returns account information including timezone, scheduling page URL, and plan details. **Response:** ```json { "id": 12345, "email": "user@example.com", "timezone": "America/Los_Angeles", "name": "My Business", "schedulingPage": "https://app.acuityscheduling.com/schedule.php?owner=12345", "plan": "Professional", "currency": "USD" } ``` ### Appointments #### List Appointments ```bash GET /acuity-scheduling/api/v1/appointments ``` **Query Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `max` | integer | Maximum results (default: 100) | | `minDate` | date | Appointments on or after this date | | `maxDate` | date | Appointments on or before this date | | `calendarID` | integer | Filter by calendar | | `appointmentTypeID` | integer | Filter by appointment type | | `canceled` | boolean | Include canceled appointments (default: false) | | `firstName` | string | Filter by client first name | | `lastName` | string | Filter by client last name | | `email` | string | Filter by client email | | `excludeForms` | boolean | Omit intake forms for faster response | | `direction` | string | Sort order: ASC or DESC (default: DESC) | **Example:** ```bash python <<'EOF' import urllib.request, os, json req = urllib.request.Request('https://gateway.maton.ai/acuity-scheduling/api/v1/appointments?max=10&minDate=2026-02-01') req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}') print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2)) EOF ``` **Response:** ```json [ { "id": 1630290133, "firstName": "Jane", "lastName": "McTest", "phone": "1235550101", "email": "jane.mctest@example.com", "date": "February 4, 2026", "time": "9:30am", "endTime": "10:20am", "datetime": "2026-02-04T09:30:00-0800", "type": "Consultation", "appointmentTypeID": 88791369, "duration": "50", "calendar": "Chris", "calendarID": 13499175, "canceled": false, "confirmationPage": "https://app.acuityscheduling.com/schedule.php?..." } ] ``` #### Get Appointment ```bash GET /acuity-scheduling/api/v1/appointments/{id} ``` #### Create Appointment ```bash POST /acuity-scheduling/api/v1/appointments Content-Type: application/json { "datetime": "2026-02-15T09:00", "appointmentTypeID": 123, "firstName": "John", "lastName": "Doe", "email": "john.doe@example.com", "phone": "555-123-4567", "timezone": "America/New_York" } ``` **Required Fields:** - `datetime` - Date and time (parseable by PHP's strtotime) - `appointmentTypeID` - Appointment type ID - `firstName` - Client's first name - `lastName` - Client's last name - `email` - Client's email **Optional Fields:** - `phone` - Client phone number - `calendarID` - Specific calendar (auto-selected if omitted) - `timezone` - Client's timezone - `certificate` - Package or coupon code - `notes` - Admin notes - `addonIDs` - Array of addon IDs - `fields` - Array of form field values **Example:** ```bash python <<'EOF' import urllib.request, os, json data = json.dumps({ 'datetime': '2026-02-15T09:00', 'appointmentTypeID': 123, 'firstName': 'John', 'lastName': 'Doe', 'email': 'john.doe@example.com' }).encode() req = urllib.request.Request('https://gateway.maton.ai/acuity-scheduling/api/v1/appointments', data=data, method='POST') req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}') req.add_header('Content-Type', 'application/json') print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2)) EOF ``` #### Update Appointment ```bash PUT /acuity-scheduling/api/v1/appointments/{id} Content-Type: application/json { "firstName": "Jane", "lastName": "Smith", "email": "jane.smith@example.com" } ``` #### Cancel Appointment ```bash PUT /acuity-scheduling/api/v1/appointments/{id}/cancel ``` Returns the canceled appointment with `canceled: true`. #### Reschedule Appointment ```bash PUT /acuity-scheduling/api/v1/appointments/{id}/reschedule Content-Type: application/json { "datetime": "2026-02-20T10:00" } ``` **Note:** The new datetime must be an available time slot. ### Calendars #### List Calendars ```bash GET /acuity-scheduling/api/v1/calendars ``` **Response:** ```json [ { "id": 13499175, "name": "Chris", "email": "", "replyTo": "chris@example.com", "description": "", "location": "", "timezone": "America/Los_Angeles" } ] ``` ### Appointment Types #### List Appointment Types ```bash GET /acuity-scheduling/api/v1/appointment-types ``` **Query Parameters:** - `includeDeleted` (boolean) - Include deleted types **Response:** ```json [ { "id": 88791369, "name": "Consultation", "active": true, "description": "", "duration": 50, "price": "45.00", "category": "", "color": "#ED7087", "private": false, "type": "service", "calendarIDs": [13499175], "schedulingUrl": "https://app.acuityscheduling.com/schedule.php?..."
Voir sur GitHub
Ce SKILL.md est tres volumineux, SkillsMP affiche donc ici seulement la premiere section. Voir sur GitHub