curl --request PATCH \
--url https://api.getfernand.com/organization/custom-data \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data @- <<EOF
{
"endpoint": "https://api.piedpiper.com/customer-data",
"headers": {
"Authorization": "Bearer token123",
"X-API-Key": "key456"
},
"template": "<div class='customer'><h2>{{ customer.name }}</h2><p>{{ customer.email }}</p></div>",
"test_email": "test@customer.com"
}
EOF{
"endpoint": "https://api.piedpiper.com/customer-data",
"headers": {
"Authorization": "Bearer token123"
},
"template": "<div>{{ customer.name }}</div>",
"test_email": "test@customer.com",
"is_enabled": true
}curl --request PATCH \
--url https://api.getfernand.com/organization/custom-data \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data @- <<EOF
{
"endpoint": "https://api.piedpiper.com/customer-data",
"headers": {
"Authorization": "Bearer token123",
"X-API-Key": "key456"
},
"template": "<div class='customer'><h2>{{ customer.name }}</h2><p>{{ customer.email }}</p></div>",
"test_email": "test@customer.com"
}
EOF{
"endpoint": "https://api.piedpiper.com/customer-data",
"headers": {
"Authorization": "Bearer token123"
},
"template": "<div>{{ customer.name }}</div>",
"test_email": "test@customer.com",
"is_enabled": true
}Updates the custom data settings. The template is validated for security (no includes, imports, or macros allowed) and HTML safety. Setting a new endpoint automatically disables the panel until template validation passes.Documentation Index
Fetch the complete documentation index at: https://developers.getfernand.com/llms.txt
Use this file to discover all available pages before exploring further.
API endpoint URL (must use HTTPS in production).
250"https://api.piedpiper.com/customer-data"
Custom HTTP headers (max 4096 chars when serialized).
Show child attributes
{
"Authorization": "Bearer token123",
"X-API-Key": "key456"
}Jinja2 template for rendering (set to empty string to clear).
25000"<div class='customer'><h2>{{ customer.name }}</h2><p>{{ customer.email }}</p></div>"
Test email for template validation (set to empty string to clear).
"test@customer.com"
Custom data configuration updated successfully.
Was this page helpful?