Skip to main content
GET
/
templates
List all templates
curl --request GET \
  --url https://app.myhero.so/templates \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "projectTemplates": [
      {
        "_id": "<string>",
        "userId": "<string>",
        "workspaceId": "<string>",
        "name": "<string>",
        "createdAt": 123,
        "updatedAt": 123,
        "originId": "<string>",
        "icon": {
          "name": "<string>",
          "color": "<string>"
        },
        "emoji": {
          "unified": "<string>",
          "emojiStyle": "<string>"
        },
        "reference": "<string>",
        "description": "<string>"
      }
    ],
    "documentTemplates": [
      {
        "_id": "<string>",
        "name": "<string>",
        "createdAt": 123,
        "updatedAt": 123,
        "publisher": "<string>",
        "category": "<string>",
        "description": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

HERO personal access token

Response

200 - application/json

200 response

data
object
required