The header-bidding tags the user can see, newest settings included; siteId narrows the list to one site.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/hb-tags.do
The header-bidding tags the user can see, newest settings included; siteId narrows the list to one site. Each row carries the same fields as GET /rest-api/hb-tags/{tagId}. total counts every tag the user can see, more says the list was cut at limit. Requires the HEADER_BIDDING_TAB_VISIBLE permission and access to the tag's site.
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/hb-tags.do?siteId=139&limit=50");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());