Templates

Create a template

Changed on
post/template

Request

  • Base URL
    https://api.lytics.io/v2
  • URL
    https://api.lytics.io/v2/template
  • Auth
    API key in header Authorization

Query parameters

account_idstring

The account ID. Defaults to the user's default account.

namestring required

The template name

descriptionstring

A description of the template

type'"jsonnet"' | '"handlebars"' required

The template type

Request body */*

string required

Adhoc template definition

Response

Template Metadata

_metaobject

Response Metadata

request_idstring
statusinteger

HTTP Status Code

Changes