Chat departments: Status or Operating hours via REST API | Community
Skip to main content

Chat departments: Status or Operating hours via REST API

  • March 17, 2021
  • 3 replies
  • 0 views

Hi!

I am looking for a way to retrieve either Department status (Online/offline) or Department Operating hours via REST API. 

The problem is that Real Time Chat API agents/agents_online will retrieve that agents are online in a specific department even if the department is offline by the Operating hours schedule.

Chat API /departments endpoint do not seem to contain these settings.

Is there any way to:

  • Retrieve current status of a department (Online/offline taking in consideration all factors that can affect it) or
  • Access department Operating hours as set up in Chat --> Account --> Operating hours via REST API?

 

3 replies

Greg29
  • March 17, 2021

Hi Liva. Unfortunately, there is no way to do this via a REST API. The closest option that we would have is within our Real Time API for Chat, where you could see specific metrics regarding your department, however the status is not one of the options. 


IT8811
  • June 16, 2025

Hi zendesk support, is that possible to add that API to return all operation hours and department status? 


  • June 23, 2025
Hello! You can try using the Schedules API to create hours of operation and as a data reference for customers.