API Documentation
API Authentication
Learn how to authenticate requests to the Bannerify API.
Bannerify uses project API keys to authenticate API requests. Create one key per project or workflow so you can rotate access without affecting unrelated automations.
API keys
You can create a project API key in Dashboard → API Keys.
Keep API keys in server-side code, environment variables, or secret managers. Do not commit them to git or expose them in browser code.
Use your API key
Pass your API key as apiKey in API requests that require authentication:
curl --request POST \
--url https://api.bannerify.co/v1/templates/createImage \
--header 'Content-Type: application/json' \
--data '{
"apiKey": "bnfy_xxx",
"templateId": "tpl_xxx",
"modifications": {
"headline": "Summer sale"
}
}'
Rotate a key
If a key is exposed or no longer needed, create a replacement key, update your workflow, then revoke the old key from the dashboard.