Skip to main content
The Apps API is in beta. Its endpoints and responses may change.
These endpoints set up the Marketing Agent for an app and let you talk to it. The agent reads the app and drafts marketing channels, KPIs, and a strategy for you to review. See Using the Marketing Agent for your app for the same feature in the Base44 online app editor. The first run in a workspace creates the workspace’s Marketing Agent, a Superagent that everyone in the workspace shares. Each run is a Superagent turn, charged to the workspace in message credits.

Setup steps

Setup moves through steps, and the agent waits at each one for your approval. To set up the Marketing Agent:
  1. Call Start Marketing Agent setup. The work runs in the background.
  2. Poll Get Marketing Agent state until status is ready or error. Setup then waits at a setup_stage of channels.
  3. Approve each step with Answer Marketing Agent setup step, or ask for changes with Send Marketing Agent message. The steps are channels, kpis, and budget.
  4. After the budget step, the agent writes the strategy. Poll the state again until status is ready.
After setup, Send Marketing Agent message is an ordinary conversation about the app’s marketing.

Endpoints