Public API & MCP
Claude Code and other AI agents turn product info into structure on Plottell — just by passing it along.
Generate and visualize cosmetics structure from a public REST API and MCP.
Instead of exposing raw tldraw, we hand off a stable sections schema. Compliance-aware structure generation and expansion to LP / Amazon A+ / social — all in a single agent request.
Quickstart
Issue a pk_live_… key in the dashboard’s API keys (scopes depend on plan).
Add plottell-mcp to your project’s .mcp.json (snippet below).
Just ask “build a vertical LP for cleanser A” and plottell_ai_compose runs.
{
"mcpServers": {
"plottell": {
"command": "npx",
"args": ["-y", "plottell-mcp"],
"env": { "PLOTTELL_API_KEY": "pk_live_…" }
}
}
}Reference
| REST | scope |
|---|---|
GET/api/v1/me | read |
GET/api/v1/canvases | read |
GET/api/v1/canvases/{id} | read |
POST/api/v1/canvases | write |
PUT/api/v1/canvases/{id} | write |
DELETE/api/v1/canvases/{id} | write |
POST/api/v1/canvases/{id}/compositions | write |
POST/api/v1/ai/compose | ai |
| scope | Plan | What it does |
|---|---|---|
| read | Free + | List / fetch canvases |
| write | Standard + | Create / update / delete / add structure |
| ai | Enterprise | AI structure generation (/ai/compose) |
Example
Add create: true to also create a Canvas from the generated structure (needs ai + write scopes).
curl -X POST https://plottell.com/api/v1/ai/compose \
-H "Authorization: Bearer pk_live_…" \
-H "Content-Type: application/json" \
-d '{
"productName": "Brightening Toner A",
"description": "With vitamin C derivative. Cares for a dull look from dryness.",
"genre": "cosmetics",
"mediaType": "lp",
"create": true
}'The response includes normalized sections, credits consumed, and (when create is set) the new Canvas URL. Opening that URL auto-generates the layout from the structure.
Get a free API key and try it from /api/v1/me.