API access is currently turned on manually. We give your team a base URL and API key when access is enabled.
Quickstart
Start a website job, poll until it finishes, and deploy the returned files.
What the API does
The public API is intentionally small:Start a job
Send a plain-English prompt with optional files for remixing.
Poll for progress
Check whether the job is still building, partially ready, fully ready, or failed.
Deploy anywhere
Use the returned files on Cloudflare, Vercel, Netlify, or your own infrastructure.
Report the final URL
Tell ShareSame where the final website lives after you ship it.
Typical flow
Start with a prompt
Send
POST /generate with a query like build me a CRM like Salesforce but call it ForceSale.Wait for the job
Poll
GET /job/{id} until the status changes to ready. If you want a faster preview, you can also use partial.What you send
Plain-English query
The main input is just the website you want your AI to make.
Optional files
Pass existing files when you want ShareSame to remix or update a website you already have.
Optional tracking IDs
user_id and project_id help tie a sequence of edits together.Bearer auth
Every request uses the same team API key in a standard Bearer header.
API reference
OpenAPI spec
See the exact request and response shapes for the current ShareSame job API.