Menú

Referencia de la API · CRM

Horarios de secuencias

crm · sequence_schedules · 4 operaciones

GET/v1/crm/sequence-schedules

List the sending schedules of sequences

crm.sequences.schedules.list

LecturaIdempotenteDesde 2026-11-01

Lists the organization's sending schedules for sequences, the default first and then by name: the IANA time zone and, for each weekday, whether it sends and between which hours (HH:mm), with who created it (created_by_id, created_by_name). A sequence with a schedule_id only sends inside those windows; without one it sends at any time. New sequences get the default. Paginated by cursor (limit up to 100, the default). Requires view access to the CRM.

Alcance
crm:read
Permiso
Ver el módulo
Tool del MCP
crm_sequences_schedules_listEn la superficie completa; en la compacta, mb_execute_operation con id: "crm.sequences.schedules.list".

Costo declarado: hasta 101 lecturas y 0 escrituras por llamada (cuentan en el cupo diario).

Parámetros

limitintegerqueryopcional

How many items this page brings at most (see the maximum and the default in the schema).

Por defecto: 100

cursorstringqueryopcional

The next_cursor of the previous page, exactly as it came (only for the same list and filters); without it, the first page.

Respuesta

dataarray<object>
has_moreboolean
next_cursorstring

Errores

Ejemplo

curl "https://api.mb-suite.com/v1/crm/sequence-schedules" \
  -H "Authorization: Bearer $MB_API_KEY"

Probar con tu API key de prueba

Con una API key de prueba el pedido va siempre a tu organización de práctica: datos de ejemplo que puedes reiniciar.

curl "https://api.mb-suite.com/v1/crm/sequence-schedules" \
  -H "Authorization: Bearer $MB_TEST_KEY"
POST/v1/crm/sequence-schedules

Create a sending schedule for sequences

crm.sequences.schedules.create

EscrituraDesde 2026-11-01

Creates a sending schedule for sequences: a name, an IANA time zone (America/Argentina/Buenos_Aires…; an unknown zone is invalid_input) and optionally the 7 weekday windows (day, enabled, start_time and end_time as HH:mm; without them, Monday to Friday 09:00–18:00). is_default true makes it the organization's default and unsets the previous one. It is not assigned to any sequence: set schedule_id with crm.sequences.update. Returns schedule_id. Manager-tier only (manage_sequence_settings: owner, admin, crm_admin or sales_manager).

Alcance
crm:write
Permiso
Editar en el módulo · Acción del CRM: manage_sequence_settings
Tool del MCP
crm_sequences_schedules_createEn la superficie completa; en la compacta, mb_execute_operation con id: "crm.sequences.schedules.create".

Costo declarado: hasta 5 lecturas y 3 escrituras por llamada (cuentan en el cupo diario).

Parámetros

namestringcuerporequerido

The name the sequence settings show.

timezonestringcuerporequerido

An IANA time zone (America/Argentina/Buenos_Aires, America/Mexico_City, UTC): the windows are read in it.

windowsarray<object>cuerpoopcional

Exactly 7 windows, one per day (monday to sunday): day, enabled, start_time and end_time as HH:mm. Without them, Monday to Friday 9:00 to 18:00.

is_defaultbooleancuerpoopcional

Make it the organization's default (new sequences take it; the previous default stops being one).

Respuesta

schedule_idstring

Errores

Ejemplo

curl -X POST "https://api.mb-suite.com/v1/crm/sequence-schedules" \
  -H "Authorization: Bearer $MB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "name": "NAME",
  "timezone": "TIMEZONE"
}'

Probar con tu API key de prueba

Con una API key de prueba el pedido va siempre a tu organización de práctica: datos de ejemplo que puedes reiniciar.

curl -X POST "https://api.mb-suite.com/v1/crm/sequence-schedules" \
  -H "Authorization: Bearer $MB_TEST_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "name": "NAME",
  "timezone": "TIMEZONE"
}'
PATCH/v1/crm/sequence-schedules/{schedule_id}

Update a sending schedule

crm.sequences.schedules.update

EscrituraIdempotenteDesde 2026-11-01

Updates a sending schedule; send at least one key in updates (name, timezone, windows with the 7 weekdays, is_default). Every sequence that uses it sends inside the new windows from the engine's next run. is_default true moves the default here. Not found (sequence_schedule_not_found) if the id does not exist. Manager-tier only (manage_sequence_settings).

Alcance
crm:write
Permiso
Editar en el módulo · Acción del CRM: manage_sequence_settings
Tool del MCP
crm_sequences_schedules_updateEn la superficie completa; en la compacta, mb_execute_operation con id: "crm.sequences.schedules.update".

Costo declarado: hasta 5 lecturas y 3 escrituras por llamada (cuentan en el cupo diario).

Parámetros

schedule_idstringrutarequerido

The sending schedule: an id from crm.sequences.schedules.list.

updatesobjectcuerporequerido

What changes (at least one key): name, timezone, windows (the 7 days, replaced as a whole), is_default.

Respuesta

oktrue

Errores

Ejemplo

curl -X PATCH "https://api.mb-suite.com/v1/crm/sequence-schedules/{schedule_id}" \
  -H "Authorization: Bearer $MB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "updates": {}
}'

Probar con tu API key de prueba

Con una API key de prueba el pedido va siempre a tu organización de práctica: datos de ejemplo que puedes reiniciar.

curl -X PATCH "https://api.mb-suite.com/v1/crm/sequence-schedules/{schedule_id}" \
  -H "Authorization: Bearer $MB_TEST_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "updates": {}
}'
DELETE/v1/crm/sequence-schedules/{schedule_id}

Delete a sending schedule

crm.sequences.schedules.delete

IrreversibleDesde 2026-11-01

Deletes a sending schedule; the sequences that used it are left without a schedule and send at any time (the result says how many). It does not go to the trash. Outside the screen it requires a dry run (which lists the affected sequences) and a confirm_token, and a credential that allows deleting. Not found (sequence_schedule_not_found) if the id does not exist. Manager-tier only (manage_sequence_settings).

Pide confirmación: primero dry_run: true (vista previa y confirm_token, que vale 10 minutos y una sola vez), después el mismo cuerpo con confirm_token. En unas pocas, solo con ciertos datos: la descripción dice cuándo. Por qué y cómo: Vista previa y confirmación.

Alcance
crm:write y «Permitir eliminar» (crm:delete en OAuth)
Permiso
Editar en el módulo · Acción del CRM: manage_sequence_settings
Tool del MCP
crm_sequences_schedules_deleteEn la superficie completa; en la compacta, mb_execute_operation con id: "crm.sequences.schedules.delete".

Costo declarado: hasta 101 lecturas y 101 escrituras por llamada (cuentan en el cupo diario).

Parámetros

schedule_idstringrutarequerido

The sending schedule: an id from crm.sequences.schedules.list.

Respuesta

detached_from_sequencesnumber

Errores

Ejemplo

curl -X DELETE "https://api.mb-suite.com/v1/crm/sequence-schedules/{schedule_id}" \
  -H "Authorization: Bearer $MB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "dry_run": true
}'

Probar con tu API key de prueba

Con una API key de prueba el pedido va siempre a tu organización de práctica: datos de ejemplo que puedes reiniciar.

curl -X DELETE "https://api.mb-suite.com/v1/crm/sequence-schedules/{schedule_id}" \
  -H "Authorization: Bearer $MB_TEST_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "dry_run": true
}'