Skip to main content
POST
Upload a link preview image

Authorizations

X-API-Key
string
header
required

Your API key, for example dlk_live_.... Create one in the dashboard under Settings → API Keys. Keys are shown once at creation and stored only as a hash, so they cannot be recovered.

Body

multipart/form-data
file_path
file
required

The uploaded file itself (binary), sent as a multipart file part — not a server path.

file_name
string

The target QRCode id (name) to attach the uploaded image to.

Response

Success.

data
object

The endpoint's payload.