Tags
As the name suggests, tags are a core part of klink.cloud — the very reason klink.cloud exists is so you can have secure conversations with your tags. On this page, we'll dive into the different tag endpoints you can use to manage tags programmatically. We'll look at how to query, create, update, and delete tags.
The Tag Model
The tag model contains all the information about your tags.
Properties
- Name
id
- Type
- string
- Description
Unique identifier for the tag.
- Name
name
- Type
- string
- Description
Name of the tag
GETapi/v1/tags
List all tags
This endpoint allows you to retrieve a paginated list of all your tags. By default, a maximum of ten tags are shown per page.
Request
GET
/api/tagscurl -G https://api.klink.cloud/api/v1/tags \
-H "Authorization: Bearer {token}" \
Response
{
"id": "df06d42a-f47b-4629-abd3-ec587f8b6612",
"name": "coupon"
},
{
"id": ...............
}