Skip to documentation
AppLaunchFlow/ Docs

API reference / Graphics

Get graphics layouts

GET/api/v1/graphics

Authorization

Send your API key or MCP OAuth token in the Authorization: Bearer header. Active or trialing Unlimited is required.

Required permission designs:read

Parameters

projectIdqueryrequired

string · uuid

Project ID. generationId is accepted as an alias on project-scoped GET requests.

variantIdqueryoptional

string · uuid

languagequeryoptional

"en" | "en-GB" | "en-AU" | "en-CA" | "es" | "es-MX" | "fr" | "fr-CA" | "de" | "it" | "pt" | "pt-BR" | "ja" | "ko" | "zh-CN" | "zh-TW" | "nl" | "ru" | "ar" | "tr" | "pl" | "sv" | "no" | "da" | "fi" | "cs" | "hi" | "hu" | "ro" | "uk" | "el" | "he" | "id" | "ms" | "th" | "vi" | "hr" | "sk" | "ca"

formatqueryoptional

"og" | "x_post" | "instagram_story" | "instagram_post" | "x_header" | "linkedin_banner" | "play_store_feature" | "app_store_event_card" | "app_store_event_details" | "ad_banner" | "ad_mobile_banner" | "ad_tablet_banner_720" | "ad_tablet_banner_728" | "ad_mrec" | "ad_phone_portrait" | "ad_phone_landscape" | "ad_fullscreen_landscape" | "ad_tablet_portrait" | "ad_tablet_landscape"

Request example

Set ALF_API_URL to https://dashboard.applaunchflow.com/api/v1 and ALF_API_KEY to your key. Replace sample IDs with your project’s values.

cURL
curl --request GET \
  --url "$ALF_API_URL/graphics?projectId=11111111-1111-4111-8111-111111111111" \
  --header "Authorization: Bearer $ALF_API_KEY"

Response

Successful JSON responses wrap the result in data, with a request ID in meta.requestId.

variantIddatarequired

string | null

languagedatarequired

string

sourceLanguagedatarequired

string

availableLanguagesdatarequired

string[]

socialTemplateIddatarequired

string | null

socialPrimaryFormatdatarequired

string | null

graphicsdatarequired

object[]

View response schema
{
  "type": "object",
  "required": [
    "data",
    "meta"
  ],
  "properties": {
    "data": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "variantId": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            {
              "type": "null"
            }
          ]
        },
        "language": {
          "type": "string"
        },
        "sourceLanguage": {
          "type": "string"
        },
        "availableLanguages": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "socialTemplateId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "socialPrimaryFormat": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "graphics": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "format": {
                "type": "string"
              },
              "layout": {
                "type": "object",
                "properties": {
                  "template": {
                    "type": "string"
                  },
                  "platform": {
                    "type": "string",
                    "enum": [
                      "ios",
                      "android",
                      "both"
                    ]
                  },
                  "screens": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "minLength": 1
                        },
                        "index": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "screenType": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "screenshots": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "minLength": 1
                              },
                              "position": {
                                "type": "object",
                                "properties": {
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "x",
                                  "y"
                                ],
                                "additionalProperties": {}
                              },
                              "zIndex": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "overflow": {
                                "type": "boolean"
                              },
                              "rotation": {
                                "type": "number"
                              },
                              "opacity": {
                                "type": "number"
                              },
                              "hidden": {
                                "type": "boolean"
                              },
                              "locked": {
                                "type": "boolean"
                              },
                              "shadow": {
                                "type": "object",
                                "properties": {
                                  "color": {
                                    "type": "string",
                                    "minLength": 1
                                  },
                                  "blur": {
                                    "type": "number"
                                  },
                                  "offsetX": {
                                    "type": "number"
                                  },
                                  "offsetY": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "color",
                                  "blur",
                                  "offsetX",
                                  "offsetY"
                                ],
                                "additionalProperties": {}
                              },
                              "colorRefs": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "string"
                                }
                              },
                              "path": {
                                "type": "string"
                              },
                              "signedUrl": {
                                "type": "string"
                              },
                              "iosPath": {
                                "type": "string"
                              },
                              "iosSignedUrl": {
                                "type": "string"
                              },
                              "androidPath": {
                                "type": "string"
                              },
                              "androidSignedUrl": {
                                "type": "string"
                              },
                              "scale": {
                                "type": "number",
                                "exclusiveMinimum": 0
                              },
                              "tiltAngle": {
                                "type": "number"
                              },
                              "phoneId": {
                                "type": "string"
                              },
                              "tabletId": {
                                "type": "string"
                              },
                              "desktopId": {
                                "type": "string"
                              },
                              "watchId": {
                                "type": "string"
                              },
                              "variant3D": {
                                "type": "string"
                              },
                              "fitMode": {
                                "type": "string",
                                "enum": [
                                  "stretch",
                                  "cover",
                                  "contain"
                                ]
                              },
                              "showCamera": {
                                "type": "boolean"
                              },
                              "cleanStatusBar": {
                                "type": "boolean"
                              },
                              "contentRotation": {
                                "anyOf": [
                                  {
                                    "type": "number",
                                    "const": 0
                                  },
                                  {
                                    "type": "number",
                                    "const": 90
                                  },
                                  {
                                    "type": "number",
                                    "const": 180
                                  },
                                  {
                                    "type": "number",
                                    "const": 270
                                  }
                                ]
                              },
                              "windowTitle": {
                                "type": "string"
                              },
                              "model3D": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {}
                              }
                            },
                            "required": [
                              "id",
                              "position",
                              "zIndex",
                              "rotation",
                              "scale"
                            ],
                            "additionalProperties": {}
                          }
                        },
                        "texts": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "minLength": 1
                              },
                              "position": {
                                "type": "object",
                                "properties": {
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "x",
                                  "y"
                                ],
                                "additionalProperties": {}
                              },
                              "zIndex": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "overflow": {
                                "type": "boolean"
                              },
                              "rotation": {
                                "type": "number"
                              },
                              "opacity": {
                                "type": "number"
                              },
                              "hidden": {
                                "type": "boolean"
                              },
                              "locked": {
                                "type": "boolean"
                              },
                              "shadow": {
                                "type": "object",
                                "properties": {
                                  "color": {
                                    "type": "string",
                                    "minLength": 1
                                  },
                                  "blur": {
                                    "type": "number"
                                  },
                                  "offsetX": {
                                    "type": "number"
                                  },
                                  "offsetY": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "color",
                                  "blur",
                                  "offsetX",
                                  "offsetY"
                                ],
                                "additionalProperties": {}
                              },
                              "colorRefs": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "string"
                                }
                              },
                              "richContent": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "doc"
                                  },
                                  "content": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "minLength": 1
                                        },
                                        "content": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "type": {
                                                "type": "string",
                                                "minLength": 1
                                              },
                                              "text": {
                                                "type": "string"
                                              },
                                              "marks": {
                                                "type": "array",
                                                "items": {
                                                  "type": "object",
                                                  "properties": {
                                                    "type": {
                                                      "type": "string",
                                                      "minLength": 1
                                                    },
                                                    "attrs": {
                                                      "type": "object",
                                                      "propertyNames": {
                                                        "type": "string"
                                                      },
                                                      "additionalProperties": {}
                                                    }
                                                  },
                                                  "required": [
                                                    "type"
                                                  ],
                                                  "additionalProperties": {}
                                                }
                                              }
                                            },
                                            "required": [
                                              "type"
                                            ],
                                            "additionalProperties": {}
                                          }
                                        }
                                      },
                                      "required": [
                                        "type"
                                      ],
                                      "additionalProperties": {}
                                    }
                                  },
                                  "attrs": {
                                    "type": "object",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {}
                                  }
                                },
                                "required": [
                                  "type",
                                  "content"
                                ],
                                "additionalProperties": {}
                              },
                              "align": {
                                "type": "string",
                                "enum": [
                                  "left",
                                  "center",
                                  "right"
                                ]
                              },
                              "type": {
                                "type": "string",
                                "enum": [
                                  "title",
                                  "subtitle",
                                  "body",
                                  "brands"
                                ]
                              },
                              "lineHeight": {
                                "type": "number"
                              },
                              "width": {
                                "type": "number"
                              },
                              "backgroundColor": {
                                "type": "string",
                                "minLength": 1
                              },
                              "backgroundPaddingX": {
                                "type": "number"
                              },
                              "backgroundPaddingY": {
                                "type": "number"
                              },
                              "backgroundCornerRadius": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "id",
                              "position",
                              "zIndex",
                              "richContent"
                            ],
                            "additionalProperties": {}
                          }
                        },
                        "pills": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "minLength": 1
                              },
                              "position": {
                                "type": "object",
                                "properties": {
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "x",
                                  "y"
                                ],
                                "additionalProperties": {}
                              },
                              "zIndex": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "overflow": {
                                "type": "boolean"
                              },
                              "rotation": {
                                "type": "number"
                              },
                              "opacity": {
                                "type": "number"
                              },
                              "hidden": {
                                "type": "boolean"
                              },
                              "locked": {
                                "type": "boolean"
                              },
                              "shadow": {
                                "type": "object",
                                "properties": {
                                  "color": {
                                    "type": "string",
                                    "minLength": 1
                                  },
                                  "blur": {
                                    "type": "number"
                                  },
                                  "offsetX": {
                                    "type": "number"
                                  },
                                  "offsetY": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "color",
                                  "blur",
                                  "offsetX",
                                  "offsetY"
                                ],
                                "additionalProperties": {}
                              },
                              "colorRefs": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "string"
                                }
                              },
                              "type": {
                                "type": "string",
                                "const": "pill"
                              },
                              "richContent": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "doc"
                                  },
                                  "content": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "minLength": 1
                                        },
                                        "content": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "type": {
                                                "type": "string",
                                                "minLength": 1
                                              },
                                              "text": {
                                                "type": "string"
                                              },
                                              "marks": {
                                                "type": "array",
                                                "items": {
                                                  "type": "object",
                                                  "properties": {
                                                    "type": {
                                                      "type": "string",
                                                      "minLength": 1
                                                    },
                                                    "attrs": {
                                                      "type": "object",
                                                      "propertyNames": {
                                                        "type": "string"
                                                      },
                                                      "additionalProperties": {}
                                                    }
                                                  },
                                                  "required": [
                                                    "type"
                                                  ],
                                                  "additionalProperties": {}
                                                }
                                              }
                                            },
                                            "required": [
                                              "type"
                                            ],
                                            "additionalProperties": {}
                                          }
                                        }
                                      },
                                      "required": [
                                        "type"
                                      ],
                                      "additionalProperties": {}
                                    }
                                  },
                                  "attrs": {
                                    "type": "object",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {}
                                  }
                                },
                                "required": [
                                  "type",
                                  "content"
                                ],
                                "additionalProperties": {}
                              },
                              "backgroundColor": {
                                "type": "string",
                                "minLength": 1
                              },
                              "textColor": {
                                "type": "string",
                                "minLength": 1
                              },
                              "width": {
                                "type": "number"
                              },
                              "height": {
                                "type": "number"
                              },
                              "borderColor": {
                                "type": "string",
                                "minLength": 1
                              },
                              "borderWidth": {
                                "type": "number",
                                "minimum": 0
                              },
                              "borderOpacity": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                              }
                            },
                            "required": [
                              "id",
                              "position",
                              "zIndex",
                              "richContent",
                              "backgroundColor",
                              "textColor",
                              "width",
                              "height"
                            ],
                            "additionalProperties": {}
                          }
                        },
                        "badges": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "minLength": 1
                              },
                              "position": {
                                "type": "object",
                                "properties": {
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "x",
                                  "y"
                                ],
                                "additionalProperties": {}
                              },
                              "zIndex": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "overflow": {
                                "type": "boolean"
                              },
                              "rotation": {
                                "type": "number"
                              },
                              "opacity": {
                                "type": "number"
                              },
                              "hidden": {
                                "type": "boolean"
                              },
                              "locked": {
                                "type": "boolean"
                              },
                              "shadow": {
                                "type": "object",
                                "properties": {
                                  "color": {
                                    "type": "string",
                                    "minLength": 1
                                  },
                                  "blur": {
                                    "type": "number"
                                  },
                                  "offsetX": {
                                    "type": "number"
                                  },
                                  "offsetY": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "color",
                                  "blur",
                                  "offsetX",
                                  "offsetY"
                                ],
                                "additionalProperties": {}
                              },
                              "colorRefs": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "string"
                                }
                              },
                              "type": {
                                "type": "string",
                                "const": "badge"
                              },
                              "text": {
                                "type": "string"
                              },
                              "subtext": {
                                "type": "string"
                              },
                              "size": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "id",
                              "position",
                              "zIndex",
                              "text",
                              "size"
                            ],
                            "additionalProperties": {}
                          }
                        },
                        "blobs": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "minLength": 1
                              },
                              "position": {
                                "type": "object",
                                "properties": {
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "x",
                                  "y"
                                ],
                                "additionalProperties": {}
                              },
                              "zIndex": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "overflow": {
                                "type": "boolean"
                              },
                              "rotation": {
                                "type": "number"
                              },
                              "opacity": {
                                "type": "number"
                              },
                              "hidden": {
                                "type": "boolean"
                              },
                              "locked": {
                                "type": "boolean"
                              },
                              "shadow": {
                                "type": "object",
                                "properties": {
                                  "color": {
                                    "type": "string",
                                    "minLength": 1
                                  },
                                  "blur": {
                                    "type": "number"
                                  },
                                  "offsetX": {
                                    "type": "number"
                                  },
                                  "offsetY": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "color",
                                  "blur",
                                  "offsetX",
                                  "offsetY"
                                ],
                                "additionalProperties": {}
                              },
                              "colorRefs": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "id",
                              "position",
                              "zIndex"
                            ],
                            "additionalProperties": {}
                          }
                        },
                        "ratings": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "minLength": 1
                              },
                              "position": {
                                "type": "object",
                                "properties": {
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "x",
                                  "y"
                                ],
                                "additionalProperties": {}
                              },
                              "zIndex": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "overflow": {
                                "type": "boolean"
                              },
                              "rotation": {
                                "type": "number"
                              },
                              "opacity": {
                                "type": "number"
                              },
                              "hidden": {
                                "type": "boolean"
                              },
                              "locked": {
                                "type": "boolean"
                              },
                              "shadow": {
                                "type": "object",
                                "properties": {
                                  "color": {
                                    "type": "string",
                                    "minLength": 1
                                  },
                                  "blur": {
                                    "type": "number"
                                  },
                                  "offsetX": {
                                    "type": "number"
                                  },
                                  "offsetY": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "color",
                                  "blur",
                                  "offsetX",
                                  "offsetY"
                                ],
                                "additionalProperties": {}
                              },
                              "colorRefs": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "id",
                              "position",
                              "zIndex"
                            ],
                            "additionalProperties": {}
                          }
                        },
                        "logo": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "position": {
                              "type": "object",
                              "properties": {
                                "x": {
                                  "type": "number"
                                },
                                "y": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "x",
                                "y"
                              ],
                              "additionalProperties": {}
                            },
                            "zIndex": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "overflow": {
                              "type": "boolean"
                            },
                            "rotation": {
                              "type": "number"
                            },
                            "opacity": {
                              "type": "number"
                            },
                            "hidden": {
                              "type": "boolean"
                            },
                            "locked": {
                              "type": "boolean"
                            },
                            "shadow": {
                              "type": "object",
                              "properties": {
                                "color": {
                                  "type": "string",
                                  "minLength": 1
                                },
                                "blur": {
                                  "type": "number"
                                },
                                "offsetX": {
                                  "type": "number"
                                },
                                "offsetY": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "color",
                                "blur",
                                "offsetX",
                                "offsetY"
                              ],
                              "additionalProperties": {}
                            },
                            "colorRefs": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "id",
                            "position",
                            "zIndex"
                          ],
                          "additionalProperties": {}
                        },
                        "illustrations": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "minLength": 1
                              },
                              "position": {
                                "type": "object",
                                "properties": {
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "x",
                                  "y"
                                ],
                                "additionalProperties": {}
                              },
                              "zIndex": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "overflow": {
                                "type": "boolean"
                              },
                              "rotation": {
                                "type": "number"
                              },
                              "opacity": {
                                "type": "number"
                              },
                              "hidden": {
                                "type": "boolean"
                              },
                              "locked": {
                                "type": "boolean"
                              },
                              "shadow": {
                                "type": "object",
                                "properties": {
                                  "color": {
                                    "type": "string",
                                    "minLength": 1
                                  },
                                  "blur": {
                                    "type": "number"
                                  },
                                  "offsetX": {
                                    "type": "number"
                                  },
                                  "offsetY": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "color",
                                  "blur",
                                  "offsetX",
                                  "offsetY"
                                ],
                                "additionalProperties": {}
                              },
                              "colorRefs": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "id",
                              "position",
                              "zIndex"
                            ],
                            "additionalProperties": {}
                          }
                        },
                        "magnifiers": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "minLength": 1
                              },
                              "position": {
                                "type": "object",
                                "properties": {
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "x",
                                  "y"
                                ],
                                "additionalProperties": {}
                              },
                              "zIndex": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "overflow": {
                                "type": "boolean"
                              },
                              "rotation": {
                                "type": "number"
                              },
                              "opacity": {
                                "type": "number"
                              },
                              "hidden": {
                                "type": "boolean"
                              },
                              "locked": {
                                "type": "boolean"
                              },
                              "shadow": {
                                "type": "object",
                                "properties": {
                                  "color": {
                                    "type": "string",
                                    "minLength": 1
                                  },
                                  "blur": {
                                    "type": "number"
                                  },
                                  "offsetX": {
                                    "type": "number"
                                  },
                                  "offsetY": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "color",
                                  "blur",
                                  "offsetX",
                                  "offsetY"
                                ],
                                "additionalProperties": {}
                              },
                              "colorRefs": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "id",
                              "position",
                              "zIndex"
                            ],
                            "additionalProperties": {}
                          }
                        },
                        "emojis": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "minLength": 1
                              },
                              "position": {
                                "type": "object",
                                "properties": {
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "x",
                                  "y"
                                ],
                                "additionalProperties": {}
                              },
                              "zIndex": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "overflow": {
                                "type": "boolean"
                              },
                              "rotation": {
                                "type": "number"
                              },
                              "opacity": {
                                "type": "number"
                              },
                              "hidden": {
                                "type": "boolean"
                              },
                              "locked": {
                                "type": "boolean"
                              },
                              "shadow": {
                                "type": "object",
                                "properties": {
                                  "color": {
                                    "type": "string",
                                    "minLength": 1
                                  },
                                  "blur": {
                                    "type": "number"
                                  },
                                  "offsetX": {
                                    "type": "number"
                                  },
                                  "offsetY": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "color",
                                  "blur",
                                  "offsetX",
                                  "offsetY"
                                ],
                                "additionalProperties": {}
                              },
                              "colorRefs": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "id",
                              "position",
                              "zIndex"
                            ],
                            "additionalProperties": {}
                          }
                        },
                        "backgroundColor": {
                          "type": "string",
                          "minLength": 1
                        },
                        "backgroundGradient": {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "linear",
                                "radial"
                              ]
                            },
                            "colors": {
                              "minItems": 2,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1
                              }
                            },
                            "direction": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "type",
                            "colors"
                          ],
                          "additionalProperties": {}
                        },
                        "colorRefs": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "type": "string"
                          }
                        },
                        "backgroundImage": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "storagePath": {
                              "type": "string"
                            },
                            "blur": {
                              "type": "number"
                            },
                            "verticalOffset": {
                              "type": "number"
                            },
                            "horizontalOffset": {
                              "type": "number"
                            },
                            "attribution": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            }
                          },
                          "required": [
                            "url"
                          ],
                          "additionalProperties": {}
                        }
                      },
                      "required": [
                        "id",
                        "index",
                        "screenType",
                        "screenshots",
                        "texts"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "headers": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "minLength": 1
                        },
                        "position": {
                          "type": "object",
                          "properties": {
                            "x": {
                              "type": "number"
                            },
                            "y": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "x",
                            "y"
                          ],
                          "additionalProperties": {}
                        },
                        "width": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        },
                        "height": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        },
                        "backgroundColor": {
                          "type": "string",
                          "minLength": 1
                        },
                        "zIndex": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "id",
                        "position",
                        "width",
                        "height",
                        "backgroundColor",
                        "zIndex"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "canvasWidth": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "canvasHeight": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "backgroundColor": {
                    "type": "string",
                    "minLength": 1
                  },
                  "backgroundGradient": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "linear",
                          "radial"
                        ]
                      },
                      "colors": {
                        "minItems": 2,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "direction": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "type",
                      "colors"
                    ],
                    "additionalProperties": {}
                  },
                  "colorRefs": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  },
                  "panoramaBackground": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "themeColors": {
                    "type": "object",
                    "properties": {
                      "primary": {
                        "type": "string",
                        "minLength": 1
                      },
                      "secondary": {
                        "type": "string",
                        "minLength": 1
                      },
                      "accent": {
                        "type": "string",
                        "minLength": 1
                      },
                      "background": {
                        "type": "string",
                        "minLength": 1
                      },
                      "text": {
                        "type": "string",
                        "minLength": 1
                      },
                      "textSecondary": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "primary",
                      "secondary",
                      "text",
                      "textSecondary"
                    ],
                    "additionalProperties": {}
                  },
                  "orientation": {
                    "type": "string",
                    "enum": [
                      "portrait",
                      "landscape"
                    ]
                  },
                  "layerGroups": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  }
                },
                "required": [
                  "template",
                  "platform",
                  "screens",
                  "canvasWidth",
                  "canvasHeight",
                  "backgroundColor"
                ],
                "additionalProperties": {}
              }
            },
            "required": [
              "format",
              "layout"
            ]
          }
        }
      },
      "required": [
        "variantId",
        "language",
        "sourceLanguage",
        "availableLanguages",
        "socialTemplateId",
        "socialPrimaryFormat",
        "graphics"
      ],
      "additionalProperties": {}
    },
    "meta": {
      "type": "object",
      "required": [
        "requestId"
      ],
      "properties": {
        "requestId": {
          "type": "string",
          "format": "uuid"
        }
      }
    }
  }
}

Errors & retries

Errors use application/problem+json. Check the stable code and keep requestId when contacting support. Respect Retry-After on 429 responses.

See error handling and idempotency →