Skip to content
API reference/Templates

List templates

Try it

Every template you can make a site from: Workflow Corp's published templates and the ones your account saved.

GET/api/v1/templates

Authentication

An API key as Authorization: Bearer or x-api-key. It needs the templates:read scope — read templates, packages and section types.

templates:readRead onlyMCP tool: list_templates

Parameters

Named placeholders go in the path; the rest in the query string.

industrystringQuery · optional
Only this industry, e.g. Restaurant.At most 60 characters

Response

200 with JSON on success (schema on the right). Errors use the standard envelope.

curl
curl -X GET 'https://websites.workflowcorp.com/api/v1/templates?industry=Restaurant' \
  -H "Authorization: Bearer $WEBSITEBUDDY_API_KEY"
Example arguments
{
  "industry": "Restaurant"
}
Response schema
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "industry": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "is_blank": {
            "type": "boolean"
          },
          "saved_by_you": {
            "type": "boolean",
            "description": "A template your account saved from one of its own sites."
          },
          "version": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "preview_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "slug",
          "name",
          "industry",
          "description",
          "is_blank",
          "saved_by_you",
          "version",
          "preview_url"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false
}