Skip to main content
POST
cURL
Playground interactif pour POST /qr-codes/{qr_code_id}.
Collez votre clé API dans le champ Authorization : Bearer {api_key}.
cURL

Autorisations

Authorization
string
header
défaut:{api_key}
requis

Récupérez votre clé API sur https://kloo.li/account-api. Utilisez Authorization: Bearer {api_key}.

Paramètres de chemin

qr_code_id
string
requis

Resource identifier

Corps

multipart/form-data
project_id
string

Filter by project id.

name
string

name

type
enum<string>

Valeurs autorisées : text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix.

Options disponibles:
email,
webhook,
slack,
discord,
telegram,
microsoft_teams,
twilio,
twilio_call,
whatsapp,
x,
google_chat,
push_subscriber_id
style
enum<string>

Valeurs autorisées : square, dot, rounded, diamond, flower, leaf.

Options disponibles:
square,
dot,
rounded,
diamond,
flower,
leaf
inner_eye_style
string

Valeurs autorisées : square, dot, rounded, diamond, flower, leaf

outer_eye_style
enum<string>

Valeurs autorisées : square, circle, rounded, flower, leaf

Options disponibles:
square,
circle,
rounded,
flower,
leaf
foreground_type
enum<string>

Valeurs autorisées : color, gradient

Options disponibles:
color,
gradient
foreground_color
string

Disponible quand : foreground_type = color

foreground_gradient_style
enum<string>

Valeurs autorisées : vertical, horizontal, diagonal, inverse_diagonal, radial

Options disponibles:
vertical,
horizontal,
diagonal,
inverse_diagonal,
radial
foreground_gradient_one
string

Disponible quand : foreground_type = gradient

foreground_gradient_two
string

Disponible quand : foreground_type = gradient

background_color
string

background_color

background_color_transparency
integer

0 - 100

custom_eyes_color
boolean

custom_eyes_color

eyes_inner_color
string

Disponible quand : custom_eyes_color = 1

eyes_outer_color
string

Disponible quand : custom_eyes_color = 1

qr_code_logo

qr_code_logo_size
integer

5-35

qr_code_background
file

qr_code_background

qr_code_background_transparency
integer

0-100

qr_code_foreground
file

qr_code_foreground

qr_code_foreground_transparency
integer

0-100

frame
string

Valeurs autorisées :

frame_text
string

frame_text

frame_text_size
integer

-5 -> 5

frame_text_font
string

Valeurs autorisées : sora, times_new_roman, georgia, courier, arial, helvetica, verdana, tahoma.

frame_custom_colors
boolean

frame_custom_colors

frame_color
string

Disponible quand : frame_custom_colors = 1

frame_text_color
string

Disponible quand : frame_custom_colors = 1

size
integer

50-2000

margin
integer

0-25

ecc
enum<string>

Valeurs autorisées : L, M, Q, H

Options disponibles:
L,
M,
Q,
H
text
string

Disponible quand : type = text

url
string

Disponible quand : type = url

phone
string

Disponible quand : type = phone

sms
string

Disponible quand : type = sms

email
string

Disponible quand : type = email

whatsapp
string

Disponible quand : type = whatsapp

facetime
string

Disponible quand : type = facetime

location
string

location

wifi
string

wifi

event
string

Disponible quand : type = event

crypto
string

crypto

vcard
string

vcard

paypal
string

paypal

upi
string

upi

epc
string

epc

pix
string

pix

Réponse

Succès