Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The folder name. Must be unique in the project.

Required string length: 1 - 255
color
enum<string>

The color the folder is shown with in the app. Folders share the palette labels use. Defaults to GREY.

Available options:
GREEN,
RED,
ORANGE,
PURPLE,
GREY,
BLUE,
PEACH,
TEAL,
INDIGO,
AMBER,
ROSE,
CYAN
description
string | null

What belongs in this folder.

Response

The created folder

data
object
required

A folder that groups customer flows. A flow sits in at most one folder.