Skip to main content
POST
/
crm
/
v3
/
lists
/
folders
Crea una carpeta
curl --request POST \
  --url https://api.hubapi.com/crm/v3/lists/folders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "parentFolderId": "<string>",
  "name": "<string>"
}'
{
  "folder": {
    "createdAt": "2023-11-07T05:31:56Z",
    "parentFolderId": "<string>",
    "childNodes": [
      {}
    ],
    "name": "<string>",
    "id": "<string>",
    "childLists": [
      123
    ],
    "updatedContentsAt": "2023-11-07T05:31:56Z",
    "userId": 123,
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Productos compatibles

Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing Hub -Starter
Sales HubSales Hub -Gratuito
Service HubService Hub -Gratuito
Content HubContent Hub -Starter
Esta API requiere uno de los siguientes ámbitos:
cms.membership.access_groups.write
crm.lists.read
crm.lists.read
crm.lists.write

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
name
string
required

El nombre de la carpeta que se creará.

parentFolderId
string

La carpeta en la que se debe crear esto; si no se especifica, se creará en la carpeta raíz 0.

Response

successful operation

folder
object
required
I