get https://app.asana.com/api/1.0/goals
Returns compact goal records.
Customizing the response
Requests to this endpoint return "compact" goal objects (schema) by default. To include more fields in the response, see input/output options.
Responses
Returns compact goal records.
Customizing the response
Requests to this endpoint return "compact" goal objects (schema) by default. To include more fields in the response, see input/output options.
xxxxxxxxxx
curl --request GET \
--url https://app.asana.com/api/1.0/goals \
--header 'accept: application/json'
xxxxxxxxxx
19{
"data": [
{
"gid": "12345",
"resource_type": "goal",
"name": "Grow web traffic by 30%",
"owner": {
"gid": "12345",
"resource_type": "user",
"name": "Greg Sanchez"
}
}
],
"next_page": {
"offset": "eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9",
"path": "/tasks/12345/attachments?limit=2&offset=eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9",
"uri": "https://app.asana.com/api/1.0/tasks/12345/attachments?limit=2&offset=eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9"
}
}