Bug in triggers api endpoint /api/v2/triggers/active | Community
Skip to main content

Bug in triggers api endpoint /api/v2/triggers/active

  • April 28, 2022
  • 4 replies
  • 0 views

Stefan16

Based on the documentation below, we should be able to pass category_id as a query param to this endpoint. However, the endpoint returns all active triggers and not just the ones associated with my category_id.

https://developer.zendesk.com/api-reference/ticketing/business-rules/triggers/#list-active-triggers

4 replies

CJ99
  • April 28, 2022

Hi Kyle, 

The page there is kinda confusing. The endpoint you're trying (/api/v2/triggers/active) doesn't have a parameter for category_id, unfortunately. I think you'll want the /api/v2/triggers/ endpoint, and to pass the active status as a parameter too. Does this work for you? 
https://domain.zendesk.com/api/v2/triggers?active=true&category_id=123456789


Stefan16
  • Author
  • April 28, 2022

Yep that's what I ended up doing. The documentation definitely calls out category_id as a parameter but it may not be respected or used in the backend.


Mary33
  • May 2, 2022

I'm unable to view option to activate "Custom Object" under “Admin Center -> Objects and rules” as mentioned in below link.

https://developer.zendesk.com/documentation/custom-data/custom-objects/getting-started-with-custom-objects/

Can you please share how can we view this option to Active Custom Objects?

---

This comment has been edited by the Zendesk Community Team has been edited to remove external links in accordance with our Community Code of Conduct.


Dinesh11
  • May 5, 2022