Templates
Add a template entry
Registers a .tsx file under templates/ or emails/ in an existing template project as its own template and returns it with status 201. The file does not need to exist yet; publishing fails until a commit contains it. Repeating the call with the same entry path, name, and slug returns the existing template.
post/v1/templates/projects/{id}/entries
Request
- Base URL: https://api.samva.dev
- URL: https://api.samva.dev/v1/templates/projects/{id}/entries
- Auth: API key in header x-api-key
Path parameters
idstring required
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.