Moving a task from section to top of section

I am using the addProject endpoint to move a task from one section in a project to another section

the task will move without problem, but this move the task to the bottom of the section in board view (not sure if that matters anymore), I want to move it to the top of the section

so, what would be the correct place to put the insert_before?

data: {
project : project_id,
section : section_id,
insert_before : null //<–here?

1 Like

It’s not in the API docs yet but you can now use a new endpoint that was just added yesterday: