QR-koder

GET https://qreq.com/api/qr-codes/
curl --request GET \
--url 'https://qreq.com/api/qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
Parametrar Detaljer Beskrivning
page Valfri Heltal Sidanummer som du vill ha resultat från. Standard är 1.
results_per_page Valfri Heltal Hur många resultat du vill ha per sida. Tillåtna värden är: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Standard är 25.
{ "data": [ { "id": 1, "type": "url", "name": "Example name", "qr_code": "https://qreq.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": "2021-10-31 09:47:25", "datetime": "2021-10-29 16:32:25" }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://qreq.com/api/qr-codes?&page=1", "last": "https://qreq.com/api/qr-codes?&page=1", "next": null, "prev": null, "self": "https://qreq.com/api/qr-codes?&page=1" } }
GET https://qreq.com/api/qr-codes/{qr_code_id}
curl --request GET \
--url 'https://qreq.com/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "type": "url", "name": "Example name", "qr_code": "https://qreq.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": "2021-10-31 09:47:25", "datetime": "2021-10-29 16:32:25" } }
POST https://qreq.com/api/qr-codes
Parametrar Detaljer Beskrivning
project_id Valfri Heltal -
name Obligatorisk Sträng -
type Obligatorisk Sträng Tillåtna värden: text, url, gs1, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix, google_review, business_profile, zoom, messenger, telegram, viber, lead, product_catlog, restorent_menu, app_d, payment, event_plus, vcard_plus, file, pdf, list_of_link, callender, social_media, facebook, youtub, vedio, audio, spotify
is_bulk Valfri Boolean Tillgänglig när: type = text
style Valfri Sträng Tillåtna värden: square, dot, round, diamond, heart
inner_eye_style Valfri Sträng Tillåtna värden: square, dot, rounded, diamond, flower, leaf
outer_eye_style Valfri Sträng Tillåtna värden: square, circle, rounded, flower, leaf
foreground_type Valfri Sträng Tillåtna värden: color, gradient
foreground_color Valfri Sträng Tillgänglig när: foreground_type = color
foreground_gradient_style Valfri Sträng Tillåtna värden: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one Valfri Sträng Tillgänglig när: foreground_type = gradient
foreground_gradient_two Valfri Sträng Tillgänglig när: foreground_type = gradient
background_color Valfri Sträng
background_color_transparency Valfri Heltal
custom_eyes_color Valfri Boolean
eyes_inner_color Valfri Sträng Tillgänglig när: custom_eyes_color = 1
eyes_outer_color Valfri Sträng Tillgänglig när: custom_eyes_color = 1
qr_code_logo Valfri Fil -
qr_code_logo_size Valfri Heltal 5-35
qr_code_background Valfri Fil -
qr_code_background_transparency Valfri Heltal 0-100
qr_code_foreground Valfri Fil -
qr_code_foreground_transparency Valfri Heltal 0-100
frame Valfri Sträng Tillåtna värden: 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 Valfri Sträng
frame_text_size Valfri Heltal -5 - 5
frame_text_font Valfri Sträng Tillåtna värden: 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 Valfri Boolean
frame_color Valfri Sträng Tillgänglig när: frame_custom_colors = 1
frame_text_color Valfri Sträng Tillgänglig när: frame_custom_colors = 1
size Valfri Heltal 50-2000
margin Valfri Heltal 0-25
ecc Valfri Sträng Tillåtna värden: L, M, Q, H
text Valfri Sträng Tillgänglig när: type = text
url Valfri Sträng Tillgänglig när: type = url
phone Valfri Sträng Tillgänglig när: type = phone
sms Valfri Sträng Tillgänglig när: type = sms
sms_body Valfri Sträng Tillgänglig när: type = sms
email Valfri Sträng Tillgänglig när: type = email
whatsapp Valfri Sträng Tillgänglig när: type = whatsapp
whatsapp_body Valfri Sträng Tillgänglig när: type = whatsapp
facetime Valfri Sträng Tillgänglig när: type = facetime
location
location_latitude Valfri Flyttal Tillgänglig när: type = location
location_longitude Valfri Flyttal Tillgänglig när: type = location
wifi
wifi_ssid Valfri Sträng Tillgänglig när: type = wifi
wifi_encryption Valfri Sträng Tillåtna värden: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password Valfri Sträng Tillgänglig när: type = wifi
wifi_is_hidden Valfri Boolean Tillgänglig när: type = wifi
event Valfri Sträng Tillgänglig när: type = event
event_location Valfri Sträng Tillgänglig när: type = event
event_url Valfri Sträng Tillgänglig när: type = event
event_note Valfri Sträng Tillgänglig när: type = event
event_timezone Valfri Sträng Tillgänglig när: type = event
event_start_datetime Valfri Sträng Tillgänglig när: type = event
event_end_datetime Valfri Sträng Tillgänglig när: type = event
event_first_alert_datetime Valfri Sträng Tillgänglig när: type = event
event_second_alert_datetime Valfri Sträng Tillgänglig när: type = event
crypto
crypto_coin Valfri Sträng Tillgänglig när: type = crypto
crypto_address Valfri Sträng Tillgänglig när: type = crypto
crypto_amount Valfri Sträng Tillgänglig när: type = crypto
vcard
vcard_first_name Valfri Sträng Tillgänglig när: type = vcard
vcard_last_name Valfri Sträng Tillgänglig när: type = vcard
vcard_company Valfri Sträng Tillgänglig när: type = vcard
vcard_phone_number_label[index] Valfri Sträng Tillgänglig när: type = vcard
vcard_phone_number_value[index] Valfri Sträng Tillgänglig när: type = vcard
vcard_email Valfri Sträng Tillgänglig när: type = vcard
vcard_url Valfri Sträng Tillgänglig när: type = vcard
vcard_job_title Valfri Sträng Tillgänglig när: type = vcard
vcard_birthday Valfri Sträng Tillgänglig när: type = vcard
vcard_street Valfri Sträng Tillgänglig när: type = vcard
vcard_city Valfri Sträng Tillgänglig när: type = vcard
vcard_zip Valfri Sträng Tillgänglig när: type = vcard
vcard_region Valfri Sträng Tillgänglig när: type = vcard
vcard_country Valfri Sträng Tillgänglig när: type = vcard
vcard_note Valfri Sträng Tillgänglig när: type = vcard
vcard_social_label[index] Valfri Sträng Tillgänglig när: type = vcard
vcard_social_value[index] Valfri Sträng Tillgänglig när: type = vcard
paypal
paypal_type Valfri Sträng Tillåtna värden: buy_now, add_to_cart, donation (type=paypal)
paypal_email Valfri Sträng Tillgänglig när: type = paypal
paypal_title Valfri Sträng Tillgänglig när: type = paypal
paypal_currency Valfri Sträng Tillgänglig när: type = paypal
paypal_price Valfri Flyttal Tillgänglig när: type = paypal
paypal_thank_you_url Valfri Sträng Tillgänglig när: type = paypal
paypal_cancel_url Valfri Sträng Tillgänglig när: type = paypal
upi
upi_payee_id Valfri Sträng Tillgänglig när: type = upi
upi_payee_name Valfri Sträng Tillgänglig när: type = upi
upi_currency Valfri Sträng Tillgänglig när: type = upi
upi_amount Valfri Flyttal Tillgänglig när: type = upi
upi_transaction_id Valfri Sträng Tillgänglig när: type = upi
upi_transaction_note Valfri Sträng Tillgänglig när: type = upi
upi_transaction_reference Valfri Sträng Tillgänglig när: type = upi
upi_thank_you_url Valfri Sträng Tillgänglig när: type = upi
epc
epc_iban Valfri Sträng Tillgänglig när: type = epc
epc_payee_name Valfri Sträng Tillgänglig när: type = epc
epc_currency Valfri Sträng Tillgänglig när: type = epc
epc_amount Valfri Flyttal Tillgänglig när: type = epc
epc_bic Valfri Sträng Tillgänglig när: type = epc
epc_remittance_reference Valfri Sträng Tillgänglig när: type = epc
epc_remittance_text Valfri Sträng Tillgänglig när: type = epc
information Valfri Sträng Tillgänglig när: type = epc
pix
pix_payee_key Valfri Sträng Tillgänglig när: type = pix
pix_payee_name Valfri Sträng Tillgänglig när: type = pix
pix_currency Valfri Sträng Tillgänglig när: type = pix
pix_amount Valfri Flyttal Tillgänglig när: type = pix
pix_city Valfri Sträng Tillgänglig när: type = pix
pix_transaction_id Valfri Sträng Tillgänglig när: type = pix
pix_description Valfri Sträng Tillgänglig när: type = pix
Parametrar Detaljer Beskrivning
curl --request POST \
--url 'https://qreq.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://qreq.com/api/qr-codes/{qr_code_id}
Parametrar Detaljer Beskrivning
project_id Valfri Sträng -
name Valfri Sträng -
type Valfri Sträng Tillåtna värden: text, url, gs1, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix, google_review, business_profile, zoom, messenger, telegram, viber, lead, product_catlog, restorent_menu, app_d, payment, event_plus, vcard_plus, file, pdf, list_of_link, callender, social_media, facebook, youtub, vedio, audio, spotify
style Valfri Sträng Tillåtna värden: square, dot, round, diamond, heart
inner_eye_style Valfri Sträng Tillåtna värden: square, dot, rounded, diamond, flower, leaf
outer_eye_style Valfri Sträng Tillåtna värden: square, circle, rounded, flower, leaf
foreground_type Valfri Sträng Tillåtna värden: color, gradient
foreground_color Valfri Sträng Tillgänglig när: foreground_type = color
foreground_gradient_style Valfri Sträng Tillåtna värden: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one Valfri Sträng Tillgänglig när: foreground_type = gradient
foreground_gradient_two Valfri Sträng Tillgänglig när: foreground_type = gradient
background_color Valfri Sträng
background_color_transparency Valfri Heltal 0 - 100
custom_eyes_color Valfri Boolean
eyes_inner_color Valfri Sträng Tillgänglig när: custom_eyes_color = 1
eyes_outer_color Valfri Sträng Tillgänglig när: custom_eyes_color = 1
qr_code_logo Valfri Fil -
qr_code_logo_size Valfri Heltal 5-35
qr_code_background Valfri Fil -
qr_code_background_transparency Valfri Heltal 0-100
qr_code_foreground Valfri Fil -
qr_code_foreground_transparency Valfri Heltal 0-100
frame Valfri Sträng Tillåtna värden: 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 Valfri Sträng
frame_text_size Valfri Heltal -5 -> 5
frame_text_font Valfri Sträng Tillåtna värden: 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 Valfri Boolean
frame_color Valfri Sträng Tillgänglig när: frame_custom_colors = 1
frame_text_color Valfri Sträng Tillgänglig när: frame_custom_colors = 1
size Valfri Heltal 50-2000
margin Valfri Heltal 0-25
ecc Valfri Sträng Tillåtna värden: L, M, Q, H
text Valfri Sträng Tillgänglig när: type = text
url Valfri Sträng Tillgänglig när: type = url
phone Valfri Sträng Tillgänglig när: type = phone
sms Valfri Sträng Tillgänglig när: type = sms
sms_body Valfri Sträng Tillgänglig när: type = sms
email Valfri Sträng Tillgänglig när: type = email
whatsapp Valfri Sträng Tillgänglig när: type = whatsapp
whatsapp_body Valfri Sträng Tillgänglig när: type = whatsapp
facetime Valfri Sträng Tillgänglig när: type = facetime
location
location_latitude Valfri Flyttal Tillgänglig när: type = location
location_longitude Valfri Flyttal Tillgänglig när: type = location
wifi
wifi_ssid Valfri Sträng Tillgänglig när: type = wifi
wifi_encryption Valfri Sträng Tillåtna värden: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password Valfri Sträng Tillgänglig när: type = wifi
wifi_is_hidden Valfri Boolean Tillgänglig när: type = wifi
event Valfri Sträng Tillgänglig när: type = event
event_location Valfri Sträng Tillgänglig när: type = event
event_url Valfri Sträng Tillgänglig när: type = event
event_note Valfri Sträng Tillgänglig när: type = event
event_timezone Valfri Sträng Tillgänglig när: type = event
event_start_datetime Valfri Sträng Tillgänglig när: type = event
event_end_datetime Valfri Sträng Tillgänglig när: type = event
event_first_alert_datetime Valfri Sträng Tillgänglig när: type = event
event_second_alert_datetime Valfri Sträng Tillgänglig när: type = event
crypto
crypto_coin Valfri Sträng Tillgänglig när: type = crypto
crypto_address Valfri Sträng Tillgänglig när: type = crypto
crypto_amount Valfri Sträng Tillgänglig när: type = crypto
vcard
vcard_first_name Valfri Sträng Tillgänglig när: type = vcard
vcard_last_name Valfri Sträng Tillgänglig när: type = vcard
vcard_company Valfri Sträng Tillgänglig när: type = vcard
vcard_phone_number_label[index] Valfri Sträng Tillgänglig när: type = vcard
vcard_phone_number_value[index] Valfri Sträng Tillgänglig när: type = vcard
vcard_email Valfri Sträng Tillgänglig när: type = vcard
vcard_url Valfri Sträng Tillgänglig när: type = vcard
vcard_job_title Valfri Sträng Tillgänglig när: type = vcard
vcard_birthday Valfri Sträng Tillgänglig när: type = vcard
vcard_street Valfri Sträng Tillgänglig när: type = vcard
vcard_city Valfri Sträng Tillgänglig när: type = vcard
vcard_zip Valfri Sträng Tillgänglig när: type = vcard
vcard_region Valfri Sträng Tillgänglig när: type = vcard
vcard_country Valfri Sträng Tillgänglig när: type = vcard
vcard_note Valfri Sträng Tillgänglig när: type = vcard
vcard_social_label[index] Valfri Sträng Tillgänglig när: type = vcard
vcard_social_value[index] Valfri Sträng Tillgänglig när: type = vcard
paypal
paypal_type Valfri Sträng Tillåtna värden: buy_now, add_to_cart, donation (type=paypal)
paypal_email Valfri Sträng Tillgänglig när: type = paypal
paypal_title Valfri Sträng Tillgänglig när: type = paypal
paypal_currency Valfri Sträng Tillgänglig när: type = paypal
paypal_price Valfri Flyttal Tillgänglig när: type = paypal
paypal_thank_you_url Valfri Sträng Tillgänglig när: type = paypal
paypal_cancel_url Valfri Sträng Tillgänglig när: type = paypal
upi
upi_payee_id Valfri Sträng Tillgänglig när: type = upi
upi_payee_name Valfri Sträng Tillgänglig när: type = upi
upi_currency Valfri Sträng Tillgänglig när: type = upi
upi_amount Valfri Flyttal Tillgänglig när: type = upi
upi_transaction_id Valfri Sträng Tillgänglig när: type = upi
upi_transaction_note Valfri Sträng Tillgänglig när: type = upi
upi_transaction_reference Valfri Sträng Tillgänglig när: type = upi
upi_thank_you_url Valfri Sträng Tillgänglig när: type = upi
epc
epc_iban Valfri Sträng Tillgänglig när: type = epc
epc_payee_name Valfri Sträng Tillgänglig när: type = epc
epc_currency Valfri Sträng Tillgänglig när: type = epc
epc_amount Valfri Flyttal Tillgänglig när: type = epc
epc_bic Valfri Sträng Tillgänglig när: type = epc
epc_remittance_reference Valfri Sträng Tillgänglig när: type = epc
epc_remittance_text Valfri Sträng Tillgänglig när: type = epc
information Valfri Sträng Tillgänglig när: type = epc
pix
pix_payee_key Valfri Sträng Tillgänglig när: type = pix
pix_payee_name Valfri Sträng Tillgänglig när: type = pix
pix_currency Valfri Sträng Tillgänglig när: type = pix
pix_amount Valfri Flyttal Tillgänglig när: type = pix
pix_city Valfri Sträng Tillgänglig när: type = pix
pix_transaction_id Valfri Sträng Tillgänglig när: type = pix
pix_description Valfri Sträng Tillgänglig när: type = pix
curl --request POST \
--url 'https://qreq.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://qreq.com/api/qr-codes/{qr_code_id}
curl --request DELETE \
--url 'https://qreq.com/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \