Skip to main content

Suggest Free Slots

GET 

/api/crm/calendar/suggest-slot

Suggest up to 5 free slots of the given length in your diary, one per day at most, between the account's day start time (CRM settings) and 18:00 in the account timezone. Slots avoid your planned activities, never start in the past, and start on a quarter hour.

Required scope: customers:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token with the customers scope and the crm_activities.index permission.

Query parameters:

  • duration_minutes (required, 5-600)
  • from (optional, YYYY-MM-DD): first day; defaults to today (an earlier date is treated as today)
  • to (optional, YYYY-MM-DD, on or after from): last day; defaults to the end of the week. At most 14 days are searched

Response data: an array of {starts_at, ends_at} (ISO-8601 UTC). Empty when no slot fits.

Request​

Responses​

OK

Response Headers
    Content-Type