Crear cita
POST
https://api.bydomu.com/v1/appointmentsThis reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.
Agenda una cita con un contacto y programa sus recordatorios. endTime debe ser posterior a startTime. Respeta el tope mensual de citas del plan (403 PLAN_LIMIT_REACHED).
Permission required
appointments:write
Required header
X-API-Key · secret key
Access level
Level 3 · with support review
Headers
1 · all optionalIdempotency-Keystring · optionalClave única de la operación (8-128 caracteres de
[a-zA-Z0-9._:-]). Un reintento con la misma clave y el mismo cuerpo devuelve la respuesta original sin repetir la operación. Vive 24 horas.8–128 charsBody (JSON)
12 · 5 requiredtitlestring · required2–200 chars
startTimestring · requiredendTimestring · requiredcontactIdstring · requiredassigneeIdstring · requireddescriptionstring · optional≤ 2000 chars
See the other 6 parameters
typestring · optionalSHOWING · MEETING · CALL · FOLLOW_UP · SIGNING · DEMO · OTHER · default "MEETING"
colorstring · optionallocationstring · optional≤ 500 chars
dealIdstring · optionalpropertyIdstring · optionalremindersobject[] · optionalResponse 201
AppointmentRecord · 22 fieldsdataCita tal como queda al crearla, actualizarla o cancelarla.
idstringtitlestringdescriptionstringtypestringSHOWING, MEETING, CALL, FOLLOW_UP, SIGNING, DEMOstatusstringSCHEDULED, CONFIRMED, COMPLETED, CANCELLED, NO_SHOWstartTimestringendTimestringcolorstringlocationstringcreatedAtstringcancelReasonstringsourcestring`MANUAL`, `BOOKING` o `NOA`contactIdstringdealIdstringpropertyIdstringassigneeIdstringcreatedByIdstringupdatedAtstringcontactid · firstName · lastName · phone
idstringfirstNamestringlastNamestringphonestringNo viene al cancelar; `null` si el contacto no tiene teléfonodealid · title
idstringtitlestringassigneeid · firstName · lastName
idstringfirstNamestringlastNamestringreminders[]Recordatorios programados. No vienen al cancelar
idstringchannelstringminutesBeforeintegerscheduledForstringstatusstringPossible errors
shaped as{ "error": { "code", "message" } }- 400Datos inválidos: el cuerpo o la query no cumplen el esquema, o `Idempotency-Key` está mal formada.
- 401UNAUTHORIZED
- 402PAYMENT_REQUIRED
- 403FORBIDDEN
- 404NOT_FOUND
- 409DUPLICATE
- 429RATE_LIMITED
- 500INTERNAL_ERROR