402 Payment Required
error.limit
query parameter.429 Too Many Requests
response if you hit any of our rate limits.Parameter name | Custom field type | Accepted type |
---|---|---|
custom_fields.{gid}.is_set | All | Boolean |
custom_fields.{gid}.value | Text | String |
custom_fields.{gid}.value | Number | Number |
custom_fields.{gid}.value | Enum | Enum option ID |
custom_fields.{gid}.starts_with | Text only | String |
custom_fields.{gid}.ends_with | Text only | String |
custom_fields.{gid}.contains | Text only | String |
custom_fields.{gid}.less_than | Number only | Number |
custom_fields.{gid}.greater_than | Number only | Number |
custom_fields.12345.is_set=true
. To match an exact value for an enum custom field, use the gid of the desired enum option and not the name of the enum option: custom_fields.12345.value=67890
.projects.any
and sections.any
, you will receive tasks for the project and tasks for the section. If you're looking for only tasks in a section, omit the projects.any
from the request.curl --location --request GET 'https://app.asana.com/api/1.0/workspaces//tasks/search'
{
"data": [
{
"gid": "12345",
"resource_type": "task",
"name": "Bug Task"
}
]
}