Create a variable

Creates a new variable. The `key` must be unique per site and locale, and is used to reference the variable in templates.

Required permissions
variables.create
POST/variables
Base URLhttps://api.lynkow.com/v1

Request bodyrequired

  • keystringrequired

    Required. 1-100 characters

  • typeenum

    Resource type. One of: text, calendar

    One of: textcalendar

  • labelstringrequired

    Required. 1-255 characters

  • valuestringrequired

    Required. Amount value. 1-100000 characters

  • localestring

    BCP 47 locale code (e.g. "en", "fr")

  • descriptionstring

    Description text. Max 500 characters

Feedback

Was this page helpful?