English
English
Appearance
English
English
Appearance
https://api.repliz.com/public/account/tagRetrieve every tag used on your accounts, sorted by name, each with how many accounts have it in total and per platform. Tags group the accounts of one brand or client; set them with Update Tag Account, then list one brand with tags[] in Get Account. A tag disappears from this list once no account has it.
Authorization: Basic Base64(AccessKey:SecretKey)) or Bearer token from Login with Replizaccount:read (or account:write)With an operator API key, only the accounts assigned to the operator are counted.
curl -X GET "https://api.repliz.com/public/account/tag" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"import axios from 'axios';
const response = await axios.get('https://api.repliz.com/public/account/tag', {
auth: {
username: 'YOUR_ACCESS_KEY',
password: 'YOUR_SECRET_KEY',
},
});
console.log(response.data);const credentials = btoa('YOUR_ACCESS_KEY:YOUR_SECRET_KEY');
const response = await fetch('https://api.repliz.com/public/account/tag', {
method: 'GET',
headers: {
Authorization: `Basic ${credentials}`,
},
});
const data = await response.json();
console.log(data);| Field | Type | Description |
|---|---|---|
tag | string | The tag, in the spelling the accounts use. |
total | number | How many accounts have the tag. |
| Platform counts | number | facebook, instagram, threads, tiktok, youtube, linkedin, shopee, twitter, whatsapp, telegram, and pinterest: how many accounts of that platform have the tag, 0 for none. |
[
{
"tag": "Brand A",
"total": 3,
"facebook": 1,
"youtube": 0,
"instagram": 1,
"threads": 0,
"tiktok": 1,
"linkedin": 0,
"shopee": 0,
"twitter": 0,
"whatsapp": 0,
"telegram": 0,
"pinterest": 0
}
]{
"code": 401,
"message": "unauthorized"
}