START HERE

Quickstart

Make a key and prove GET /me in about two minutes.

1
Turn the API on

Open Settings → API + MCP and create a key. Copy the lf_live_ value when it appears. It is shown once.

Shown onceIf you lose it, rotate. Rotating cuts off the old key everywhere straight away, including ChatGPT and Claude.
2
Keep it out of your code

Put it in an environment variable, not a source file. A TypeScript client generated from the OpenAPI spec is available on request — use bearer auth and the same base URL as REST.

shell
export LF="https://www.limefizz.ai/api/v1"
export LF_KEY="lf_live_your_key_here"
3
Make the one-line check

GET /me is read-only and changes nothing. If it returns your plan and credit balance, the key works.

request
curl -s "$LF/me" -H "Authorization: Bearer $LF_KEY"
4
Make your first creative

Tell it what the post is about. It uses your brand kit for the rest. Stills need a product or place photo on the brand (upload with POST /uploads and pass reference_id, or use one already on the kit). Two image options cost 16 credits (same plan wallet as the app).

request
curl -s -X POST "$LF/creatives" \
  -H "Authorization: Bearer $LF_KEY" \
  -H "Content-Type: application/json" \
  -d '{"brand_id":"YOUR_BRAND_ID","type":"image","style":"editorial","look_id":"ps-02-wet-black","reference_id":"YOUR_REFERENCE_ID","modifier":"Warmer window light","count":2}'
Signed file URLsCreative files and product photo urls in API and MCP responses are short-lived signed HTTPS links (about one hour). Poll again or re-fetch the resource when a link expires; storage paths in your database are not public.
5
Queue it for posting

When GET /creatives/{id} says ready, schedule it with POST /posts (optional file_index / file_id, kind: "feed"|"story"). Or upload finished images with purpose=post and pass asset_id (or asset_ids for a carousel). Use status: "draft" to hold; explicit publish: "now" (or publish: "schedule" + scheduled_at) publishes that post even when Autopilot is off. Remove posts you don't want on Make, or pause posting anytime.

request
curl -s -X POST "$LF/posts" \
  -H "Authorization: Bearer $LF_KEY" \
  -H "Content-Type: application/json" \
  -d '{"brand_id":"YOUR_BRAND_ID","creative_id":"YOUR_CREATIVE_ID","connections":["Instagram"]}'
Post a finished image you already haveUpload with purpose=post (PNG/JPEG/WebP ≤20 MB at exactly 1080×1350 or 1080×1080 for feed, 1080×1920 for Story), then POST /posts with asset_id and kind, or asset_ids (1–10) for a feed carousel. Example Story: curl -s -X POST "$LF/uploads/from-url" -H "Authorization: Bearer $LF_KEY" -H "Content-Type: application/json" -d '{"brand_id":"YOUR_BRAND_ID","url":"https://cdn.example.com/story-1080x1920.png","purpose":"post"}' then curl -s -X POST "$LF/posts" -H "Authorization: Bearer $LF_KEY" -H "Content-Type: application/json" -d '{"brand_id":"YOUR_BRAND_ID","asset_id":"ASSET_ID","kind":"story","connections":["Instagram"]}'.
Try it
/api/v1/me
Response
Send a request to see the response.