curl --request POST \
--url https://api.nitrosend.com/v1/my/templates/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"document": {
"sections": [
{
"type": "header",
"props": {},
"styles": {
"background_color": "<string>",
"padding": "<string>",
"align": "left"
}
}
],
"theme": {
"brand_color": "<string>",
"bg_color": "<string>",
"text_color": "<string>",
"font_body": "<string>",
"font_heading": "<string>",
"logo_url": "<string>"
}
}
}
'{
"html": "<string>"
}curl --request POST \
--url https://api.nitrosend.com/v1/my/templates/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"document": {
"sections": [
{
"type": "header",
"props": {},
"styles": {
"background_color": "<string>",
"padding": "<string>",
"align": "left"
}
}
],
"theme": {
"brand_color": "<string>",
"bg_color": "<string>",
"text_color": "<string>",
"font_body": "<string>",
"font_heading": "<string>",
"logo_url": "<string>"
}
}
}
'{
"html": "<string>"
}