Content Management API > Manual tags
List all manually created upload tags
The results are sorted by name and paginated by default.
Query parameters
filterobject
Attributes to filter tags
querystring
Textual query to match.
Example:
"foobar"
pageobject
Parameters to control offset-based pagination
offsetinteger
The (zero-based) offset of the first entity returned in the collection (defaults to 0)
Example:
200
limitinteger
The maximum number of entities to return (defaults to 50, maximum is 500)
Returns
Returns an array of resource objects of type upload_tag.
Examples
GET https://site-api.datocms.com/upload-tags HTTP/1.1Authorization: Bearer YOUR-API-TOKENAccept: application/jsonX-Api-Version: 3curl -g 'https://site-api.datocms.com/upload-tags' \ \ -H "Authorization: Bearer YOUR-API-TOKEN" \ -H "Accept: application/json" \ -H "X-Api-Version: 3"await fetch("https://site-api.datocms.com/upload-tags", { headers: { Authorization: "Bearer YOUR-API-TOKEN", Accept: "application/json", "X-Api-Version": "3", },});HTTP/1.1 200 OKContent-Type: application/jsonCache-Control: cache-control: max-age=0, private, must-revalidateX-RateLimit-Limit: 30X-RateLimit-Remaining: 28
{ "data": [ { "type": "upload_tag", "id": "42", "attributes": { "name": "Pictures of me" } } ], "meta": { "total_count": 20 }}