Skip to main content
POST
/
v2
/
templates
Create Template
curl --request POST \
  --url http://localhost:3000/api/v2/templates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "category": "<string>",
  "tags": [
    "<string>"
  ],
  "description": "<string>",
  "isPublic": true,
  "workspaceId": "<string>",
  "icon": "<string>"
}'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
workspaceId
string
required
category
string
tags
string[]
description
string
isPublic
boolean
icon
string

Response

Template created successfully

id
string
required
I