Crear cita en Acuity Scheduling, con una API

Reserva una cita y la devuelve. Por defecto se reserva como lo haría un cliente: la hora debe estar libre y los campos obligatorios del formulario respondidos. Con admin true se omiten esas comprobaciones y calendarID es obligatorio. El cliente recibe el correo y el SMS de confirmación, salvo que noEmail sea true.

Identificador
acuity_create_appointment

La llamada

POST https://connect.reportei.com/api/tools/acuity_create_appointment/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json

{
  "customer_toolkit": "<connection UUID>",
  "arguments": {
    "datetime": "<datetime>",
    "appointmentTypeID": 1,
    "firstName": "<firstName>",
    "lastName": "<lastName>"
  }
}

Tu sistema envía el id de la conexión de tu cliente y los argumentos de la tool. Los headers son los mismos de toda la API de Connect: el token de tu producto y el token de tu cliente.

Parámetros

Las descripciones de los parámetros siguen la documentación oficial de la app, en inglés.

ParámetroTipoObligatorioDescripción
datetimestringSíDate and time of the appointment, such as 2026-11-05T14:00:00-0300: a time from List available times. Without an offset, it is read in the time zone of the business or the calendar.
appointmentTypeIDintegerSíId of the appointment type: an id from List appointment types.
calendarIDintegerNoId of the calendar: an id from List calendars. Without it, Acuity picks an available calendar. Required when admin is true.
firstNamestringSíFirst name of the client.
lastNamestringSíLast name of the client.
emailstringNoEmail address of the client. Required unless admin is true.
phonestringNoPhone number of the client. The account settings may require it, unless admin is true.
timezonestringNoIANA time zone of the client, such as America/Sao_Paulo.
certificatestringNoPackage or coupon code to apply to the appointment.
notesstringNoNotes on the appointment. Only with admin true.
fieldsarrayNoAnswers to the intake form fields of the appointment type.
smsOptInbooleanNotrue when the client agreed to receive SMS, for appointment types that ask for this consent. Without it, those types send no SMS reminder.
adminbooleanNotrue to book as the business: no availability or intake checks, notes allowed, and calendarID required.
noEmailbooleanNotrue to skip the confirmation email and SMS to the client.

Conexiones posibles

Tu cliente conecta su cuenta de Acuity Scheduling una sola vez, con uno de los modos de abajo. La misma conexión sirve para todas las tools del toolkit.

Usuario y contraseña

Tu cliente ingresa las credenciales de la app en una pantalla de Connect, o tu sistema las envía con POST /api/customer-toolkits, sin pantalla.

La respuesta

Si la llamada tiene éxito, Connect conserva el status y el cuerpo de la respuesta de la app. Los errores HTTP devueltos por la app usan el objeto {error, api_error}; la autenticación o validación pueden fallar antes de la ejecución. El header X-Toolkit-Execution-Id identifica la ejecución registrada, disponible en GET /api/tools/executions/{uuid}.

Lista para agentes de IA

El input de esta tool es un JSON Schema, disponible en GET /api/tools/acuity_create_appointment. Se convierte en la definición de tool de tu agente sin conversión.

Otras tools de Acuity Scheduling

Ver las 13 tools

Toolkits de la misma categoría

Ver los 100 toolkits

Mira Connect aplicado a tu producto.

Pruébalo durante 15 días sin tarjeta, o cuéntale tu caso a nuestro equipo.