Skip to main content
POST
/
v1
/
templates
/
createPdf
cURL
curl --request POST \
  --url 'https://api.bannerify.co/v1/templates/createPdf?apiKey=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "apiKey": "<string>",
  "templateId": "tpl_xxx",
  "modifications": {
    "headline": "Summer sale",
    "photo": {
      "src": "https://example.com/photo.png"
    }
  }
}
'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://documentation.bannerify.co/llms.txt

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

Use this endpoint to create a pdf file from a template.

Authorizations

apiKey
string
query
required

Body

application/json
apiKey
string
required
templateId
string
required

Your template ID

Example:

"tpl_xxx"

modifications

Template modifications as the API array format, an object shorthand, or a JSON string. Object values map to text by default, while nested objects keep fields such as src, qrcode, rows, or chart.

Example:
{
"headline": "Summer sale",
"photo": { "src": "https://example.com/photo.png" }
}

Response

Success create pdf

The binary of pdf file