Create a folder
create_folderCreates a folder to organize campaigns, audiences, or accounts by type, optionally under a parent folder.
Instructions
Create a folder.
Required API key scope: campaigns:write | audiences:write | accounts:write.
POST /folders
Required scope depends on body type: CAMPAIGN → campaigns:write, AUDIENCE → audiences:write,
ACCOUNT → accounts:write. The body is validated before authentication, so a bad body returns 400 even
without credentials. A duplicate name under the same parent violates a unique constraint (500).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"body": "<body>"
},
"name": "create_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | JSON request body. |