> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# customerio-content

> Content & Design

**Server path:** `/customerio-content` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                                              | Description                         |
| ------------------------------------------------------------------------------------------------- | ----------------------------------- |
| [`customerio_content_add_collection`](#customerio_content_add_collection)                         | Create a collection                 |
| [`customerio_content_create_asset`](#customerio_content_create_asset)                             | Create a file asset                 |
| [`customerio_content_create_asset_folder`](#customerio_content_create_asset_folder)               | Create a folder                     |
| [`customerio_content_create_component`](#customerio_content_create_component)                     | Create a component                  |
| [`customerio_content_create_email`](#customerio_content_create_email)                             | Create an email                     |
| [`customerio_content_create_email_translation`](#customerio_content_create_email_translation)     | Create an email translation         |
| [`customerio_content_create_folder`](#customerio_content_create_folder)                           | Create a folder                     |
| [`customerio_content_create_snippet`](#customerio_content_create_snippet)                         | Create a snippet                    |
| [`customerio_content_delete_asset`](#customerio_content_delete_asset)                             | Delete a file asset                 |
| [`customerio_content_delete_asset_folder`](#customerio_content_delete_asset_folder)               | Delete a folder                     |
| [`customerio_content_delete_collection`](#customerio_content_delete_collection)                   | Delete a collection                 |
| [`customerio_content_delete_component`](#customerio_content_delete_component)                     | Delete a component                  |
| [`customerio_content_delete_email`](#customerio_content_delete_email)                             | Delete an email                     |
| [`customerio_content_delete_email_translation`](#customerio_content_delete_email_translation)     | Delete an email translation         |
| [`customerio_content_delete_folder`](#customerio_content_delete_folder)                           | Delete a folder                     |
| [`customerio_content_delete_snippet`](#customerio_content_delete_snippet)                         | Delete a snippet                    |
| [`customerio_content_get_asset`](#customerio_content_get_asset)                                   | Get a file asset                    |
| [`customerio_content_get_asset_folder`](#customerio_content_get_asset_folder)                     | Get a folder                        |
| [`customerio_content_get_collection`](#customerio_content_get_collection)                         | Lookup a collection                 |
| [`customerio_content_get_collection_contents`](#customerio_content_get_collection_contents)       | Lookup collection contents          |
| [`customerio_content_get_collections`](#customerio_content_get_collections)                       | List your collections               |
| [`customerio_content_get_component`](#customerio_content_get_component)                           | Get a component                     |
| [`customerio_content_get_email`](#customerio_content_get_email)                                   | Get an email                        |
| [`customerio_content_get_email_translation`](#customerio_content_get_email_translation)           | Get an email translation            |
| [`customerio_content_get_folder`](#customerio_content_get_folder)                                 | Get a folder                        |
| [`customerio_content_list_asset_folders`](#customerio_content_list_asset_folders)                 | List folders                        |
| [`customerio_content_list_assets`](#customerio_content_list_assets)                               | List file assets                    |
| [`customerio_content_list_components`](#customerio_content_list_components)                       | List components                     |
| [`customerio_content_list_email_translations`](#customerio_content_list_email_translations)       | List email translations             |
| [`customerio_content_list_emails`](#customerio_content_list_emails)                               | List emails                         |
| [`customerio_content_list_folders`](#customerio_content_list_folders)                             | List folders                        |
| [`customerio_content_list_snippets`](#customerio_content_list_snippets)                           | List snippets                       |
| [`customerio_content_update_asset`](#customerio_content_update_asset)                             | Update a file asset                 |
| [`customerio_content_update_asset_folder`](#customerio_content_update_asset_folder)               | Update a folder                     |
| [`customerio_content_update_collection`](#customerio_content_update_collection)                   | Update a collection                 |
| [`customerio_content_update_collection_contents`](#customerio_content_update_collection_contents) | Update the contents of a collection |
| [`customerio_content_update_component`](#customerio_content_update_component)                     | Update a component                  |
| [`customerio_content_update_email`](#customerio_content_update_email)                             | Update an email                     |
| [`customerio_content_update_email_translation`](#customerio_content_update_email_translation)     | Update an email translation         |
| [`customerio_content_update_folder`](#customerio_content_update_folder)                           | Update a folder                     |
| [`customerio_content_update_snippets`](#customerio_content_update_snippets)                       | Update snippets                     |

***

## customerio\_content\_add\_collection

Create a collection

**Parameters:**

| Parameter | Type   | Required | Default | Description  |
| --------- | ------ | -------- | ------- | ------------ |
| `body`    | object | No       | —       | Request body |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "body": {
        "description": "Request body"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_create\_asset

Create a file asset

**Parameters:**

| Parameter          | Type    | Required | Default | Description                                                                                                                                                                                                                      |                                                                                       |
| ------------------ | ------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `file`             | string  | Yes      | —       | The file to upload. Must be an accepted image or PDF type. Accepted file types: `image/bmp`, `image/jpeg`, `image/jpg`, `image/png`, `image/gif`, `application/pdf`. Maximum file size: 2 MB.  Maximum image dimensions: 4096px. |                                                                                       |
| `name`             | string  | No       | —       | Custom display name for the asset. If omitted, the uploaded file's original filename is used.                                                                                                                                    |                                                                                       |
| `parent_folder_id` | integer | null     | No      | —                                                                                                                                                                                                                                | The ID of the parent folder. Omit or set to "0" to place the asset at the root level. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "file": {
        "type": "string",
        "description": "The file to upload. Must be an accepted image or PDF type. Accepted file types: `image/bmp`, `image/jpeg`, `image/jpg`, `image/png`, `image/gif`, `application/pdf`. Maximum file size: 2 MB.  Maximum image dimensions: 4096px."
      },
      "name": {
        "type": "string",
        "description": "Custom display name for the asset. If omitted, the uploaded file's original filename is used."
      },
      "parent_folder_id": {
        "type": [
          "integer",
          "null"
        ],
        "description": "The ID of the parent folder. Omit or set to \"0\" to place the asset at the root level."
      }
    },
    "required": [
      "PCID",
      "file"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_create\_asset\_folder

Create a folder

**Parameters:**

| Parameter          | Type    | Required | Default | Description                                                                           |                                                                              |
| ------------------ | ------- | -------- | ------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| `name`             | string  | Yes      | —       | Display name for the folder. Must be unique among siblings in the same parent folder. |                                                                              |
| `parent_folder_id` | integer | null     | No      | —                                                                                     | The ID of the parent folder. Omit or set to "0" to create at the root level. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "name": {
        "type": "string",
        "description": "Display name for the folder. Must be unique among siblings in the same parent folder."
      },
      "parent_folder_id": {
        "type": [
          "integer",
          "null"
        ],
        "description": "The ID of the parent folder. Omit or set to \"0\" to create at the root level."
      }
    },
    "required": [
      "PCID",
      "name"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_create\_component

Create a component

**Parameters:**

| Parameter          | Type   | Required | Default | Description                                                                                                                     |                                                                                 |
| ------------------ | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| `content`          | string | Yes      | —       | HTML content                                                                                                                    |                                                                                 |
| `name`             | string | Yes      | —       | Display name of the component. You see this on your Design Studio dashboard. This may be different from the component tag name. |                                                                                 |
| `parent_folder_id` | string | null     | No      | —                                                                                                                               | UUID of the parent folder. Omit or pass `null` to create in the root directory. |
| `tag`              | string | Yes      | —       | The component tag name, used to reference your component in an email. Learn what characters you can use.                        |                                                                                 |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "content": {
        "type": "string",
        "description": "HTML content"
      },
      "name": {
        "type": "string",
        "description": "Display name of the component. You see this on your Design Studio dashboard. This may be different from the component tag name."
      },
      "parent_folder_id": {
        "type": [
          "string",
          "null"
        ],
        "description": "UUID of the parent folder. Omit or pass `null` to create in the root directory."
      },
      "tag": {
        "type": "string",
        "description": "The component tag name, used to reference your component in an email. [Learn what characters you can use](/journeys/design-studio/reusable/components/code-custom-component/#component-tag-name-validation)."
      }
    },
    "required": [
      "PCID",
      "content",
      "name",
      "tag"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_create\_email

Create an email

**Parameters:**

| Parameter          | Type    | Required | Default | Description                                                                               |                                                                   |
| ------------------ | ------- | -------- | ------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| `content`          | object  | No       | —       | The content of your email.                                                                |                                                                   |
| `envelope`         | object  | No       | —       | The envelope of your email, like from and to addresses.                                   |                                                                   |
| `is_template`      | boolean | No       | —       | Whether the email is a reusable template.                                                 |                                                                   |
| `name`             | string  | Yes      | —       | Display name of the email.                                                                |                                                                   |
| `parent_folder_id` | string  | null     | No      | —                                                                                         | UUID of the parent folder. Omit or pass `null` to create at root. |
| `transformers`     | object  | No       | —       | Automate repetitive actions like removing white space and inlining CSS with transformers. |                                                                   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "content": {
        "type": "object",
        "description": "The content of your email.",
        "properties": {
          "subject": {
            "type": "string",
            "description": "Email subject line."
          },
          "preheader_text": {
            "type": "string",
            "description": "Preview text."
          },
          "html": {
            "type": "string",
            "description": "HTML body."
          },
          "amp": {
            "type": "string",
            "description": "AMP HTML body."
          },
          "text": {
            "type": "string",
            "description": "Plain text body."
          }
        }
      },
      "envelope": {
        "type": "object",
        "description": "The envelope of your email, like from and to addresses.",
        "properties": {
          "from_id": {
            "type": "integer",
            "description": "Sender identity ID. Must reference an existing identity. You can find this in *Workspace Settings > Email* under your From Addresses."
          },
          "reply_to_id": {
            "type": "integer",
            "description": "Reply-to identity ID. Must reference an existing identity from *Workspace Settings > Email* under your From Addresses."
          },
          "recipient": {
            "type": "string",
            "description": "Recipient email address. Defaults to `{{customer.email}}`` if not set."
          },
          "bcc": {
            "type": "string",
            "description": "BCC email address."
          },
          "fake_bcc": {
            "type": "boolean",
            "description": "Whether to use fake BCC. Defaults to true if not provided."
          },
          "headers": {
            "type": "array",
            "items": {
              "type": "object"
            },
            "description": "Custom headers. Each item: { \"name\": \"string\", \"value\": \"string\" }."
          }
        }
      },
      "is_template": {
        "type": "boolean",
        "description": "Whether the email is a reusable template."
      },
      "name": {
        "type": "string",
        "description": "Display name of the email."
      },
      "parent_folder_id": {
        "type": [
          "string",
          "null"
        ],
        "description": "UUID of the parent folder. Omit or pass `null` to create at root."
      },
      "transformers": {
        "type": "object",
        "description": "Automate repetitive actions like removing white space and inlining CSS with [transformers](/journeys/design-studio/emails/code-editor/overview/#transformers).",
        "properties": {
          "url_parameters": {
            "type": "object",
            "description": "Appends query string parameters to all absolute URLs in `<a>` and VML elements. Useful for adding UTM tracking or other analytics parameters. Skips `mailto:`, `tel:`, and `sms:` links. Elements marked with `data-ignore-params` are excluded."
          },
          "css_variables": {
            "type": "object",
            "description": "Resolves CSS custom properties (`var(--name)`) into their computed values. Required for email clients that do not support CSS custom properties (most email clients). Variables declared in one `<style>` tag are available in subsequent `<style>` tags."
          },
          "css_inliner": {
            "type": "object",
            "description": "Moves CSS from `<style>` tags into inline `style` attributes on each element. Essential for email clients with limited `<style>` support (for example, older Gmail and some Outlook versions). Uses the `juice` library. Elements in `<style>` tags marked with `data-ignore-inlining` are skipped."
          },
          "accessibility": {
            "type": "object",
            "description": "Applies a set of accessibility improvements to the email HTML. When no `language` is set, this falls back to the `lang` attribute on the `<html>` tag, or `\"und\"` (undetermined). The `dir` attribute is automatically derived from the language using RTL detection."
          },
          "formatter": {
            "type": "object",
            "description": "Controls the output formatting of the final HTML. Only one mode (`prettify` or `minify`) can be active at a time. Set to `\"none\"` to skip formatting entirely."
          },
          "prevent_widows": {
            "type": "object",
            "description": "Replaces the last space in text blocks with a non-breaking space (`&nbsp;`) to prevent a single word from wrapping onto its own line (a “widow”). Only processes text nodes in the `<body>` and skips `<script>`, `<style>`, `<noscript>`, `<svg>`, and `<head>` elements. Preserves Liquid template tags (`{{ }} ` and `{% %}`)."
          },
          "encode_entities": {
            "type": "object",
            "description": "Encodes special characters (for example, `©`, `™`, and `—`) as their HTML entity equivalents. Improves rendering consistency across email clients with varying character encoding support. Only processes text nodes in the `<body>` and skips `<script>`, `<style>`, `<noscript>`, `<svg>`, and `<head>` elements. Preserves Liquid template tags and avoids double-encoding existing entities."
          },
          "remove_unused_css": {
            "type": "object",
            "description": "Scans the HTML and removes any CSS selectors from `<style>` tags that are not referenced in the document. Reduces file size and helps avoid Gmail’s 102 KB clipping limit. HTML and CSS comments are always preserved by this step (comment removal is handled separately by the formatter object)."
          }
        }
      }
    },
    "required": [
      "PCID",
      "name"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_create\_email\_translation

Create an email translation

**Parameters:**

| Parameter      | Type   | Required | Default | Description                                                                               |
| -------------- | ------ | -------- | ------- | ----------------------------------------------------------------------------------------- |
| `id`           | string | Yes      | —       | The UUID of the email.                                                                    |
| `content`      | object | No       | —       | The content of your email.                                                                |
| `envelope`     | object | No       | —       | The envelope of your email, like from and to addresses.                                   |
| `language`     | string | Yes      | —       | A language code that corresponds to the language of the translation                       |
| `transformers` | object | No       | —       | Automate repetitive actions like removing white space and inlining CSS with transformers. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "The UUID of the email."
      },
      "content": {
        "type": "object",
        "description": "The content of your email.",
        "properties": {
          "subject": {
            "type": "string",
            "description": "Email subject line."
          },
          "preheader_text": {
            "type": "string",
            "description": "Preview text."
          },
          "html": {
            "type": "string",
            "description": "HTML body."
          },
          "amp": {
            "type": "string",
            "description": "AMP HTML body."
          },
          "text": {
            "type": "string",
            "description": "Plain text body."
          }
        }
      },
      "envelope": {
        "type": "object",
        "description": "The envelope of your email, like from and to addresses.",
        "properties": {
          "from_id": {
            "type": "integer",
            "description": "Sender identity ID. Must reference an existing identity. You can find this in *Workspace Settings > Email* under your From Addresses."
          },
          "reply_to_id": {
            "type": "integer",
            "description": "Reply-to identity ID. Must reference an existing identity from *Workspace Settings > Email* under your From Addresses."
          },
          "recipient": {
            "type": "string",
            "description": "Recipient email address. Defaults to `{{customer.email}}`` if not set."
          },
          "bcc": {
            "type": "string",
            "description": "BCC email address."
          },
          "fake_bcc": {
            "type": "boolean",
            "description": "Whether to use fake BCC. Defaults to true if not provided."
          },
          "headers": {
            "type": "array",
            "items": {
              "type": "object"
            },
            "description": "Custom headers. Each item: { \"name\": \"string\", \"value\": \"string\" }."
          }
        }
      },
      "language": {
        "type": "string",
        "description": "A [language code](/journeys/channels/localization/attribute/#supported-languages) that corresponds to the language of the translation"
      },
      "transformers": {
        "type": "object",
        "description": "Automate repetitive actions like removing white space and inlining CSS with [transformers](/journeys/design-studio/emails/code-editor/overview/#transformers).",
        "properties": {
          "url_parameters": {
            "type": "object",
            "description": "Appends query string parameters to all absolute URLs in `<a>` and VML elements. Useful for adding UTM tracking or other analytics parameters. Skips `mailto:`, `tel:`, and `sms:` links. Elements marked with `data-ignore-params` are excluded."
          },
          "css_variables": {
            "type": "object",
            "description": "Resolves CSS custom properties (`var(--name)`) into their computed values. Required for email clients that do not support CSS custom properties (most email clients). Variables declared in one `<style>` tag are available in subsequent `<style>` tags."
          },
          "css_inliner": {
            "type": "object",
            "description": "Moves CSS from `<style>` tags into inline `style` attributes on each element. Essential for email clients with limited `<style>` support (for example, older Gmail and some Outlook versions). Uses the `juice` library. Elements in `<style>` tags marked with `data-ignore-inlining` are skipped."
          },
          "accessibility": {
            "type": "object",
            "description": "Applies a set of accessibility improvements to the email HTML. When no `language` is set, this falls back to the `lang` attribute on the `<html>` tag, or `\"und\"` (undetermined). The `dir` attribute is automatically derived from the language using RTL detection."
          },
          "formatter": {
            "type": "object",
            "description": "Controls the output formatting of the final HTML. Only one mode (`prettify` or `minify`) can be active at a time. Set to `\"none\"` to skip formatting entirely."
          },
          "prevent_widows": {
            "type": "object",
            "description": "Replaces the last space in text blocks with a non-breaking space (`&nbsp;`) to prevent a single word from wrapping onto its own line (a “widow”). Only processes text nodes in the `<body>` and skips `<script>`, `<style>`, `<noscript>`, `<svg>`, and `<head>` elements. Preserves Liquid template tags (`{{ }} ` and `{% %}`)."
          },
          "encode_entities": {
            "type": "object",
            "description": "Encodes special characters (for example, `©`, `™`, and `—`) as their HTML entity equivalents. Improves rendering consistency across email clients with varying character encoding support. Only processes text nodes in the `<body>` and skips `<script>`, `<style>`, `<noscript>`, `<svg>`, and `<head>` elements. Preserves Liquid template tags and avoids double-encoding existing entities."
          },
          "remove_unused_css": {
            "type": "object",
            "description": "Scans the HTML and removes any CSS selectors from `<style>` tags that are not referenced in the document. Reduces file size and helps avoid Gmail’s 102 KB clipping limit. HTML and CSS comments are always preserved by this step (comment removal is handled separately by the formatter object)."
          }
        }
      }
    },
    "required": [
      "PCID",
      "id",
      "language"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_create\_folder

Create a folder

**Parameters:**

| Parameter          | Type   | Required | Default | Description                                                                     |                                                                   |
| ------------------ | ------ | -------- | ------- | ------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| `name`             | string | Yes      | —       | The name of the folder. Cannot contain these characters: \< > : " / \ \| ? \* . |                                                                   |
| `parent_folder_id` | string | null     | No      | —                                                                               | UUID of the parent folder. Omit or pass `null` to create at root. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "name": {
        "type": "string",
        "description": "The name of the folder. Cannot contain these characters: < > : \" / \\ | ? * ."
      },
      "parent_folder_id": {
        "type": [
          "string",
          "null"
        ],
        "description": "UUID of the parent folder. Omit or pass `null` to create at root."
      }
    },
    "required": [
      "PCID",
      "name"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_create\_snippet

Create a snippet

**Parameters:**

| Parameter | Type   | Required | Default | Description                                                                                                                                                        |
| --------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `name`    | string | Yes      | —       | The name of the snippet, must be unique. Trimmed of leading and trailing whitespace before storage.                                                                |
| `value`   | string | Yes      | —       | The contents of the snippet (plain text or Liquid). Trimmed of leading and trailing whitespace before storage. Max length is environment-specific (default 16000). |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "name": {
        "type": "string",
        "description": "The name of the snippet, must be unique. Trimmed of leading and trailing whitespace before storage."
      },
      "value": {
        "type": "string",
        "description": "The contents of the snippet (plain text or Liquid). Trimmed of leading and trailing whitespace before storage. Max length is environment-specific (default 16000)."
      }
    },
    "required": [
      "PCID",
      "name",
      "value"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_delete\_asset

Delete a file asset

**Parameters:**

| Parameter | Type    | Required | Default | Description                            |
| --------- | ------- | -------- | ------- | -------------------------------------- |
| `id`      | integer | Yes      | —       | The unique identifier of the resource. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The unique identifier of the resource."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_delete\_asset\_folder

Delete a folder

**Parameters:**

| Parameter | Type    | Required | Default | Description                            |
| --------- | ------- | -------- | ------- | -------------------------------------- |
| `id`      | integer | Yes      | —       | The unique identifier of the resource. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The unique identifier of the resource."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_delete\_collection

Delete a collection

**Parameters:**

| Parameter       | Type    | Required | Default | Description                      |
| --------------- | ------- | -------- | ------- | -------------------------------- |
| `collection_id` | integer | Yes      | —       | The identifier for a collection. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "collection_id": {
        "type": "integer",
        "description": "The identifier for a collection."
      }
    },
    "required": [
      "PCID",
      "collection_id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_delete\_component

Delete a component

**Parameters:**

| Parameter | Type   | Required | Default | Description                |
| --------- | ------ | -------- | ------- | -------------------------- |
| `id`      | string | Yes      | —       | The UUID of the component. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "The UUID of the component."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_delete\_email

Delete an email

**Parameters:**

| Parameter | Type   | Required | Default | Description            |
| --------- | ------ | -------- | ------- | ---------------------- |
| `id`      | string | Yes      | —       | The UUID of the email. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "The UUID of the email."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_delete\_email\_translation

Delete an email translation

**Parameters:**

| Parameter  | Type   | Required | Default | Description                                                          |
| ---------- | ------ | -------- | ------- | -------------------------------------------------------------------- |
| `id`       | string | Yes      | —       | The UUID of the email.                                               |
| `language` | string | Yes      | —       | A language code that indicates the language of your translated email |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "The UUID of the email."
      },
      "language": {
        "type": "string",
        "description": "A [language code](/journeys/channels/localization/attribute/#supported-languages) that indicates the language of your translated email"
      }
    },
    "required": [
      "PCID",
      "id",
      "language"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_delete\_folder

Delete a folder

**Parameters:**

| Parameter | Type   | Required | Default | Description             |
| --------- | ------ | -------- | ------- | ----------------------- |
| `id`      | string | Yes      | —       | The UUID of the folder. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "The UUID of the folder."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_delete\_snippet

Delete a snippet

**Parameters:**

| Parameter      | Type   | Required | Default | Description            |
| -------------- | ------ | -------- | ------- | ---------------------- |
| `snippet_name` | string | Yes      | —       | The name of a snippet. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "snippet_name": {
        "type": "string",
        "description": "The name of a snippet."
      }
    },
    "required": [
      "PCID",
      "snippet_name"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_get\_asset

Get a file asset

**Parameters:**

| Parameter | Type    | Required | Default | Description                            |
| --------- | ------- | -------- | ------- | -------------------------------------- |
| `id`      | integer | Yes      | —       | The unique identifier of the resource. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The unique identifier of the resource."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_get\_asset\_folder

Get a folder

**Parameters:**

| Parameter | Type    | Required | Default | Description                            |
| --------- | ------- | -------- | ------- | -------------------------------------- |
| `id`      | integer | Yes      | —       | The unique identifier of the resource. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The unique identifier of the resource."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_get\_collection

Lookup a collection

**Parameters:**

| Parameter       | Type    | Required | Default | Description                      |
| --------------- | ------- | -------- | ------- | -------------------------------- |
| `collection_id` | integer | Yes      | —       | The identifier for a collection. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "collection_id": {
        "type": "integer",
        "description": "The identifier for a collection."
      }
    },
    "required": [
      "PCID",
      "collection_id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_get\_collection\_contents

Lookup collection contents

**Parameters:**

| Parameter       | Type    | Required | Default | Description                      |
| --------------- | ------- | -------- | ------- | -------------------------------- |
| `collection_id` | integer | Yes      | —       | The identifier for a collection. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "collection_id": {
        "type": "integer",
        "description": "The identifier for a collection."
      }
    },
    "required": [
      "PCID",
      "collection_id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_get\_collections

List your collections

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_get\_component

Get a component

**Parameters:**

| Parameter | Type   | Required | Default | Description                |
| --------- | ------ | -------- | ------- | -------------------------- |
| `id`      | string | Yes      | —       | The UUID of the component. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "The UUID of the component."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_get\_email

Get an email

**Parameters:**

| Parameter | Type   | Required | Default | Description            |
| --------- | ------ | -------- | ------- | ---------------------- |
| `id`      | string | Yes      | —       | The UUID of the email. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "The UUID of the email."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_get\_email\_translation

Get an email translation

**Parameters:**

| Parameter  | Type   | Required | Default | Description                                                          |
| ---------- | ------ | -------- | ------- | -------------------------------------------------------------------- |
| `id`       | string | Yes      | —       | The UUID of the email.                                               |
| `language` | string | Yes      | —       | A language code that indicates the language of your translated email |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "The UUID of the email."
      },
      "language": {
        "type": "string",
        "description": "A [language code](/journeys/channels/localization/attribute/#supported-languages) that indicates the language of your translated email"
      }
    },
    "required": [
      "PCID",
      "id",
      "language"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_get\_folder

Get a folder

**Parameters:**

| Parameter | Type   | Required | Default | Description             |
| --------- | ------ | -------- | ------- | ----------------------- |
| `id`      | string | Yes      | —       | The UUID of the folder. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "The UUID of the folder."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_list\_asset\_folders

List folders

**Parameters:**

| Parameter                 | Type    | Required | Default | Description                                                                         |
| ------------------------- | ------- | -------- | ------- | ----------------------------------------------------------------------------------- |
| `parent_folder_id`        | integer | No       | —       | Filter results to a specific parent folder. Use 0 or omit to target the root level. |
| `direct_descendants_only` | boolean | No       | —       | If true, this returns only children of the parent folder.                           |
| `page`                    | integer | No       | —       | The page number of results you want to display. Use with `limit`.                   |
| `limit`                   | integer | No       | —       | Limit the number of results per page.                                               |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "parent_folder_id": {
        "type": "integer",
        "description": "Filter results to a specific parent folder. Use 0 or omit to target the root level."
      },
      "direct_descendants_only": {
        "type": "boolean",
        "description": "If true, this returns only children of the parent folder."
      },
      "page": {
        "type": "integer",
        "description": "The page number of results you want to display. Use with `limit`."
      },
      "limit": {
        "type": "integer",
        "description": "Limit the number of results per page."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_list\_assets

List file assets

**Parameters:**

| Parameter                 | Type    | Required | Default | Description                                                                         |
| ------------------------- | ------- | -------- | ------- | ----------------------------------------------------------------------------------- |
| `parent_folder_id`        | integer | No       | —       | Filter results to a specific parent folder. Use 0 or omit to target the root level. |
| `direct_descendants_only` | boolean | No       | —       | If true, this returns only children of the parent folder.                           |
| `page`                    | integer | No       | —       | The page number of results you want to display. Use with `limit`.                   |
| `limit`                   | integer | No       | —       | Limit the number of results per page.                                               |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "parent_folder_id": {
        "type": "integer",
        "description": "Filter results to a specific parent folder. Use 0 or omit to target the root level."
      },
      "direct_descendants_only": {
        "type": "boolean",
        "description": "If true, this returns only children of the parent folder."
      },
      "page": {
        "type": "integer",
        "description": "The page number of results you want to display. Use with `limit`."
      },
      "limit": {
        "type": "integer",
        "description": "Limit the number of results per page."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_list\_components

List components

**Parameters:**

| Parameter                 | Type    | Required | Default | Description                                                                                                                                                                                                                                        |
| ------------------------- | ------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `tag`                     | string  | No       | —       | Filter by component tag name. This is the name of the tag inserted into your emails.                                                                                                                                                               |
| `page`                    | integer | No       | —       | The page number of results you want to display. Use with `limit`.                                                                                                                                                                                  |
| `limit`                   | integer | No       | —       | Limit the number of results per page.                                                                                                                                                                                                              |
| `parent_folder_id`        | string  | No       | —       | Filter by parent folder. Must reference an existing folder. If not set, the response filters by the root level directory.  To list only items in the root folder, leave `parent_folder_id` unset and only set `direct_descendants_only` to `true`. |
| `direct_descendants_only` | boolean | No       | —       | If true, this returns only children of the parent folder.                                                                                                                                                                                          |
| `sort_by`                 | string  | No       | —       | Sort By                                                                                                                                                                                                                                            |
| `sort_order`              | string  | No       | —       | Sort Order                                                                                                                                                                                                                                         |
| `created_before`          | integer | No       | —       | Return records created before this time. Must be a unix timestamp.                                                                                                                                                                                 |
| `created_after`           | integer | No       | —       | Return records created after this time. Must be a unix timestamp.                                                                                                                                                                                  |
| `updated_before`          | integer | No       | —       | Return records updated before this time. Must be a unix timestamp.                                                                                                                                                                                 |
| `updated_after`           | integer | No       | —       | Return records updated after this time. Must be a unix timestamp.                                                                                                                                                                                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "tag": {
        "type": "string",
        "description": "Filter by component tag name. This is the name of the tag inserted into your emails."
      },
      "page": {
        "type": "integer",
        "description": "The page number of results you want to display. Use with `limit`."
      },
      "limit": {
        "type": "integer",
        "description": "Limit the number of results per page."
      },
      "parent_folder_id": {
        "type": "string",
        "description": "Filter by parent folder. Must reference an existing folder. If not set, the response filters by the root level directory.  To list only items in the root folder, leave `parent_folder_id` unset and only set `direct_descendants_only` to `true`."
      },
      "direct_descendants_only": {
        "type": "boolean",
        "description": "If true, this returns only children of the parent folder."
      },
      "sort_by": {
        "type": "string",
        "description": "Sort By",
        "enum": [
          "created",
          "updated",
          "name"
        ]
      },
      "sort_order": {
        "type": "string",
        "description": "Sort Order",
        "enum": [
          "asc",
          "desc"
        ]
      },
      "created_before": {
        "type": "integer",
        "description": "Return records created before this time. Must be a unix timestamp."
      },
      "created_after": {
        "type": "integer",
        "description": "Return records created after this time. Must be a unix timestamp."
      },
      "updated_before": {
        "type": "integer",
        "description": "Return records updated before this time. Must be a unix timestamp."
      },
      "updated_after": {
        "type": "integer",
        "description": "Return records updated after this time. Must be a unix timestamp."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_list\_email\_translations

List email translations

**Parameters:**

| Parameter | Type   | Required | Default | Description            |
| --------- | ------ | -------- | ------- | ---------------------- |
| `id`      | string | Yes      | —       | The UUID of the email. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "The UUID of the email."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_list\_emails

List emails

**Parameters:**

| Parameter                 | Type    | Required | Default | Description                                                                                                                                                                                                                                        |
| ------------------------- | ------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `page`                    | integer | No       | —       | The page number of results you want to display. Use with `limit`.                                                                                                                                                                                  |
| `limit`                   | integer | No       | —       | Limit the number of results per page.                                                                                                                                                                                                              |
| `parent_folder_id`        | string  | No       | —       | Filter by parent folder. Must reference an existing folder. If not set, the response filters by the root level directory.  To list only items in the root folder, leave `parent_folder_id` unset and only set `direct_descendants_only` to `true`. |
| `direct_descendants_only` | boolean | No       | —       | If true, this returns only children of the parent folder.                                                                                                                                                                                          |
| `sort_by`                 | string  | No       | —       | Sort By                                                                                                                                                                                                                                            |
| `sort_order`              | string  | No       | —       | Sort Order                                                                                                                                                                                                                                         |
| `created_before`          | integer | No       | —       | Return records created before this time. Must be a unix timestamp.                                                                                                                                                                                 |
| `created_after`           | integer | No       | —       | Return records created after this time. Must be a unix timestamp.                                                                                                                                                                                  |
| `updated_before`          | integer | No       | —       | Return records updated before this time. Must be a unix timestamp.                                                                                                                                                                                 |
| `updated_after`           | integer | No       | —       | Return records updated after this time. Must be a unix timestamp.                                                                                                                                                                                  |
| `is_template`             | string  | No       | —       | Filter by whether the email is a template                                                                                                                                                                                                          |
| `has_translations`        | string  | No       | —       | Filter by whether the email has translations                                                                                                                                                                                                       |
| `is_linked`               | string  | No       | —       | Filter by whether the email is linked to a workflow (campaign, broadcast, etc).                                                                                                                                                                    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "page": {
        "type": "integer",
        "description": "The page number of results you want to display. Use with `limit`."
      },
      "limit": {
        "type": "integer",
        "description": "Limit the number of results per page."
      },
      "parent_folder_id": {
        "type": "string",
        "description": "Filter by parent folder. Must reference an existing folder. If not set, the response filters by the root level directory.  To list only items in the root folder, leave `parent_folder_id` unset and only set `direct_descendants_only` to `true`."
      },
      "direct_descendants_only": {
        "type": "boolean",
        "description": "If true, this returns only children of the parent folder."
      },
      "sort_by": {
        "type": "string",
        "description": "Sort By",
        "enum": [
          "created",
          "updated",
          "name"
        ]
      },
      "sort_order": {
        "type": "string",
        "description": "Sort Order",
        "enum": [
          "asc",
          "desc"
        ]
      },
      "created_before": {
        "type": "integer",
        "description": "Return records created before this time. Must be a unix timestamp."
      },
      "created_after": {
        "type": "integer",
        "description": "Return records created after this time. Must be a unix timestamp."
      },
      "updated_before": {
        "type": "integer",
        "description": "Return records updated before this time. Must be a unix timestamp."
      },
      "updated_after": {
        "type": "integer",
        "description": "Return records updated after this time. Must be a unix timestamp."
      },
      "is_template": {
        "type": "string",
        "description": "Filter by whether the email is a template",
        "enum": [
          "true",
          "false",
          "any"
        ]
      },
      "has_translations": {
        "type": "string",
        "description": "Filter by whether the email has translations",
        "enum": [
          "true",
          "false",
          "any"
        ]
      },
      "is_linked": {
        "type": "string",
        "description": "Filter by whether the email is linked to a workflow (campaign, broadcast, etc).",
        "enum": [
          "true",
          "false",
          "any"
        ]
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_list\_folders

List folders

**Parameters:**

| Parameter                 | Type    | Required | Default | Description                                                                                                                                                                                                                                        |
| ------------------------- | ------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `page`                    | integer | No       | —       | The page number of results you want to display. Use with `limit`.                                                                                                                                                                                  |
| `limit`                   | integer | No       | —       | Limit the number of results per page.                                                                                                                                                                                                              |
| `parent_folder_id`        | string  | No       | —       | Filter by parent folder. Must reference an existing folder. If not set, the response filters by the root level directory.  To list only items in the root folder, leave `parent_folder_id` unset and only set `direct_descendants_only` to `true`. |
| `direct_descendants_only` | boolean | No       | —       | If true, this returns only children of the parent folder.                                                                                                                                                                                          |
| `sort_by`                 | string  | No       | —       | Sort By                                                                                                                                                                                                                                            |
| `sort_order`              | string  | No       | —       | Sort Order                                                                                                                                                                                                                                         |
| `created_before`          | integer | No       | —       | Return records created before this time. Must be a unix timestamp.                                                                                                                                                                                 |
| `created_after`           | integer | No       | —       | Return records created after this time. Must be a unix timestamp.                                                                                                                                                                                  |
| `updated_before`          | integer | No       | —       | Return records updated before this time. Must be a unix timestamp.                                                                                                                                                                                 |
| `updated_after`           | integer | No       | —       | Return records updated after this time. Must be a unix timestamp.                                                                                                                                                                                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "page": {
        "type": "integer",
        "description": "The page number of results you want to display. Use with `limit`."
      },
      "limit": {
        "type": "integer",
        "description": "Limit the number of results per page."
      },
      "parent_folder_id": {
        "type": "string",
        "description": "Filter by parent folder. Must reference an existing folder. If not set, the response filters by the root level directory.  To list only items in the root folder, leave `parent_folder_id` unset and only set `direct_descendants_only` to `true`."
      },
      "direct_descendants_only": {
        "type": "boolean",
        "description": "If true, this returns only children of the parent folder."
      },
      "sort_by": {
        "type": "string",
        "description": "Sort By",
        "enum": [
          "created",
          "updated",
          "name"
        ]
      },
      "sort_order": {
        "type": "string",
        "description": "Sort Order",
        "enum": [
          "asc",
          "desc"
        ]
      },
      "created_before": {
        "type": "integer",
        "description": "Return records created before this time. Must be a unix timestamp."
      },
      "created_after": {
        "type": "integer",
        "description": "Return records created after this time. Must be a unix timestamp."
      },
      "updated_before": {
        "type": "integer",
        "description": "Return records updated before this time. Must be a unix timestamp."
      },
      "updated_after": {
        "type": "integer",
        "description": "Return records updated after this time. Must be a unix timestamp."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_list\_snippets

List snippets

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_update\_asset

Update a file asset

**Parameters:**

| Parameter          | Type    | Required | Default | Description                                                     |                                                                                     |
| ------------------ | ------- | -------- | ------- | --------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| `id`               | integer | Yes      | —       | The unique identifier of the resource.                          |                                                                                     |
| `name`             | string  | No       | —       | New display name for the asset. Cannot be blank after trimming. |                                                                                     |
| `parent_folder_id` | integer | null     | No      | —                                                               | The ID of the new parent folder. Set to `null` to move the asset to the root level. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The unique identifier of the resource."
      },
      "name": {
        "type": "string",
        "description": "New display name for the asset. Cannot be blank after trimming."
      },
      "parent_folder_id": {
        "type": [
          "integer",
          "null"
        ],
        "description": "The ID of the new parent folder. Set to `null` to move the asset to the root level."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_update\_asset\_folder

Update a folder

**Parameters:**

| Parameter          | Type    | Required | Default | Description                                                      |                                                                                                                                             |
| ------------------ | ------- | -------- | ------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`               | integer | Yes      | —       | The unique identifier of the resource.                           |                                                                                                                                             |
| `name`             | string  | No       | —       | New display name for the folder. Cannot be blank after trimming. |                                                                                                                                             |
| `parent_folder_id` | integer | null     | No      | —                                                                | The ID of the new parent folder. Set to `null` to move the folder to the root level. Cannot be the folder itself or one of its descendants. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The unique identifier of the resource."
      },
      "name": {
        "type": "string",
        "description": "New display name for the folder. Cannot be blank after trimming."
      },
      "parent_folder_id": {
        "type": [
          "integer",
          "null"
        ],
        "description": "The ID of the new parent folder. Set to `null` to move the folder to the root level. Cannot be the folder itself or one of its descendants."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_update\_collection

Update a collection

**Parameters:**

| Parameter       | Type    | Required | Default | Description                      |
| --------------- | ------- | -------- | ------- | -------------------------------- |
| `collection_id` | integer | Yes      | —       | The identifier for a collection. |
| `body`          | object  | No       | —       | Request body                     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "collection_id": {
        "type": "integer",
        "description": "The identifier for a collection."
      },
      "body": {
        "description": "Request body"
      }
    },
    "required": [
      "PCID",
      "collection_id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_update\_collection\_contents

Update the contents of a collection

**Parameters:**

| Parameter       | Type    | Required | Default | Description                                                                                                                                                                                                                                   |
| --------------- | ------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `collection_id` | integer | Yes      | —       | The identifier for a collection.                                                                                                                                                                                                              |
| `body`          | object  | No       | —       | Your request is a free form object representing the contents of your collection. This request replaces the contents of the collection entirely, so include all contents that you want to remain in the collection—whether they change or not. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "collection_id": {
        "type": "integer",
        "description": "The identifier for a collection."
      },
      "body": {
        "type": "object",
        "description": "Your request is a free form object representing the contents of your collection. This request replaces the contents of the collection entirely, so include all contents that you want to remain in the collection—whether they change or not."
      }
    },
    "required": [
      "PCID",
      "collection_id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_update\_component

Update a component

**Parameters:**

| Parameter          | Type   | Required | Default | Description                                                                                                                     |                                                                                                                                                                                                          |
| ------------------ | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`               | string | Yes      | —       | The UUID of the component.                                                                                                      |                                                                                                                                                                                                          |
| `content`          | string | No       | —       | HTML content                                                                                                                    |                                                                                                                                                                                                          |
| `name`             | string | No       | —       | Display name of the component. You see this on your Design Studio dashboard. This may be different from the component tag name. |                                                                                                                                                                                                          |
| `parent_folder_id` | string | null     | No      | —                                                                                                                               | The UUID of the parent folder.  Omit if you want no change to where the folder or file is located. Include `null` to move it to your root directory. Or add the UUID of another folder to move it there. |
| `tag`              | string | No       | —       | The component tag name, used to reference your component in an email. Learn what characters you can use.                        |                                                                                                                                                                                                          |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "The UUID of the component."
      },
      "content": {
        "type": "string",
        "description": "HTML content"
      },
      "name": {
        "type": "string",
        "description": "Display name of the component. You see this on your Design Studio dashboard. This may be different from the component tag name."
      },
      "parent_folder_id": {
        "type": [
          "string",
          "null"
        ],
        "description": "The UUID of the parent folder.  Omit if you want no change to where the folder or file is located. Include `null` to move it to your root directory. Or add the UUID of another folder to move it there."
      },
      "tag": {
        "type": "string",
        "description": "The component tag name, used to reference your component in an email. Learn what [characters](/journeys/design-studio/reusable/components/code-custom-component/#component-tag-name-validation) you can use."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_update\_email

Update an email

**Parameters:**

| Parameter          | Type    | Required | Default | Description                                                                               |                                                                                                                                                                                                          |
| ------------------ | ------- | -------- | ------- | ----------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`               | string  | Yes      | —       | The UUID of the email.                                                                    |                                                                                                                                                                                                          |
| `content`          | object  | No       | —       | The content of your email.                                                                |                                                                                                                                                                                                          |
| `envelope`         | object  | No       | —       | The envelope of your email, like from and to addresses.                                   |                                                                                                                                                                                                          |
| `is_template`      | boolean | No       | —       | Whether the email is a reusable template.                                                 |                                                                                                                                                                                                          |
| `name`             | string  | No       | —       | Display name of the email.                                                                |                                                                                                                                                                                                          |
| `parent_folder_id` | string  | null     | No      | —                                                                                         | The UUID of the parent folder.  Omit if you want no change to where the folder or file is located. Include `null` to move it to your root directory. Or add the UUID of another folder to move it there. |
| `transformers`     | object  | No       | —       | Automate repetitive actions like removing white space and inlining CSS with transformers. |                                                                                                                                                                                                          |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "The UUID of the email."
      },
      "content": {
        "type": "object",
        "description": "The content of your email.",
        "properties": {
          "subject": {
            "type": "string",
            "description": "Email subject line."
          },
          "preheader_text": {
            "type": "string",
            "description": "Preview text."
          },
          "html": {
            "type": "string",
            "description": "HTML body."
          },
          "amp": {
            "type": "string",
            "description": "AMP HTML body."
          },
          "text": {
            "type": "string",
            "description": "Plain text body."
          }
        }
      },
      "envelope": {
        "type": "object",
        "description": "The envelope of your email, like from and to addresses.",
        "properties": {
          "from_id": {
            "type": "integer",
            "description": "Sender identity ID. Must reference an existing identity. You can find this in *Workspace Settings > Email* under your From Addresses."
          },
          "reply_to_id": {
            "type": "integer",
            "description": "Reply-to identity ID. Must reference an existing identity from *Workspace Settings > Email* under your From Addresses."
          },
          "recipient": {
            "type": "string",
            "description": "Recipient email address. Defaults to `{{customer.email}}`` if not set."
          },
          "bcc": {
            "type": "string",
            "description": "BCC email address."
          },
          "fake_bcc": {
            "type": "boolean",
            "description": "Whether to use fake BCC. Defaults to true if not provided."
          },
          "headers": {
            "type": "array",
            "items": {
              "type": "object"
            },
            "description": "Custom headers. Each item: { \"name\": \"string\", \"value\": \"string\" }."
          }
        }
      },
      "is_template": {
        "type": "boolean",
        "description": "Whether the email is a reusable template."
      },
      "name": {
        "type": "string",
        "description": "Display name of the email."
      },
      "parent_folder_id": {
        "type": [
          "string",
          "null"
        ],
        "description": "The UUID of the parent folder.  Omit if you want no change to where the folder or file is located. Include `null` to move it to your root directory. Or add the UUID of another folder to move it there."
      },
      "transformers": {
        "type": "object",
        "description": "Automate repetitive actions like removing white space and inlining CSS with [transformers](/journeys/design-studio/emails/code-editor/overview/#transformers).",
        "properties": {
          "url_parameters": {
            "type": "object",
            "description": "Appends query string parameters to all absolute URLs in `<a>` and VML elements. Useful for adding UTM tracking or other analytics parameters. Skips `mailto:`, `tel:`, and `sms:` links. Elements marked with `data-ignore-params` are excluded."
          },
          "css_variables": {
            "type": "object",
            "description": "Resolves CSS custom properties (`var(--name)`) into their computed values. Required for email clients that do not support CSS custom properties (most email clients). Variables declared in one `<style>` tag are available in subsequent `<style>` tags."
          },
          "css_inliner": {
            "type": "object",
            "description": "Moves CSS from `<style>` tags into inline `style` attributes on each element. Essential for email clients with limited `<style>` support (for example, older Gmail and some Outlook versions). Uses the `juice` library. Elements in `<style>` tags marked with `data-ignore-inlining` are skipped."
          },
          "accessibility": {
            "type": "object",
            "description": "Applies a set of accessibility improvements to the email HTML. When no `language` is set, this falls back to the `lang` attribute on the `<html>` tag, or `\"und\"` (undetermined). The `dir` attribute is automatically derived from the language using RTL detection."
          },
          "formatter": {
            "type": "object",
            "description": "Controls the output formatting of the final HTML. Only one mode (`prettify` or `minify`) can be active at a time. Set to `\"none\"` to skip formatting entirely."
          },
          "prevent_widows": {
            "type": "object",
            "description": "Replaces the last space in text blocks with a non-breaking space (`&nbsp;`) to prevent a single word from wrapping onto its own line (a “widow”). Only processes text nodes in the `<body>` and skips `<script>`, `<style>`, `<noscript>`, `<svg>`, and `<head>` elements. Preserves Liquid template tags (`{{ }} ` and `{% %}`)."
          },
          "encode_entities": {
            "type": "object",
            "description": "Encodes special characters (for example, `©`, `™`, and `—`) as their HTML entity equivalents. Improves rendering consistency across email clients with varying character encoding support. Only processes text nodes in the `<body>` and skips `<script>`, `<style>`, `<noscript>`, `<svg>`, and `<head>` elements. Preserves Liquid template tags and avoids double-encoding existing entities."
          },
          "remove_unused_css": {
            "type": "object",
            "description": "Scans the HTML and removes any CSS selectors from `<style>` tags that are not referenced in the document. Reduces file size and helps avoid Gmail’s 102 KB clipping limit. HTML and CSS comments are always preserved by this step (comment removal is handled separately by the formatter object)."
          }
        }
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_update\_email\_translation

Update an email translation

**Parameters:**

| Parameter      | Type   | Required | Default | Description                                                                               |
| -------------- | ------ | -------- | ------- | ----------------------------------------------------------------------------------------- |
| `id`           | string | Yes      | —       | The UUID of the email.                                                                    |
| `language`     | string | Yes      | —       | A language code that indicates the language of your translated email                      |
| `content`      | object | No       | —       | The content of your email.                                                                |
| `envelope`     | object | No       | —       | The envelope of your email, like from and to addresses.                                   |
| `transformers` | object | No       | —       | Automate repetitive actions like removing white space and inlining CSS with transformers. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "The UUID of the email."
      },
      "language": {
        "type": "string",
        "description": "A [language code](/journeys/channels/localization/attribute/#supported-languages) that indicates the language of your translated email"
      },
      "content": {
        "type": "object",
        "description": "The content of your email.",
        "properties": {
          "subject": {
            "type": "string",
            "description": "Email subject line."
          },
          "preheader_text": {
            "type": "string",
            "description": "Preview text."
          },
          "html": {
            "type": "string",
            "description": "HTML body."
          },
          "amp": {
            "type": "string",
            "description": "AMP HTML body."
          },
          "text": {
            "type": "string",
            "description": "Plain text body."
          }
        }
      },
      "envelope": {
        "type": "object",
        "description": "The envelope of your email, like from and to addresses.",
        "properties": {
          "from_id": {
            "type": "integer",
            "description": "Sender identity ID. Must reference an existing identity. You can find this in *Workspace Settings > Email* under your From Addresses."
          },
          "reply_to_id": {
            "type": "integer",
            "description": "Reply-to identity ID. Must reference an existing identity from *Workspace Settings > Email* under your From Addresses."
          },
          "recipient": {
            "type": "string",
            "description": "Recipient email address. Defaults to `{{customer.email}}`` if not set."
          },
          "bcc": {
            "type": "string",
            "description": "BCC email address."
          },
          "fake_bcc": {
            "type": "boolean",
            "description": "Whether to use fake BCC. Defaults to true if not provided."
          },
          "headers": {
            "type": "array",
            "items": {
              "type": "object"
            },
            "description": "Custom headers. Each item: { \"name\": \"string\", \"value\": \"string\" }."
          }
        }
      },
      "transformers": {
        "type": "object",
        "description": "Automate repetitive actions like removing white space and inlining CSS with [transformers](/journeys/design-studio/emails/code-editor/overview/#transformers).",
        "properties": {
          "url_parameters": {
            "type": "object",
            "description": "Appends query string parameters to all absolute URLs in `<a>` and VML elements. Useful for adding UTM tracking or other analytics parameters. Skips `mailto:`, `tel:`, and `sms:` links. Elements marked with `data-ignore-params` are excluded."
          },
          "css_variables": {
            "type": "object",
            "description": "Resolves CSS custom properties (`var(--name)`) into their computed values. Required for email clients that do not support CSS custom properties (most email clients). Variables declared in one `<style>` tag are available in subsequent `<style>` tags."
          },
          "css_inliner": {
            "type": "object",
            "description": "Moves CSS from `<style>` tags into inline `style` attributes on each element. Essential for email clients with limited `<style>` support (for example, older Gmail and some Outlook versions). Uses the `juice` library. Elements in `<style>` tags marked with `data-ignore-inlining` are skipped."
          },
          "accessibility": {
            "type": "object",
            "description": "Applies a set of accessibility improvements to the email HTML. When no `language` is set, this falls back to the `lang` attribute on the `<html>` tag, or `\"und\"` (undetermined). The `dir` attribute is automatically derived from the language using RTL detection."
          },
          "formatter": {
            "type": "object",
            "description": "Controls the output formatting of the final HTML. Only one mode (`prettify` or `minify`) can be active at a time. Set to `\"none\"` to skip formatting entirely."
          },
          "prevent_widows": {
            "type": "object",
            "description": "Replaces the last space in text blocks with a non-breaking space (`&nbsp;`) to prevent a single word from wrapping onto its own line (a “widow”). Only processes text nodes in the `<body>` and skips `<script>`, `<style>`, `<noscript>`, `<svg>`, and `<head>` elements. Preserves Liquid template tags (`{{ }} ` and `{% %}`)."
          },
          "encode_entities": {
            "type": "object",
            "description": "Encodes special characters (for example, `©`, `™`, and `—`) as their HTML entity equivalents. Improves rendering consistency across email clients with varying character encoding support. Only processes text nodes in the `<body>` and skips `<script>`, `<style>`, `<noscript>`, `<svg>`, and `<head>` elements. Preserves Liquid template tags and avoids double-encoding existing entities."
          },
          "remove_unused_css": {
            "type": "object",
            "description": "Scans the HTML and removes any CSS selectors from `<style>` tags that are not referenced in the document. Reduces file size and helps avoid Gmail’s 102 KB clipping limit. HTML and CSS comments are always preserved by this step (comment removal is handled separately by the formatter object)."
          }
        }
      }
    },
    "required": [
      "PCID",
      "id",
      "language"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_update\_folder

Update a folder

**Parameters:**

| Parameter          | Type   | Required | Default | Description                                                                        |                                                                                                                                                                                                          |
| ------------------ | ------ | -------- | ------- | ---------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`               | string | Yes      | —       | The UUID of the folder.                                                            |                                                                                                                                                                                                          |
| `name`             | string | No       | —       | Name of the folder. Cannot contain any of these characters: \< > : " / \ \| ? \* . |                                                                                                                                                                                                          |
| `parent_folder_id` | string | null     | No      | —                                                                                  | The UUID of the parent folder.  Omit if you want no change to where the folder or file is located. Include `null` to move it to your root directory. Or add the UUID of another folder to move it there. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "The UUID of the folder."
      },
      "name": {
        "type": "string",
        "description": "Name of the folder. Cannot contain any of these characters: < > : \" / \\ | ? * ."
      },
      "parent_folder_id": {
        "type": [
          "string",
          "null"
        ],
        "description": "The UUID of the parent folder.  Omit if you want no change to where the folder or file is located. Include `null` to move it to your root directory. Or add the UUID of another folder to move it there."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## customerio\_content\_update\_snippets

Update snippets

**Parameters:**

| Parameter | Type   | Required | Default | Description                                                                                                                                                        |
| --------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `name`    | string | No       | —       | The name of the snippet, must be unique. Trimmed of leading and trailing whitespace before storage.                                                                |
| `value`   | string | No       | —       | The contents of the snippet (plain text or Liquid). Trimmed of leading and trailing whitespace before storage. Max length is environment-specific (default 16000). |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "name": {
        "type": "string",
        "description": "The name of the snippet, must be unique. Trimmed of leading and trailing whitespace before storage."
      },
      "value": {
        "type": "string",
        "description": "The contents of the snippet (plain text or Liquid). Trimmed of leading and trailing whitespace before storage. Max length is environment-specific (default 16000)."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>
