Returns the compact tag records for some filtered set of tags. Use one or more of the parameters provided to filter the tags returned.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://app.asana.com/api/1.0/workspaces//tags'
Response Response Example
200 - Example 1
{"data":[{"gid":"12345","resource_type":"task","name":"Stuff to buy"}]}
Request
Path Params
workspace_gid
string
required
Query Params
limit
integer
optional
Results per page. The number of objects to return per page. The value must be between 1 and 100.
Example:
50
offset
string
optional
Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
Example:
eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9
Responses
🟢200Successfully retrieved the specified set of tags.
application/json
Body
data
array[object (TagCompact) {3}]
optional
gid
string
read-onlyoptional
Globally unique identifier of the resource, as a string.
Example:
12345
resource_type
string
read-onlyoptional
The base type of this resource.
Example:
task
name
string
optional
Name of the tag. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer.