I'd like to scan our end users for identities that are undeliverable so that we can automate rudimentary bounce error reporting. The only method I can think of is to loop through each end user, then loop through their undeliverable count / deliverable value.
Is there a way to scan/filter for identities that have been marked undeliverable or that have an undeliverable_count > 0?
Zendesk does not offer a direct API endpoint or filter to scan identities based on their undeliverable status or undeliverable count. To identify such identities, you need to programmatically loop through all users, fetch each user’s identities via the API, and then check the undeliverable boolean or undeliverable_count fields on each identity. This process can be automated but may require careful handling of API rate limits and could be optimized by checking only recently updated users. Overall, detecting undeliverable identities requires a custom solution that aggregates this data through multiple API calls and filters it on your side.