Templates

List templates

List the account's templates with their declared variables (variablesSummary). The full project JSON is not included — fetch a template by ID for that.

get/api/templates

Request

  • Base URL: https://api.zvid.io
  • URL: https://api.zvid.io/api/templates
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Query parameters

pageinteger
limitinteger

Response

Templates for the authenticated account

Example response

{
  "templates": [
    {
      "id": "tpl_rAequJHzUETcLAMfrezk",
      "userId": 5,
      "name": "Product promo",
      "description": "16:9 promo with title/brand variables",
      "type": "video",
      "variablesSummary": [
        {
          "name": "title",
          "type": "string",
          "used": true
        }
      ],
      "version": 3,
      "status": "active"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 42,
    "totalPages": 3,
    "hasNext": true
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.