Add a collaborator to a goal
POST
/goals/{goal_gid}/addFollowers
Goals
Each goal can be associated with zero or more followers in the system.
Requests to add/remove followers, if successful, will return the complete updated goal record, described above.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.asana.com/api/1.0/goals//addFollowers' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
201 - Example 1
{
"data": {
"gid": "12345",
"resource_type": "task",
"name": "Grow web traffic by 30%",
"owner": {
"gid": "12345",
"resource_type": "task",
"name": "Greg Sanchez"
},
"due_on": "2019-09-15",
"followers": [
{
"gid": "12345",
"resource_type": "task",
"name": "Greg Sanchez"
}
],
"html_notes": "<body>Start building brand awareness.</body>",
"is_workspace_level": true,
"liked": false,
"metric": {
"gid": "12345",
"resource_type": "task",
"currency_code": "EUR",
"current_display_value": "8.12",
"current_number_value": 8.12,
"initial_number_value": 5.2,
"precision": 2,
"resource_subtype": "number",
"target_number_value": 10.2,
"unit": "none"
},
"notes": "Start building brand awareness.",
"start_on": "2019-09-14",
"status": "string",
"team": {
"gid": "12345",
"resource_type": "task",
"name": "Marketing"
},
"time_period": {
"gid": "12345",
"resource_type": "task",
"end_on": "2019-09-14",
"period": "Q1",
"start_on": "2019-09-13"
},
"workspace": {
"gid": "12345",
"resource_type": "task",
"name": "My Company Workspace"
},
"likes": [
{
"gid": "12345",
"user": {
"gid": "12345",
"resource_type": "task",
"name": "Greg Sanchez"
}
}
],
"num_likes": 5
}
}
Request
Path Params
goal_gid
string
required
Body Params application/json
Responses
Modified at 2022-09-13 02:00:31