I'd like to create articles using the API but we use multi-brand and I'd like to control which brand(s) the article is published to.
If I want to target a specific brand, is it possible identify which one? It seems like you may be able to specify the brand from the section, permission, and group IDs in the URL, e.g. "/sections/098765094438?brand_id=34234789".
If you are able to create an article in a specific brand, are you able to create in two brands using an array, or would you need to use a separate call?
If you'd like to create an article depending on the brand, you can change the URL of the API request. For example, you have two brands.
Brand 1: brand1.zendesk.com (default brand)
Brand 2: brand2.zendesk.com
If you want to create an article for Brand 2, use
POST https://brand2.zendesk.com/api/v2/help_center{/locale}/sections/{section_id}/articlesAs for the array, unfortunately, we do not have an endpoint for that. You will have to create separate API calls.
Best,
Paolo | Technical Support Engineer | Zendesk