Skip to main content
GET
/
api
/
public
/
tags
Get all tags
curl --request GET \
  --url https://api.vambe.me/api/public/tags \
  --header 'x-api-key: <x-api-key>'
const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};

fetch('https://api.vambe.me/api/public/tags', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
import requests

url = "https://api.vambe.me/api/public/tags"

headers = {"x-api-key": "<x-api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
[
  {
    "id": 1,
    "value": "vip-customer",
    "variant": "amber",
    "entity_type": "CONTACT",
    "created_at": "2024-01-15T10:00:00.000Z",
    "client_id": "550e8400-e29b-41d4-a716-446655440000"
  }
]

Headers

x-api-key
string
required

API key needed to authorize the request

Response

Tags retrieved successfully.

id
number
Example:

1

value
string
Example:

"vip-customer"

variant
string

Color variant for UI display

Example:

"amber"

entity_type
string

CONTACT or TICKET

Example:

"CONTACT"

created_at
string
Example:

"2024-01-15T10:00:00.000Z"

client_id
string
Example:

"550e8400-e29b-41d4-a716-446655440000"