v1.0.0
OpenAPI 3.1.0
Create a component
Client Libraries
US region
Creates a custom component.
HTML content
Display name of the component. You see this on your Design Studio dashboard. This may be different from the component tag name.
The component tag name, used to reference your component in an email. Learn what characters you can use.
UUID of the parent folder. Omit or pass null to create in the root directory.
curl https://api.customer.io/v1/design_studio/components \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"name": "Custom footer",
"tag": "custom-footer",
"parent_folder_id": null,
"content": ""
}'
{
"component": {
"id": "e89b-12d3",
"name": "Custom footer",
"tag": "custom-footer",
"parent_folder_id": "123e4567-e89b-12d3-a456-426614174000",
"created": 1773856017,
"updated": 1,
"content": "string"
}
}Component created