Skip to main content
GET
/
templates
List templates
curl --request GET \
  --url https://api.pictify.io/templates \
  --header 'Authorization: Bearer <token>'
{
  "templates": [
    {
      "uid": "<string>",
      "name": "<string>",
      "type": "<string>",
      "category": "<string>",
      "tags": [
        "<string>"
      ],
      "width": 123,
      "height": 123,
      "thumbnail": "<string>",
      "outputFormat": "image",
      "variableDefinitions": [
        {
          "name": "<string>",
          "type": "text",
          "defaultValue": "<string>",
          "description": "<string>",
          "validation": {
            "required": true,
            "minLength": 123,
            "maxLength": 123
          }
        }
      ],
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "page": 123,
    "limit": 123,
    "total": 123,
    "totalPages": 123,
    "hasNext": true,
    "hasPrev": true
  }
}

Authorizations

Authorization
string
header
required

API key obtained from the Pictify dashboard

Query Parameters

page
integer
default:1
limit
integer
default:12
Required range: x <= 100
sort
enum<string>
default:newest
Available options:
newest,
oldest,
name
outputFormat
enum<string>
default:all
Available options:
all,
image,
pdf

Response

200 - application/json

List of templates

templates
object[]
pagination
object