Skip to main content
POST
cURL
Interactive playground for POST /qr-codes/{qr_code_id}.
Paste your API key in the Authorization field as Bearer {api_key}.
cURL

Authorizations

Authorization
string
header
default:{api_key}
required

Get your API key at https://kloo.li/account-api. Use Authorization: Bearer {api_key}.

Path Parameters

qr_code_id
string
required

Resource identifier

Body

multipart/form-data
project_id
string

Filter by project id.

name
string

name

type
enum<string>

Allowed values: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix.

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

Allowed values: square, dot, rounded, diamond, flower, leaf.

Available options:
square,
dot,
rounded,
diamond,
flower,
leaf
inner_eye_style
string

Allowed values: square, dot, rounded, diamond, flower, leaf

outer_eye_style
enum<string>

Allowed values: square, circle, rounded, flower, leaf

Available options:
square,
circle,
rounded,
flower,
leaf
foreground_type
enum<string>

Allowed values: color, gradient

Available options:
color,
gradient
foreground_color
string

Available when: foreground_type = color

foreground_gradient_style
enum<string>

Allowed values: vertical, horizontal, diagonal, inverse_diagonal, radial

Available options:
vertical,
horizontal,
diagonal,
inverse_diagonal,
radial
foreground_gradient_one
string

Available when: foreground_type = gradient

foreground_gradient_two
string

Available when: 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

Available when: custom_eyes_color = 1

eyes_outer_color
string

Available when: 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

Allowed values:

frame_text
string

frame_text

frame_text_size
integer

-5 -> 5

frame_text_font
string

Allowed values: sora, times_new_roman, georgia, courier, arial, helvetica, verdana, tahoma.

frame_custom_colors
boolean

frame_custom_colors

frame_color
string

Available when: frame_custom_colors = 1

frame_text_color
string

Available when: frame_custom_colors = 1

size
integer

50-2000

margin
integer

0-25

ecc
enum<string>

Allowed values: L, M, Q, H

Available options:
L,
M,
Q,
H
text
string

Available when: type = text

url
string

Available when: type = url

phone
string

Available when: type = phone

sms
string

Available when: type = sms

email
string

Available when: type = email

whatsapp
string

Available when: type = whatsapp

facetime
string

Available when: type = facetime

location
string

location

wifi
string

wifi

event
string

Available when: type = event

crypto
string

crypto

vcard
string

vcard

paypal
string

paypal

upi
string

upi

epc
string

epc

pix
string

pix

Response

Success