Authorizations
Response
Successful response containing channel template type details.
Response info depends on specific endpoint.
curl --request GET \
--url https://api.pubrio.com/channels/types/templates \
--header 'pubrio-api-key: <api-key>'
{
"data": [
{
"channel_type_id": 1,
"slug": "email",
"channel_type_identifier": "db3ecea8-b838-4cfa-8aa1-c358223b0060",
"logo_url": "https://buckets.pubrio.com/technology-logo/tdurnBxI97MV1hr2L1QaYgt.jpg",
"node_type": "action",
"channel_nodes": [
{
"channel_node_id": "93873c33-2635-4537-928c-6a4f3564164c",
"channel_node_identifier": "30896b66-7fc7-42bf-b5fe-ce7e1fdb9e30",
"channel_type_id": 1,
"slug": "send_email",
"parameter_properties": [
{
"name": "Subject",
"slug": "subject",
"hints": "My subject line",
"field_type": "string",
"max_length": 1000,
"min_length": 1,
"description": "Subject line of the email",
"is_required": true,
"display_type": "string",
"supported_tools": [
"variables"
],
"is_template_field": true,
"is_verify_required": false,
"is_display_as_snippet": true,
"is_return_in_plain_text": true
},
{
"name": "Content",
"slug": "content",
"hints": "Write your email content",
"field_type": "string",
"max_length": 250000,
"min_length": 0,
"description": "HTML text message of email",
"is_required": true,
"display_type": "email_editor",
"supported_tools": [
"formatting_options",
"variables",
"insert_link",
"attachments",
"insert_photo",
"code_mode",
{
"slug": "insert_signature",
"syntax": "{{insert_signature.signature_html}}"
}
],
"is_template_field": true,
"is_verify_required": false,
"is_attachment_allowed": true,
"is_display_as_snippet": false,
"is_return_in_plain_text": false
},
{
"name": "Attachments",
"slug": "attachments",
"hints": null,
"field_type": "array",
"max_length": 25,
"min_length": 0,
"description": null,
"is_required": false,
"display_type": null,
"is_template_field": true,
"is_verify_required": false,
"is_attachment_allowed": true,
"is_hide_from_control_panel": true
}
],
"is_template_available": true,
"logo_url": "https://buckets.pubrio.com/technology-logo/tdurnBxI97MV1hr2L1QaYgt.jpg",
"node_type": "action",
"input_properties": [
{
"name": "To email addresses [multiple comma-separated]",
"slug": "to_email_addresses",
"hints": "[email protected]",
"field_type": "array",
"max_length": 1000,
"min_length": 1,
"description": "Email address of the recipient",
"is_required": true,
"display_type": "email_input",
"is_verify_required": false
}
],
"name": "Send Email",
"description": "The Send Email node sends emails using the connected email provider."
}
],
"name": "Email",
"description": "Sends automated emails based on triggers or events."
},
"..."
]
}
curl --request GET \
--url https://api.pubrio.com/channels/types/templates \
--header 'pubrio-api-key: <api-key>'
{
"data": [
{
"channel_type_id": 1,
"slug": "email",
"channel_type_identifier": "db3ecea8-b838-4cfa-8aa1-c358223b0060",
"logo_url": "https://buckets.pubrio.com/technology-logo/tdurnBxI97MV1hr2L1QaYgt.jpg",
"node_type": "action",
"channel_nodes": [
{
"channel_node_id": "93873c33-2635-4537-928c-6a4f3564164c",
"channel_node_identifier": "30896b66-7fc7-42bf-b5fe-ce7e1fdb9e30",
"channel_type_id": 1,
"slug": "send_email",
"parameter_properties": [
{
"name": "Subject",
"slug": "subject",
"hints": "My subject line",
"field_type": "string",
"max_length": 1000,
"min_length": 1,
"description": "Subject line of the email",
"is_required": true,
"display_type": "string",
"supported_tools": [
"variables"
],
"is_template_field": true,
"is_verify_required": false,
"is_display_as_snippet": true,
"is_return_in_plain_text": true
},
{
"name": "Content",
"slug": "content",
"hints": "Write your email content",
"field_type": "string",
"max_length": 250000,
"min_length": 0,
"description": "HTML text message of email",
"is_required": true,
"display_type": "email_editor",
"supported_tools": [
"formatting_options",
"variables",
"insert_link",
"attachments",
"insert_photo",
"code_mode",
{
"slug": "insert_signature",
"syntax": "{{insert_signature.signature_html}}"
}
],
"is_template_field": true,
"is_verify_required": false,
"is_attachment_allowed": true,
"is_display_as_snippet": false,
"is_return_in_plain_text": false
},
{
"name": "Attachments",
"slug": "attachments",
"hints": null,
"field_type": "array",
"max_length": 25,
"min_length": 0,
"description": null,
"is_required": false,
"display_type": null,
"is_template_field": true,
"is_verify_required": false,
"is_attachment_allowed": true,
"is_hide_from_control_panel": true
}
],
"is_template_available": true,
"logo_url": "https://buckets.pubrio.com/technology-logo/tdurnBxI97MV1hr2L1QaYgt.jpg",
"node_type": "action",
"input_properties": [
{
"name": "To email addresses [multiple comma-separated]",
"slug": "to_email_addresses",
"hints": "[email protected]",
"field_type": "array",
"max_length": 1000,
"min_length": 1,
"description": "Email address of the recipient",
"is_required": true,
"display_type": "email_input",
"is_verify_required": false
}
],
"name": "Send Email",
"description": "The Send Email node sends emails using the connected email provider."
}
],
"name": "Email",
"description": "Sends automated emails based on triggers or events."
},
"..."
]
}
Successful response containing channel template type details.
Response info depends on specific endpoint.