Skip to main content

Get Tag

Retrieve a single tag by ID.

Endpoint

GET /tags/:id

Headers

HeaderValueRequired
AuthorizationBearer <your-api-key>Yes

Path Parameters

ParameterTypeDescription
idstringThe tag ID

Response

{
"id": "01957e3a-4b5c-7d8e-9f0a-1b2c3d4e5f6a",
"name": "VIP",
"description": "High-value customers eligible for special offers",
"contact_count": 1250,
"created_at": "2026-03-01T10:00:00.000Z",
"updated_at": "2026-03-08T12:00:00.000Z"
}

See Create Tag for the field reference.

Listing tagged contacts

To list contacts that have a specific tag, use GET /contacts?tag_id=:id.


Examples

curl "https://api.arsel.sa/v1/tags/01957e3a-4b5c-7d8e-9f0a-1b2c3d4e5f6a" \
-H "Authorization: Bearer be_your_api_key"

Error Responses

{
"status_code": 404,
"name": "not_found",
"message": "Tag not found"
}