Templates
Create a template
Uploads HTML to create a reusable template.
post/template
Request
- Base URL: https://api.sendpulse.com
- URL: https://api.sendpulse.com/template
- Auth: one of:
- HTTP bearer
- OAuth 2 (client credentials, token URL https://api.sendpulse.com/oauth/access_token)
Request body
Example request
{
"name": "My Template",
"body": "PGlucHV0IHR5cGU9ImVtYWlsIiBuYW1lPSJlbWFpbCIgcmVxdWlyZWQKb25pbnZhbGlkPSJ0aGlzLnNldEN1c3RvbVZhbGlkaXR5KCfQn9C",
"lang": "en"
}Response
Template created
Example response
{
"result": true,
"real_id": 1042220
}Changes
No recorded changes to this operation across all 1 revision of this API.