POST
/
v1
/
pathway
/
folders
Create Folder
curl --request POST \
  --url https://us.api.bland.ai/v1/pathway/folders \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "name": "<string>",
  "parent_folder_id": "<string>"
}'
{
  "folder_id": "new_folder_123",
  "name": "New Folder",
  "parent_folder_id": null
}

Headers

authorization
string
required
Your API key for authentication.

Body Parameters

name
string
required
The name of the new folder.
parent_folder_id
string
The ID of the parent folder, if creating a subfolder.

Response

folder_id
string
The unique identifier of the newly created folder.
name
string
The name of the newly created folder.
parent_folder_id
string
The ID of the parent folder, if applicable.
{
  "folder_id": "new_folder_123",
  "name": "New Folder",
  "parent_folder_id": null
}