POST
/
v1
/
workspaces
/
{workspace_id}
/
links
/
{link_id}
/
qr-code-preview
curl --request POST \
  --url https://api.ziplink.click/v1/workspaces/{workspace_id}/links/{link_id}/qr-code-preview \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "border": 0,
  "color": "#000000",
  "logo_url": "https://example.com/2024-conference-dubai.png"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

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

Path Parameters

workspace_id
string
required

ID of the workspace.

Example:

"ab782971-4d79-47ab-8685-77cf5a34b2bb"

ID of the link.

Example:

"ab782971-4d79-47ab-8685-77cf5a34b2bb"

Body

application/json
Update QR code customization.
border
integer
default:30

Border width of the QR code frame.

Required range: 0 <= x <= 100
Example:

0

color
string
default:#000000

HEX color code of the foreground color.

Required string length: 7
Example:

"#000000"

logo_url
string | null

URL of the logo, if empty, the Ziplink logo is used.

Maximum length: 2000
Example:

"https://example.com/2024-conference-dubai.png"

Response

200
image/png
OK

Raw byte response used for images.