Skip to main content
POST
Agendar una reunión
Books a meeting. Keebai checks the slot again, assigns the host, creates the event on the host’s calendar with the video link, invites the customer and the guests, schedules the reminders, and adds the meeting to the CRM timeline when you pass a chat_user_id or ticket_id and the contact has an open ticket. The meeting is recorded with source: "public" and created_by set to the owner of the token. You never send either one.

Endpoint

Required scope

meet:meetings:create

Headers

Body

Example request

Response

201 Created

created_by.name is the name of the token owner when the token carries it, and their email otherwise. A company token that belongs to no person is recorded as API, with the token id.

400 Bad Request

A missing or invalid Idempotency-Key (IDEMPOTENCY_KEY_REQUIRED), a start without a zone, a field that is not an ObjectId, or fields the API does not accept, such as company, source, or created_by.

404 Not Found

MEETING_TYPE_NOT_FOUND: the type does not exist in your company.

409 Conflict

422 Unprocessable Entity

HOST_CALENDAR_NOT_CONNECTED: the host has no calendar connected in Keebai, so the event cannot be created. Someone on your team has to connect it under Meet › People.

503 Service Unavailable

Retryable: the response carries error.details.retryable: true and nothing was written. Retry in a few seconds with the same slot and the same Idempotency-Key.

401 Unauthorized · 403 Forbidden

Same semantics as the rest of the public API.

Authorizations

Authorization
string
header
required

Personal Access Token con prefijo kbai_pk_. Generar desde el portal con permiso developer.manage_tokens.

Headers

idempotency-key
string
required
Idempotency-Key
string
required

Body

application/json
type_id
string
required

Tipo de reunión (ObjectId).

start
string
required

Inicio, ISO 8601 con zona (ej. 2026-11-16T14:00:00.000Z). Debe ser un horario devuelto por la disponibilidad.

Example:

"2026-11-16T14:00:00.000Z"

customer
object
required
host_user_id
string

Persona que atiende. Si se omite, la asigna el reparto del tipo de reunión.

invitee_emails
string[]

Correos de invitados adicionales, sin repetir (máximo 20).

Response

201 - application/json
id
string
required

ObjectId de la reunión

type_name
string
required

Nombre del tipo; vacío en las importadas del calendario.

host_user_id
string
required
host_name
string
required
co_host_user_ids
string[]
required

Resto de las personas que atienden cuando el reparto es collective (auth_users._id).

customer
object
required
invitee_emails
string[]
required
start
string<date-time>
required
end
string<date-time>
required
time_zone
string
required
Example:

"America/Santiago"

status
enum<string>
required
Available options:
scheduled,
confirmed,
rescheduled,
cancelled,
completed,
no_show
source
enum<string>
required

calendar: evento creado fuera de Keebai en el calendario conectado e importado; se mueve o cancela desde el calendario (reagendar o cancelar acá responde 409 MEETING_MANAGED_IN_CALENDAR).

Available options:
agent,
manual,
public,
calendar
reminders
object[]
required
type_id
string

Tipo de reunión. No viene en las reuniones importadas del calendario conectado (source: calendar).

title
string

Título del evento del calendario; solo en las importadas (source: calendar).

meet_url
string

Enlace de la videollamada

location
string

Lugar del evento importado del calendario

created_by
object
confirmed_at
string<date-time>
cancelled_at
string<date-time>
cancel_reason
string
created_at
string<date-time>
updated_at
string<date-time>