We have 2 brands with subdomains brandA.zendesk.com and brandB.zendesk.com in our Zendesk instance and BrandA is the default.
When we are creating a ticket using https://brandB.zendesk.com/api/v2/tickets the creation is successful but the brand in the ticket is always BrandA. We tried ticket creation with same payload using https://brandB.zendesk.com/api/v2/requests and brand name is based on the subdomain we are using.
Is the functionality of subdomain based routing available for tickets or should we rely on triggers/business rules to achieve this ?
Zendesk Tickets API routing to default brand always
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
To actually route this to the correct brand, you'll want to pass the
brand_idattribute in your payload. You can get a list of your brands and their ids from the List Brands endpoint and then once you have that, you can structure your ticket creation payload like this: