Skip to main content

Get Category's Audience

This endpoint returns the audience of a specific category.

info

This operation requires authentication only if content_availability community option is false.

HTTP Request

GET /api/v2/category/{id}/audience/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this category

Example Request

const headers = {
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};

fetch('/api/v2/category/{id}/audience/',
{
method: 'GET',

headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKResponse status codeCategory

Example responses

{
"category_audience": "integer",
"connections_audience": "integer"
}