What You’ll Learn
- Listing and filtering tags
- Assigning tags to sites via other endpoints
GET /tags
Returns all tags with pagination support. Method: GET (readonly)Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page | integer | No | 1 | Page number |
per_page | integer | No | 10 | Items per page |
search | string | No | — | Search in tag name |
include | string | No | — | Comma-separated tag IDs to include |
exclude | string | No | — | Comma-separated tag IDs to exclude |
Response
The REST API v2 provides read-only access to tags. For tag creation, modification, and deletion, use the Abilities API or the Dashboard interface.
Assigning Tags to Sites
Tags can be assigned to sites when creating or editing sites via the REST API:groupids parameter accepts a comma-separated list of tag IDs.
Related Resources
- REST API Overview - API basics and authentication
- Sites Endpoints - Site management
- Abilities API Tags - Full tag management