Skip to main content

Example:
Folder 1 (parent)
Folder 2(child)

we have to create a card and add it to the Folder 2.

how can we change the folder for already existing cards?

Hi Oleksii,

You can POST to the /folders/{folderId}/action endpoint with this payload:

{
"actionType": "add",
"folderEntries": "
{
"cardId": source_card_id,
"entryType": "card"
}
],
"prevSiblingItemId": "first"
}

Hope this helps! Let me know if you have any additional questions.


Hi Kay, thx a lot
it's for changing the folder for an already created card.

how about creating a new card in the child folder?


Hi Oleksii,

You can POST to the /folders/{folderId}/action endpoint with this payload:

{
"actionType": "add",
"folderEntries": "
{
"cardId": source_card_id,
"entryType": "card"
}
],
"prevSiblingItemId": "first"
}

Hope this helps! Let me know if you have any additional questions.

its not working for me.

 

 


Reply