Skip to main content
PUT
/
templates
/
{uid}
Update template
curl --request PUT \
  --url https://api.pictify.io/templates/{uid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "html": "<string>",
  "fabricJSData": {},
  "width": 123,
  "height": 123,
  "variableDefinitions": [
    {
      "name": "<string>",
      "defaultValue": "<string>",
      "description": "<string>",
      "validation": {
        "required": true,
        "minLength": 123,
        "maxLength": 123
      }
    }
  ]
}
'
{
  "template": {
    "uid": "<string>",
    "name": "<string>",
    "type": "<string>",
    "category": "<string>",
    "tags": [
      "<string>"
    ],
    "width": 123,
    "height": 123,
    "thumbnail": "<string>",
    "variableDefinitions": [
      {
        "name": "<string>",
        "defaultValue": "<string>",
        "description": "<string>",
        "validation": {
          "required": true,
          "minLength": 123,
          "maxLength": 123
        }
      }
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pictify.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key obtained from the Pictify dashboard

Path Parameters

uid
string
required

Body

application/json
name
string
html
string
fabricJSData
object
width
integer
height
integer
variableDefinitions
object[]

Response

200 - application/json

Template updated

template
object