Create a section in a project
POST
/projects/{project_gid}/sections
Sections
Returns the full record of the newly created section.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.asana.com/api/1.0/projects//sections' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"insert_after": "987654",
"insert_before": "86420",
"name": "Next Actions",
"project": "13579"
}
}'
Response Response Example
201 - Example 1
{
"data": {
"gid": "12345",
"resource_type": "task",
"name": "Next Actions",
"created_at": "2012-02-22T02:06:58.147Z",
"project": {
"gid": "12345",
"resource_type": "task",
"name": "Stuff to buy"
},
"projects": [
{
"gid": "12345",
"resource_type": "task",
"name": "Stuff to buy"
}
]
}
}
Request
Path Params
project_gid
string
required
Body Params application/json
Responses
Modified at 2022-09-13 02:00:31