Developers

Turn a Creation’s Share Link on or off

PATCH
/creations/{creationId}/sharing

With shared: true anyone with the Share Link sees the outputs (never the prompt, inputs or owner).

Authorization

headerAuthorizationBearer <token>

An API Key the User creates in account settings, sent as Authorization: Bearer <key>. It holds the Scopes chosen at creation.

Path Parameters

creationId*string
Length1 <= length

Request Body

application/json
  1. body
shared*boolean

Response Body

Done.

Example request
curl -X PATCH 'https://ximagesplitter.com/api/v1/creations/string/sharing' \
  -H 'Content-Type: application/json' \
  -d '{
  "shared": true
}'
Example response
Empty