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:

"12ec87b5-6a93-4c11-b382-dc1222ea2d5e"

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