/api/v1/templates/import
POST
/api/v1/templates/import
const url = 'https://example.com/api/v1/templates/import';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"format":"example","content":"example","replace":false}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/templates/import \ --header 'Content-Type: application/json' \ --data '{ "format": "example", "content": "example", "replace": false }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
format
required
string
content
required
string
replace
boolean
Responses
Section titled “Responses”OK