Create a single type

Creates a new single type. The slug must be unique and is used as the permanent identifier (it cannot be changed after creation).

Required permissions
single_types.create
POST/single-types
Base URLhttps://api.lynkow.com/v1

Request bodyrequired

  • dataobjectrequired

    Required. Resource data object

    • namestringrequired

      Required. Display name. 1-255 characters

    • slugstringrequired

      Required. URL-friendly identifier, unique per site and locale. 1-100 characters

    • schemaobject

      Field schema definition

      • descriptionstring

        Description text

      Feedback

      Was this page helpful?