Retrieves a single label by its unique numeric identifier.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/label/{labelId}.do
Retrieves a single label by its unique numeric identifier. The response includes full label details: 'id', 'value', 'defaultLabel' flag, 'defaultLabelObjectType' (1=Banner, 2=Placement), and 'defaultLabelPlacementTypes' (array of placement type IDs). Requires the LABELS_MANAGEMENT permission.
Path Params
labelIdintegerrequired
Unique numeric identifier of the label to retrieve
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/label/100.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());