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 body
required

  • key
    string
    required

    Required. 1-100 characters

  • type
    enum

    Resource type. One of: text, calendar

    One of: textcalendar

  • label
    string
    required

    Required. 1-255 characters

  • value
    string
    required

    Required. Amount value. 1-100000 characters

  • locale
    string

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

  • description
    string

    Description text. Max 500 characters

Feedback

Was this page helpful?