Skip to main content
GET
/
styles
/
{id}
/
share
/
link
Get a shareable link for a style
curl --request GET \
  --url https://api.krea.ai/styles/{id}/share/link \
  --header 'Authorization: Bearer <token>'
{
  "share_link": "<string>",
  "is_new": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

A unique identifier for a style

Example:

"aca6f9a9-561a-47c9-9765-77afc62b9bd0"

Response

Shareable link retrieved (existing link)

Response containing a shareable link for a style

Shareable URL for the style

is_new
boolean
required

Whether the share link is new