Listing kits, from your code.
curl https://www.frontpiece.ai/api/v1/account \
-H "Authorization: Bearer fp_live_YOUR_KEY"Get an API key
From product to kit
1Save your product
curl -X POST https://www.frontpiece.ai/api/v1/products \ -H "Authorization: Bearer fp_live_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"link": "https://www.amazon.com/dp/B0EXAMPLE", "marketplaces": ["amazon"]}'2Start its kit
curl -X POST https://www.frontpiece.ai/api/v1/kits \ -H "Authorization: Bearer fp_live_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"product_id": "PRODUCT_ID"}'3Fetch images and copy
curl https://www.frontpiece.ai/api/v1/kits/KIT_ID \ -H "Authorization: Bearer fp_live_YOUR_KEY"
One API for your listing workflow
- Account
GET /accountPlan and available kits- Products
POST /productsImport a link or your photos- Kits
POST /kitsGenerate images and listing copy- Results
GET /kits/{id}Status, image links and copy- Editing
POST /kits/{id}/images/{image_id}/editChange an image with an instruction- Sharing
POST /kits/{id}/shareGet a public kit link
When a kit finishes, we call your server.
- Your code calls Frontpiece
- Frontpiece calls your server