/customerio-content | Type: Application | PCID required: Yes
Tools
customerio_content_add_collection
Create a collection Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
body | object | No | — | Request body |
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 | No | — | The ID of the parent folder. Omit or set to “0” to place the asset at the root level. |
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 | No | — | The ID of the parent folder. Omit or set to “0” to create at the root level. |
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 | 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. |
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 | 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. |
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. |
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 | No | — | UUID of the parent folder. Omit or pass null to create at root. |
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). |
customerio_content_delete_asset
Delete a file asset Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | The unique identifier of the resource. |
customerio_content_delete_asset_folder
Delete a folder Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | The unique identifier of the resource. |
customerio_content_delete_collection
Delete a collection Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
collection_id | integer | Yes | — | The identifier for a collection. |
customerio_content_delete_component
Delete a component Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | Yes | — | The UUID of the component. |
customerio_content_delete_email
Delete an email Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | Yes | — | The UUID of the email. |
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 |
customerio_content_delete_folder
Delete a folder Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | Yes | — | The UUID of the folder. |
customerio_content_delete_snippet
Delete a snippet Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
snippet_name | string | Yes | — | The name of a snippet. |
customerio_content_get_asset
Get a file asset Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | The unique identifier of the resource. |
customerio_content_get_asset_folder
Get a folder Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | The unique identifier of the resource. |
customerio_content_get_collection
Lookup a collection Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
collection_id | integer | Yes | — | The identifier for a collection. |
customerio_content_get_collection_contents
Lookup collection contents Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
collection_id | integer | Yes | — | The identifier for a collection. |
customerio_content_get_collections
List your collectionscustomerio_content_get_component
Get a component Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | Yes | — | The UUID of the component. |
customerio_content_get_email
Get an email Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | Yes | — | The UUID of the email. |
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 |
customerio_content_get_folder
Get a folder Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | Yes | — | The UUID of the folder. |
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. |
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. |
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. |
customerio_content_list_email_translations
List email translations Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | Yes | — | The UUID of the email. |
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). |
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. |
customerio_content_list_snippets
List snippetscustomerio_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 | No | — | The ID of the new parent folder. Set to null to move the asset to the root level. |
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 | 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. |
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 |
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. |
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 | 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. |
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 | 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. |
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. |
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 | 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. |
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). |

