Skip to main content
GET
/
v2
/
templates
Get All Templates
curl --request GET \
  --url http://localhost:3000/api/v2/templates \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "category": "<string>",
    "tags": [
      "<string>"
    ],
    "description": "<string>",
    "isPublic": true,
    "workspaceId": "<string>",
    "icon": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

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

Query Parameters

workspaceId
string
required

Response

List of templates

id
string
required
name
string
required
workspaceId
string
required
category
string
tags
string[]
description
string
isPublic
boolean
icon
string
createdAt
string<date-time>
updatedAt
string<date-time>
I