Assets

Create a folder

Changed on

Creates a new folder for organizing file assets. Folder names must be unique within the same parent folder.

post/v1/assets/folders

Request

  • Base URL
    https://api.customer.io
  • URL
    https://api.customer.io/v1/assets/folders
  • Auth
    none declared

Request body

namestring required

Display name for the folder. Must be unique among siblings in the same parent folder.

parent_folder_idinteger nullable

The ID of the parent folder. Omit or set to "0" to create at the root level.

Example request

{
  "name": "Banners"
}

Response

The newly created folder.

Example response

{
  "folder": {
    "name": "Banners",
    "created": 1773856017,
    "updated": 1773856017
  }
}

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the // response's property type changed from integer to string for status

    • breaking

      the // response's property type changed from integer to string for status

    • breaking

      the // response's property type changed from integer to string for status

    • breaking

      the // response's property type changed from integer to string for status