Templates
curl -X GET "https://example.com/apps/string/templates"Empty
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
appId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/apps/string/templates" \ -H "Content-Type: application/json" \ -d '{ "name": "Welcome Email", "builderJson": { "blocks": [] }, "html": "<h1>Welcome!</h1>" }'Empty
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
appId*string
Response Body
curl -X GET "https://example.com/apps/string/templates/string"Empty
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
appId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PATCH "https://example.com/apps/string/templates/string" \ -H "Content-Type: application/json" \ -d '{ "name": "Welcome Email v2", "builderJson": { "blocks": [] }, "html": "<h1>Welcome!</h1>" }'Empty
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
appId*string
Response Body
curl -X DELETE "https://example.com/apps/string/templates/string"Empty
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
appId*string
Response Body
curl -X POST "https://example.com/apps/string/templates/string/duplicate"Empty