Is it possible to hide the chat widget department field?

Have more questions? Submit a request

4 Comments

  • Kristin Z.
    Comment actions Permalink

    Hi,

    Is it possible to find the ID of a department so that we dont need to use the string of the name in our code? Sometimes we change the department name but want to ensure we dont need to update the code every time this happens.

    I went to the chat dashboard and went to "Departments" and only saw the names of departments, but no IDs.

    Any help would be great, as every article I click on seems to lead me to another article and another... :)

    - Kristin

    0
  • Brett - Community Manager
    Comment actions Permalink

    Hi Kristin,

    If you have a standalone Chat account you should be able to get the department ID by first logging into your dashboard then navigating to zopim.com/api/v2/departments.

    However, if you have an integrated Chat account with Support things get a little trickier here. You would need to use the following instructions to generate an OAuth token for your integrated Chat account so you can pull this information from the API: Chat API tutorial: Generating an OAuth token (integrated Chat accounts)

    Hope this information helps!

    0
  • Kristin Z.
    Comment actions Permalink

    Brett,

    We are already using the API and we found what we were looking for with that, thank you for pointing me in the right direction! :)

    0
  • Brett - Community Manager
    Comment actions Permalink

    Happy to help Kristin :)

    0

Please sign in to leave a comment.

Powered by Zendesk