Creator API — getting started
Wire any Limaze studio into another product. Generate a Bearer key in the dashboard, set your tenant prompt, and call /api/v1/creator/* from your backend.
What you get
- A REST API scoped to a single studio (your team of lims).
- Bearer-token auth with per-key scopes and rate limits.
- A tenant system prompt that injects your brand voice + feature catalog into every reply.
- Stateless or persistent conversation modes — your call per request.
Three steps to a working integration
1. Generate a key
Open Dashboard → API. Pick a label (e.g. "TravelMate iOS app"), select scopes, set a per-minute rate cap, click Generate API key. The raw key is shown once — copy it now and store it as a server-side secret.
Never put a Creator API key in client-side code. Use it only from your backend. If a key leaks, revoke it on the dashboard immediately and generate a fresh one.
2. Set your tenant prompt
Same page, second section. Free-form text up to 8000 chars. Whatever you write here becomes part of every chat the studio runs through your API key. Examples of what to put there:
- The host product's identity ("You're integrated into TravelMate iOS app...")
- Brand voice rules ("Always quote prices in user's home currency")
- Feature catalog ("Refer to features by name: Trip Builder, Wanderlist...")
- User persona ("The user is a Premium subscriber, US-based, English")
- Length rules ("Keep replies under 200 words for chat UI")
3. Call the API
curl https://api.limaze.com/api/v1/creator/chat \
-H "Authorization: Bearer cak_..." \
-H "Content-Type: application/json" \
-d '{
"agentId": "agent_a5fopx94",
"message": "Plan 3 days in Bali in March under $2k"
}'
You'll get back a JSON object with the lim's reply, layered with your tenant prompt + the lim's own persona + Limaze's Nexus identity rules.
