List channel template types
curl --request GET \
--url https://api.pubrio.com/channels/types/templates \
--header 'pubrio-api-key: <api-key>'import requests
url = "https://api.pubrio.com/channels/types/templates"
headers = {"pubrio-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'pubrio-api-key': '<api-key>'}};
fetch('https://api.pubrio.com/channels/types/templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pubrio.com/channels/types/templates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"pubrio-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pubrio.com/channels/types/templates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("pubrio-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pubrio.com/channels/types/templates")
.header("pubrio-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pubrio.com/channels/types/templates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["pubrio-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"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."
},
"..."
]
}{
"code": 40001,
"message": "Errors and codes will vary depending on the scenario, please see the documentation for information.",
"details": {}
}{
"error": "Request rate limit exceeded. Please wait and try again later."
}{
"error": "An unexpected error occurred on the server."
}Types
Channel Template Type
Retrieve available channel types for outreach templates.
GET
/
channels
/
types
/
templates
List channel template types
curl --request GET \
--url https://api.pubrio.com/channels/types/templates \
--header 'pubrio-api-key: <api-key>'import requests
url = "https://api.pubrio.com/channels/types/templates"
headers = {"pubrio-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'pubrio-api-key': '<api-key>'}};
fetch('https://api.pubrio.com/channels/types/templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pubrio.com/channels/types/templates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"pubrio-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pubrio.com/channels/types/templates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("pubrio-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pubrio.com/channels/types/templates")
.header("pubrio-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pubrio.com/channels/types/templates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["pubrio-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"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."
},
"..."
]
}{
"code": 40001,
"message": "Errors and codes will vary depending on the scenario, please see the documentation for information.",
"details": {}
}{
"error": "Request rate limit exceeded. Please wait and try again later."
}{
"error": "An unexpected error occurred on the server."
}Authorizations
A unique API token that represents the actions you perform through the API and the corresponding permissions and operations. You can create it through the Settings section.
Last modified on August 7, 2025

