Skip to main content
POST
/
user
/
folder
Create folder
curl --request POST \
  --url https://app.autocalls.ai/api/user/folder \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "color": "<string>"
}
'
{
  "message": "Folder created successfully",
  "data": { "id": 12, "name": "Acme Corp", "color": "blue", "assistants_count": 0 }
}
Create a folder to group your assistants. Assign assistants to a folder with the folder_id field on the Create assistant and Update assistant endpoints.

Request Body

name
string
required
The folder name (max 255 characters). Must be unique within your account.
color
string
A color for the folder badge. One of: gray, slate, red, orange, amber, green, teal, blue, purple, pink.

Response

message
string
Success message
data
object
{
  "message": "Folder created successfully",
  "data": { "id": 12, "name": "Acme Corp", "color": "blue", "assistants_count": 0 }
}