Codici QR

GET https://9qrcode.com/api/qr-codes/
curl --request GET \
--url 'https://9qrcode.com/api/qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
Parametri Dettagli Descrizione
page Opzionale Interi Il numero di pagina da cui desideri i risultati. Predefinito a 1
results_per_page Opzionale Interi Quanti risultati desideri per pagina. I valori consentiti sono: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Il valore predefinito è 25.
{ "data": [ { "id": 1, "type": "url", "name": "Example name", "qr_code": "https://9qrcode.com/uploads/qr_code/example.svg", "qr_code_logo": null, "qr_code_background": null, "settings": { "foreground_type": "color", "foreground_color": "#000000", "background_color": "#ffffff", "custom_eyes_color": false, "qr_code_logo_size": 25, "size": 500, "margin": 0, "ecc": "L", "url": "https://example.com" ... }, "embedded_data": "https://example.com", "last_datetime": null, "datetime": "2025-04-11 00:55:35" }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://9qrcode.com/api/qr-codes?&page=1", "last": "https://9qrcode.com/api/qr-codes?&page=1", "next": null, "prev": null, "self": "https://9qrcode.com/api/qr-codes?&page=1" } }
GET https://9qrcode.com/api/qr-codes/{qr_code_id}
curl --request GET \
--url 'https://9qrcode.com/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "type": "url", "name": "Example name", "qr_code": "https://9qrcode.com/uploads/qr_code/example.svg", "qr_code_logo": null, "qr_code_background": null, "settings": { "foreground_type": "color", "foreground_color": "#000000", "background_color": "#ffffff", "custom_eyes_color": false, "qr_code_logo_size": 25, "size": 500, "margin": 0, "ecc": "L", "url": "https://example.com" ... }, "embedded_data": "https://example.com", "last_datetime": null, "datetime": "2025-04-11 00:55:35" } }
POST https://9qrcode.com/api/qr-codes
Parametri Dettagli Descrizione
link_id Opzionale Interi -
project_id Opzionale Interi -
name Richiesto String -
type Richiesto String Valori consentiti: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
is_bulk Opzionale Boolean Available when: type = text
style Opzionale String Valori consentiti: square, dot, round, diamond, heart
inner_eye_style Opzionale String Valori consentiti: square, dot, rounded, diamond, flower, leaf
outer_eye_style Opzionale String Valori consentiti: square, circle, rounded, flower, leaf
foreground_type Opzionale String Valori consentiti: color, gradient
foreground_color Opzionale String Available when: foreground_type = color
foreground_gradient_style Opzionale String Valori consentiti: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one Opzionale String Available when: foreground_type = gradient
foreground_gradient_two Opzionale String Available when: foreground_type = gradient
background_color Opzionale String
background_color_transparency Opzionale Interi
custom_eyes_color Opzionale Boolean
eyes_inner_color Opzionale String Available when: custom_eyes_color = 1
eyes_outer_color Opzionale String Available when: custom_eyes_color = 1
qr_code_logo Opzionale File -
qr_code_logo_size Opzionale Interi 5-35
qr_code_background Opzionale File -
qr_code_background_transparency Opzionale Interi 0-100
qr_code_foreground Opzionale File -
qr_code_foreground_transparency Opzionale Interi 0-100
frame Opzionale String Valori consentiti: round_bottom_text, round_top_text, tooltip_bottom_text, tooltip_top_text, ribbon_bottom_text, ribbon_top_text, tooltip_snap_top_text, tooltip_snap_bottom_text
frame_text Opzionale String
frame_text_size Opzionale Interi -5 - 5
frame_text_font Opzionale String Valori consentiti: times_new_roman, georgia, courier, arial, helvetica, verdana, tahoma, trebuchet_ms, courier_new, monaco, comic_sans_ms, impact, luminari, baskerville, papyrus, brush_script_mt
frame_custom_colors Opzionale Boolean
frame_color Opzionale String Available when: frame_custom_colors = 1
frame_text_color Opzionale String Available when: frame_custom_colors = 1
size Opzionale Interi 50-2000
margin Opzionale Interi 0-25
ecc Opzionale String Valori consentiti: L, M, Q, H
text Opzionale String Available when: type = text
url Opzionale String Available when: type = url
phone Opzionale String Available when: type = phone
sms Opzionale String Available when: type = sms
sms_body Opzionale String Available when: type = sms
email Opzionale String Available when: type = email
whatsapp Opzionale String Available when: type = whatsapp
whatsapp_body Opzionale String Available when: type = whatsapp
facetime Opzionale String Available when: type = facetime
location
location_latitude Opzionale Float Available when: type = location
location_longitude Opzionale Float Available when: type = location
wifi
wifi_ssid Opzionale String Available when: type = wifi
wifi_encryption Opzionale String Valori consentiti: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password Opzionale String Available when: type = wifi
wifi_is_hidden Opzionale Boolean Available when: type = wifi
event Opzionale String Available when: type = event
event_location Opzionale String Available when: type = event
event_url Opzionale String Available when: type = event
event_note Opzionale String Available when: type = event
event_timezone Opzionale String Available when: type = event
event_start_datetime Opzionale String Available when: type = event
event_end_datetime Opzionale String Available when: type = event
event_first_alert_datetime Opzionale String Available when: type = event
event_second_alert_datetime Opzionale String Available when: type = event
crypto
crypto_coin Opzionale String Available when: type = crypto
crypto_address Opzionale String Available when: type = crypto
crypto_amount Opzionale String Available when: type = crypto
vcard
vcard_first_name Opzionale String Available when: type = vcard
vcard_last_name Opzionale String Available when: type = vcard
vcard_company Opzionale String Available when: type = vcard
vcard_phone_number_label[index] Opzionale String Available when: type = vcard
vcard_phone_number_value[index] Opzionale String Available when: type = vcard
vcard_email Opzionale String Available when: type = vcard
vcard_url Opzionale String Available when: type = vcard
vcard_job_title Opzionale String Available when: type = vcard
vcard_birthday Opzionale String Available when: type = vcard
vcard_street Opzionale String Available when: type = vcard
vcard_city Opzionale String Available when: type = vcard
vcard_zip Opzionale String Available when: type = vcard
vcard_region Opzionale String Available when: type = vcard
vcard_country Opzionale String Available when: type = vcard
vcard_note Opzionale String Available when: type = vcard
vcard_social_label[index] Opzionale String Available when: type = vcard
vcard_social_value[index] Opzionale String Available when: type = vcard
paypal
paypal_type Opzionale String Valori consentiti: buy_now, add_to_cart, donation (type=paypal)
paypal_email Opzionale String Available when: type = paypal
paypal_title Opzionale String Available when: type = paypal
paypal_currency Opzionale String Available when: type = paypal
paypal_price Opzionale Float Available when: type = paypal
paypal_thank_you_url Opzionale String Available when: type = paypal
paypal_cancel_url Opzionale String Available when: type = paypal
upi
upi_payee_id Opzionale String Available when: type = upi
upi_payee_name Opzionale String Available when: type = upi
upi_currency Opzionale String Available when: type = upi
upi_amount Opzionale Float Available when: type = upi
upi_transaction_id Opzionale String Available when: type = upi
upi_transaction_note Opzionale String Available when: type = upi
upi_transaction_reference Opzionale String Available when: type = upi
upi_thank_you_url Opzionale String Available when: type = upi
epc
epc_iban Opzionale String Available when: type = epc
epc_payee_name Opzionale String Available when: type = epc
epc_currency Opzionale String Available when: type = epc
epc_amount Opzionale Float Available when: type = epc
epc_bic Opzionale String Available when: type = epc
epc_remittance_reference Opzionale String Available when: type = epc
epc_remittance_text Opzionale String Available when: type = epc
information Opzionale String Available when: type = epc
pix
pix_payee_key Opzionale String Available when: type = pix
pix_payee_name Opzionale String Available when: type = pix
pix_currency Opzionale String Available when: type = pix
pix_amount Opzionale Float Available when: type = pix
pix_city Opzionale String Available when: type = pix
pix_transaction_id Opzionale String Available when: type = pix
pix_description Opzionale String Available when: type = pix
Parametri Dettagli Descrizione
curl --request POST \
--url 'https://9qrcode.com/api/qr-codes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'type=text' \
--form 'text=Hello!' \
{ "data": { "id": 1 } }
POST https://9qrcode.com/api/qr-codes/{qr_code_id}
Parametri Dettagli Descrizione
link_id Opzionale Interi -
project_id Opzionale String -
name Opzionale String -
type Opzionale String Valori consentiti: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
style Opzionale String Valori consentiti: square, dot, round, diamond, heart
inner_eye_style Opzionale String Valori consentiti: square, dot, rounded, diamond, flower, leaf
outer_eye_style Opzionale String Valori consentiti: square, circle, rounded, flower, leaf
foreground_type Opzionale String Valori consentiti: color, gradient
foreground_color Opzionale String Available when: foreground_type = color
foreground_gradient_style Opzionale String Valori consentiti: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one Opzionale String Available when: foreground_type = gradient
foreground_gradient_two Opzionale String Available when: foreground_type = gradient
background_color Opzionale String
background_color_transparency Opzionale Interi 0 - 100
custom_eyes_color Opzionale Boolean
eyes_inner_color Opzionale String Available when: custom_eyes_color = 1
eyes_outer_color Opzionale String Available when: custom_eyes_color = 1
qr_code_logo Opzionale File -
qr_code_logo_size Opzionale Interi 5-35
qr_code_background Opzionale File -
qr_code_background_transparency Opzionale Interi 0-100
qr_code_foreground Opzionale File -
qr_code_foreground_transparency Opzionale Interi 0-100
frame Opzionale String Valori consentiti: round_bottom_text, round_top_text, tooltip_bottom_text, tooltip_top_text, ribbon_bottom_text, ribbon_top_text, tooltip_snap_top_text, tooltip_snap_bottom_text
frame_text Opzionale String
frame_text_size Opzionale Interi -5 -> 5
frame_text_font Opzionale String Valori consentiti: times_new_roman, georgia, courier, arial, helvetica, verdana, tahoma, trebuchet_ms, courier_new, monaco, comic_sans_ms, impact, luminari, baskerville, papyrus, brush_script_mt
frame_custom_colors Opzionale Boolean
frame_color Opzionale String Available when: frame_custom_colors = 1
frame_text_color Opzionale String Available when: frame_custom_colors = 1
size Opzionale Interi 50-2000
margin Opzionale Interi 0-25
ecc Opzionale String Valori consentiti: L, M, Q, H
text Opzionale String Available when: type = text
url Opzionale String Available when: type = url
phone Opzionale String Available when: type = phone
sms Opzionale String Available when: type = sms
sms_body Opzionale String Available when: type = sms
email Opzionale String Available when: type = email
whatsapp Opzionale String Available when: type = whatsapp
whatsapp_body Opzionale String Available when: type = whatsapp
facetime Opzionale String Available when: type = facetime
location
location_latitude Opzionale Float Available when: type = location
location_longitude Opzionale Float Available when: type = location
wifi
wifi_ssid Opzionale String Available when: type = wifi
wifi_encryption Opzionale String Valori consentiti: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password Opzionale String Available when: type = wifi
wifi_is_hidden Opzionale Boolean Available when: type = wifi
event Opzionale String Available when: type = event
event_location Opzionale String Available when: type = event
event_url Opzionale String Available when: type = event
event_note Opzionale String Available when: type = event
event_timezone Opzionale String Available when: type = event
event_start_datetime Opzionale String Available when: type = event
event_end_datetime Opzionale String Available when: type = event
event_first_alert_datetime Opzionale String Available when: type = event
event_second_alert_datetime Opzionale String Available when: type = event
crypto
crypto_coin Opzionale String Available when: type = crypto
crypto_address Opzionale String Available when: type = crypto
crypto_amount Opzionale String Available when: type = crypto
vcard
vcard_first_name Opzionale String Available when: type = vcard
vcard_last_name Opzionale String Available when: type = vcard
vcard_company Opzionale String Available when: type = vcard
vcard_phone_number_label[index] Opzionale String Available when: type = vcard
vcard_phone_number_value[index] Opzionale String Available when: type = vcard
vcard_email Opzionale String Available when: type = vcard
vcard_url Opzionale String Available when: type = vcard
vcard_job_title Opzionale String Available when: type = vcard
vcard_birthday Opzionale String Available when: type = vcard
vcard_street Opzionale String Available when: type = vcard
vcard_city Opzionale String Available when: type = vcard
vcard_zip Opzionale String Available when: type = vcard
vcard_region Opzionale String Available when: type = vcard
vcard_country Opzionale String Available when: type = vcard
vcard_note Opzionale String Available when: type = vcard
vcard_social_label[index] Opzionale String Available when: type = vcard
vcard_social_value[index] Opzionale String Available when: type = vcard
paypal
paypal_type Opzionale String Valori consentiti: buy_now, add_to_cart, donation (type=paypal)
paypal_email Opzionale String Available when: type = paypal
paypal_title Opzionale String Available when: type = paypal
paypal_currency Opzionale String Available when: type = paypal
paypal_price Opzionale Float Available when: type = paypal
paypal_thank_you_url Opzionale String Available when: type = paypal
paypal_cancel_url Opzionale String Available when: type = paypal
upi
upi_payee_id Opzionale String Available when: type = upi
upi_payee_name Opzionale String Available when: type = upi
upi_currency Opzionale String Available when: type = upi
upi_amount Opzionale Float Available when: type = upi
upi_transaction_id Opzionale String Available when: type = upi
upi_transaction_note Opzionale String Available when: type = upi
upi_transaction_reference Opzionale String Available when: type = upi
upi_thank_you_url Opzionale String Available when: type = upi
epc
epc_iban Opzionale String Available when: type = epc
epc_payee_name Opzionale String Available when: type = epc
epc_currency Opzionale String Available when: type = epc
epc_amount Opzionale Float Available when: type = epc
epc_bic Opzionale String Available when: type = epc
epc_remittance_reference Opzionale String Available when: type = epc
epc_remittance_text Opzionale String Available when: type = epc
information Opzionale String Available when: type = epc
pix
pix_payee_key Opzionale String Available when: type = pix
pix_payee_name Opzionale String Available when: type = pix
pix_currency Opzionale String Available when: type = pix
pix_amount Opzionale Float Available when: type = pix
pix_city Opzionale String Available when: type = pix
pix_transaction_id Opzionale String Available when: type = pix
pix_description Opzionale String Available when: type = pix
curl --request POST \
--url 'https://9qrcode.com/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
{ "data": { "id": 1 } }
DELETE https://9qrcode.com/api/qr-codes/{qr_code_id}
curl --request DELETE \
--url 'https://9qrcode.com/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \