Skip to main content
Every request uses a Bearer token:

Base URL

When API access is enabled, ShareSame gives your team a base URL and API key. The base URL already includes the ShareSame API prefix. Example:

Optional tracking fields

You can send these extra fields on POST /generate:
  • user_id: your own user identifier for tracking
  • project_id: a stable identifier for the website being edited
project_id is useful when your AI makes follow-up edits to the same website because it helps ShareSame keep those edits grouped together.

Request shape

Keep your API key on the server side. Do not expose it in client-side JavaScript.