Pogodoc
API Reference

Upload Template Index HTML

Uploads the template index.html file to S3 storage. Used for rendering the template in the browser.

POST
/templates/{templateId}/index-html
AuthorizationBearer <token>

In: header

Path Parameters

templateIdstring

ID of the template to be used

indexHtmlstring

New index.html file of the template

Response Body

curl -X POST "https://api.pogodoc.com/v1/templates/string/index-html" \  -H "Content-Type: application/json" \  -d '{    "indexHtml": "string"  }'
Empty