Bannersnack Enterprise API
The Enterprise API connects your platform to the Bannersnack editor. Your server calls it to open the editor for your users, to list and rename their banners, to export banners and to make banners from your data.
Each action has a reference page with a form to try it with your own credentials. The guides explain the tasks that need more than one call.
-
API reference
Every action with its parameters, answers, errors and side effects.
-
Getting started
How to sign a request and read the answer.
-
Use with AI
Connect an AI assistant to the API through MCP.
Actions by group
-
Editor links
Open the Bannersnack editor for one of your end users. Your server asks for an editor link, and the browser of the user opens it.
5 actions
-
Users
List the end users of your white label, page by page.
1 action
-
Exports
Start exports, and read the export links of a banner with the status of each export.
4 actions
-
Ad networks
Get the ad networks, the zips built for an ad network, and the ad tag code of a banner.
4 actions
-
Dynamic generation
Make and update banners from data, with no editor. Read the fields of a source banner, then send new values for them.
6 actions
Your credentials
Each request needs the client id and the secret key of your white label. You find both in the Enterprise admin, on the page API Keys & Redirects.
What happens to your secret key
The demo server signs each request with your client id and secret key and sends it to enterprise.bannersnack.com. The server does not store or log them. This page keeps them in this browser tab only, until you close the tab.
The code examples never show your secret key. They read it
from the environment variable
BANNERSNACK_SECRET_KEY.
Each call is a real call to the API of your white label. A call can create users and banners. An editor link that you open signs its user in to the editor, and unless your white label allows multiple logins, that ends the other editor sessions of that user. Use a test user.
Common tasks
- Create a banner in the editor Returns an editor link that opens the editor on a new single banner for an end user.
- Edit a banner in the editor Returns an editor link that opens the editor on an existing banner of an end user.
- Start a banner export Queues an export of one banner, for example an MP4 video, a PDF or an ad tag.
- Get the export links of a banner Lists the export links of one banner and the status of each export.
- Generate a banner from data Makes a new banner from a source banner, with new values for its fields.
Guides
- Getting started Credentials, request signing, the one-hour time window and the answer format.
- Exports The export types, how to start an export and how to wait until the file is ready.
- Embed the editor Editor links, iframe and redirect mode, and the messages that the editor sends.
- Dynamic generation Make banners from a template and your own data, one at a time or in a batch.
- Ad networks Ad network zips, ad tags and embed codes.
- Errors Every error code, what it means and what to do.