Create an explicit share link

Public styles, publications, profiles, palettes and allowlisted resources can be shared anonymously. Sharing owned completed job IDs requires a signed-in session or API key. Image sets are unlisted (anyone holding the token can view); original inputs are excluded unless includeBefore is explicitly true. Use a UUID flowId for idempotent retries. Never share API keys or signed output URLs.

post/api/shares

Request

  • Base URL: https://api.peelaway.io
  • URL: https://api.peelaway.io/api/shares
  • Auth: one of:
    • none
    • HTTP bearer
    • API key in cookie better-auth.session_token

Request body

flowIdstring uuid required
surfacestring required
placementstring required

Response

id, token, path (/username/id), and visibility

Changes

No recorded changes to this operation across all 1 revision of this API.