List All Tags
Retrieve all tags defined in your workspace. Tags are used to categorize and segment contacts.
Endpoint
GET https://api.campaignlark.com/v1/tags
Request
This endpoint accepts no query parameters or request body.
Response
Success — 200 OK
{
"data": [
{
"id": 1,
"workspace_id": 42,
"name": "newsletter"
},
{
"id": 2,
"workspace_id": 42,
"name": "vip"
}
]
}
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | Unique identifier for the tag. |
workspace_id | integer | The workspace this tag belongs to. |
name | string | The tag name. |