Skip to content

Add tags to template

Add tags to an existing template.
This endpoint allows you to append new tags to a template without removing existing ones.

Request Body

The request body should be an array of strings containing the tags you want to add.

Sample Request

Here’s a sample request to add tags to a template:

ENDPOINT
POST /v1/template/{templateId}/tags
fetch(`https://api.templated.io/v1/template/${template_id}/tags`, {
method: 'POST',
headers: {
'Authorization': `Bearer ${API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify([
"social-media",
"instagram",
"story"
])
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));