POST
/
v1
/
pathway
/
folders
/
move
curl --request POST \
  --url https://us.api.bland.ai/v1/pathway/folders/move \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "pathway_id": "<string>",
  "folder_id": "<string>"
}'
{
  "pathway_id": "pathway_123",
  "old_folder_id": "old_folder_456",
  "new_folder_id": "new_folder_789"
}

Headers

authorization
string
required

Your API key for authentication.

Body Parameters

pathway_id
string
required

The ID of the pathway to move.

folder_id
string

The ID of the destination folder. If null, the pathway will be moved to the root level.

Response

pathway_id
string

The ID of the moved pathway.

old_folder_id
string

The ID of the original folder.

new_folder_id
string

The ID of the new folder, or null if moved to root level.

{
  "pathway_id": "pathway_123",
  "old_folder_id": "old_folder_456",
  "new_folder_id": "new_folder_789"
}