Retrieve user availability schedules based on various filters including account, calendar, and user. Supports pagination.
Autorización
Bearer token generado desde el portal Leadway. Ver Autenticación.
string
default:"2021-07-28"
required
Versión de la API.
Query parameters
string
default:"IkqiJlXJ7o9h61tCHHod"
required
Account ID to filter schedules by
string
default:"IkqiJlXJ7o9h61tCHHod"
required
User ID to filter schedules by specific user
string
default:"WvVX9LpvlBO6K506xLbp"
Calendar ID for filtering schedules by specific calendar
Number of items to skip for pagination
Maximum number of items to return (max 500)
Respuestas
200 - Schedules retrieved successfully
Array of schedules
string
default:"IkqiJlXJ7o9h61tCHHod"
required
Unique identifier for the schedule
string
default:"Business Hours Schedule"
required
Human-readable name for the schedule
string
default:"IkqiJlXJ7o9h61tCHHod"
required
Account ID where this schedule applies
Schedule rules defining when the schedule is active
string
default:"wday"
required
Type of schedule rule - weekday (recurring) or date (specific date) Posibles valores: ‘wday’, ‘date’
Time intervals for the rule (e.g., 9 AM to 5 PM)
string
default:"09:00"
required
Start time in HH:MM format (24-hour format)
string
default:"17:00"
required
End time in HH:MM format (24-hour format)
string
default:"2023-04-15"
Specific date in YYYY-MM-DD format (only for date-type rules)
Day of week (only for weekday-type rules) Posibles valores: ‘sunday’, ‘monday’, ‘tuesday’, ‘wednesday’, ‘thursday’, ‘friday’, ‘saturday’
string
default:"America/New_York"
required
Timezone for the schedule (IANA timezone identifier)
string
default:"2023-01-15T10:30:00.000Z"
required
ISO date string when the schedule was created
string
default:"2023-01-20T14:45:00.000Z"
required
ISO date string when the schedule was last updated
string
default:"IkqiJlXJ7o9h61tCHHod"
required
User ID associated with the schedule
Calendar IDs associated with the schedule
boolean
default:"False"
required
Whether the schedule has been deleted
400 - Invalid request parameters
401 - User not authenticated
Ejemplo