Search + K

Command Palette

Search for a command to run...

Sign In

Creates a folder

POST /crm/v3/lists/folders
Copy endpoint
https://api.hubapi.com

Creates a folder with the given information.

Request Body

application/json required
interface ListFolderCreateRequest {
name: string;
parentFolderId?: string;
}

Responses

200 application/json

successful operation

interface ListFolderCreateResponse {
folder: PublicListFolder
interface PublicListFolder {
childLists: number[];
childNodes: PublicListFolder[];
createdAt?: string;
id: string;
name?: string;
parentFolderId: string;
updatedAt?: string;
updatedContentsAt?: string;
userId?: number;
}
;
}
default */*

An error occurred.

interface Error {
category: string;
context?: { };
correlationId: string;
errors?: ErrorDetail
interface ErrorDetail {
code?: string;
context?: { };
in?: string;
message: string;
subCategory?: string;
}
[]
;
links?: { };
message: string;
subCategory?: string;
}