QR codes

GET https://tistos.com/api/qr-codes/
curl --request GET \
--url 'https://tistos.com/api/qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
Mga Parameter Mga Detalye Paglalarawan
page Opsyonal Buong numero Ang numero ng pahina na nais mong pagkuhanan ng mga resulta. Default ay 1.
results_per_page Opsyonal Buong numero Ilang resulta ang nais mo bawat pahina. Ang mga pinapayagang halaga ay: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Ang default ay 25.
{ "data": [ { "id": 1, "type": "url", "name": "Example name", "qr_code": "https://tistos.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://tistos.com/api/qr-codes?&page=1", "last": "https://tistos.com/api/qr-codes?&page=1", "next": null, "prev": null, "self": "https://tistos.com/api/qr-codes?&page=1" } }
GET https://tistos.com/api/qr-codes/{qr_code_id}
curl --request GET \
--url 'https://tistos.com/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "type": "url", "name": "Example name", "qr_code": "https://tistos.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://tistos.com/api/qr-codes
Mga Parameter Mga Detalye Paglalarawan
project_id Opsyonal Buong numero -
name Kinakailangan String -
type Kinakailangan String Pinapayagang mga halaga: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
is_bulk Opsyonal Boolean Magiging available kapag: type = text
style Opsyonal String Pinapayagang mga halaga: square, dot, round, diamond, heart
inner_eye_style Opsyonal String Pinapayagang mga halaga: square, dot, rounded, diamond, flower, leaf
outer_eye_style Opsyonal String Pinapayagang mga halaga: square, circle, rounded, flower, leaf
foreground_type Opsyonal String Pinapayagang mga halaga: color, gradient
foreground_color Opsyonal String Magiging available kapag: foreground_type = color
foreground_gradient_style Opsyonal String Pinapayagang mga halaga: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one Opsyonal String Magiging available kapag: foreground_type = gradient
foreground_gradient_two Opsyonal String Magiging available kapag: foreground_type = gradient
background_color Opsyonal String
background_color_transparency Opsyonal Buong numero
custom_eyes_color Opsyonal Boolean
eyes_inner_color Opsyonal String Magiging available kapag: custom_eyes_color = 1
eyes_outer_color Opsyonal String Magiging available kapag: custom_eyes_color = 1
qr_code_logo Opsyonal File -
qr_code_logo_size Opsyonal Buong numero 5-35
qr_code_background Opsyonal File -
qr_code_background_transparency Opsyonal Buong numero 0-100
qr_code_foreground Opsyonal File -
qr_code_foreground_transparency Opsyonal Buong numero 0-100
frame Opsyonal String Pinapayagang mga halaga: 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 Opsyonal String
frame_text_size Opsyonal Buong numero -5 - 5
frame_text_font Opsyonal String Pinapayagang mga halaga: 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 Opsyonal Boolean
frame_color Opsyonal String Magiging available kapag: frame_custom_colors = 1
frame_text_color Opsyonal String Magiging available kapag: frame_custom_colors = 1
size Opsyonal Buong numero 50-2000
margin Opsyonal Buong numero 0-25
ecc Opsyonal String Pinapayagang mga halaga: L, M, Q, H
text Opsyonal String Magiging available kapag: type = text
url Opsyonal String Magiging available kapag: type = url
phone Opsyonal String Magiging available kapag: type = phone
sms Opsyonal String Magiging available kapag: type = sms
sms_body Opsyonal String Magiging available kapag: type = sms
email Opsyonal String Magiging available kapag: type = email
whatsapp Opsyonal String Magiging available kapag: type = whatsapp
whatsapp_body Opsyonal String Magiging available kapag: type = whatsapp
facetime Opsyonal String Magiging available kapag: type = facetime
location
location_latitude Opsyonal Pabalik-balik Magiging available kapag: type = location
location_longitude Opsyonal Pabalik-balik Magiging available kapag: type = location
wifi
wifi_ssid Opsyonal String Magiging available kapag: type = wifi
wifi_encryption Opsyonal String Pinapayagang mga halaga: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password Opsyonal String Magiging available kapag: type = wifi
wifi_is_hidden Opsyonal Boolean Magiging available kapag: type = wifi
event Opsyonal String Magiging available kapag: type = event
event_location Opsyonal String Magiging available kapag: type = event
event_url Opsyonal String Magiging available kapag: type = event
event_note Opsyonal String Magiging available kapag: type = event
event_timezone Opsyonal String Magiging available kapag: type = event
event_start_datetime Opsyonal String Magiging available kapag: type = event
event_end_datetime Opsyonal String Magiging available kapag: type = event
event_first_alert_datetime Opsyonal String Magiging available kapag: type = event
event_second_alert_datetime Opsyonal String Magiging available kapag: type = event
crypto
crypto_coin Opsyonal String Magiging available kapag: type = crypto
crypto_address Opsyonal String Magiging available kapag: type = crypto
crypto_amount Opsyonal String Magiging available kapag: type = crypto
vcard
vcard_first_name Opsyonal String Magiging available kapag: type = vcard
vcard_last_name Opsyonal String Magiging available kapag: type = vcard
vcard_company Opsyonal String Magiging available kapag: type = vcard
vcard_phone_number_label[index] Opsyonal String Magiging available kapag: type = vcard
vcard_phone_number_value[index] Opsyonal String Magiging available kapag: type = vcard
vcard_email Opsyonal String Magiging available kapag: type = vcard
vcard_url Opsyonal String Magiging available kapag: type = vcard
vcard_job_title Opsyonal String Magiging available kapag: type = vcard
vcard_birthday Opsyonal String Magiging available kapag: type = vcard
vcard_street Opsyonal String Magiging available kapag: type = vcard
vcard_city Opsyonal String Magiging available kapag: type = vcard
vcard_zip Opsyonal String Magiging available kapag: type = vcard
vcard_region Opsyonal String Magiging available kapag: type = vcard
vcard_country Opsyonal String Magiging available kapag: type = vcard
vcard_note Opsyonal String Magiging available kapag: type = vcard
vcard_social_label[index] Opsyonal String Magiging available kapag: type = vcard
vcard_social_value[index] Opsyonal String Magiging available kapag: type = vcard
paypal
paypal_type Opsyonal String Pinapayagang mga halaga: buy_now, add_to_cart, donation (type=paypal)
paypal_email Opsyonal String Magiging available kapag: type = paypal
paypal_title Opsyonal String Magiging available kapag: type = paypal
paypal_currency Opsyonal String Magiging available kapag: type = paypal
paypal_price Opsyonal Pabalik-balik Magiging available kapag: type = paypal
paypal_thank_you_url Opsyonal String Magiging available kapag: type = paypal
paypal_cancel_url Opsyonal String Magiging available kapag: type = paypal
upi
upi_payee_id Opsyonal String Magiging available kapag: type = upi
upi_payee_name Opsyonal String Magiging available kapag: type = upi
upi_currency Opsyonal String Magiging available kapag: type = upi
upi_amount Opsyonal Pabalik-balik Magiging available kapag: type = upi
upi_transaction_id Opsyonal String Magiging available kapag: type = upi
upi_transaction_note Opsyonal String Magiging available kapag: type = upi
upi_transaction_reference Opsyonal String Magiging available kapag: type = upi
upi_thank_you_url Opsyonal String Magiging available kapag: type = upi
epc
epc_iban Opsyonal String Magiging available kapag: type = epc
epc_payee_name Opsyonal String Magiging available kapag: type = epc
epc_currency Opsyonal String Magiging available kapag: type = epc
epc_amount Opsyonal Pabalik-balik Magiging available kapag: type = epc
epc_bic Opsyonal String Magiging available kapag: type = epc
epc_remittance_reference Opsyonal String Magiging available kapag: type = epc
epc_remittance_text Opsyonal String Magiging available kapag: type = epc
information Opsyonal String Magiging available kapag: type = epc
pix
pix_payee_key Opsyonal String Magiging available kapag: type = pix
pix_payee_name Opsyonal String Magiging available kapag: type = pix
pix_currency Opsyonal String Magiging available kapag: type = pix
pix_amount Opsyonal Pabalik-balik Magiging available kapag: type = pix
pix_city Opsyonal String Magiging available kapag: type = pix
pix_transaction_id Opsyonal String Magiging available kapag: type = pix
pix_description Opsyonal String Magiging available kapag: type = pix
Mga Parameter Mga Detalye Paglalarawan
curl --request POST \
--url 'https://tistos.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://tistos.com/api/qr-codes/{qr_code_id}
Mga Parameter Mga Detalye Paglalarawan
project_id Opsyonal String -
name Opsyonal String -
type Opsyonal String Pinapayagang mga halaga: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
style Opsyonal String Pinapayagang mga halaga: square, dot, round, diamond, heart
inner_eye_style Opsyonal String Pinapayagang mga halaga: square, dot, rounded, diamond, flower, leaf
outer_eye_style Opsyonal String Pinapayagang mga halaga: square, circle, rounded, flower, leaf
foreground_type Opsyonal String Pinapayagang mga halaga: color, gradient
foreground_color Opsyonal String Magiging available kapag: foreground_type = color
foreground_gradient_style Opsyonal String Pinapayagang mga halaga: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one Opsyonal String Magiging available kapag: foreground_type = gradient
foreground_gradient_two Opsyonal String Magiging available kapag: foreground_type = gradient
background_color Opsyonal String
background_color_transparency Opsyonal Buong numero 0 - 100
custom_eyes_color Opsyonal Boolean
eyes_inner_color Opsyonal String Magiging available kapag: custom_eyes_color = 1
eyes_outer_color Opsyonal String Magiging available kapag: custom_eyes_color = 1
qr_code_logo Opsyonal File -
qr_code_logo_size Opsyonal Buong numero 5-35
qr_code_background Opsyonal File -
qr_code_background_transparency Opsyonal Buong numero 0-100
qr_code_foreground Opsyonal File -
qr_code_foreground_transparency Opsyonal Buong numero 0-100
frame Opsyonal String Pinapayagang mga halaga: 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 Opsyonal String
frame_text_size Opsyonal Buong numero -5 -> 5
frame_text_font Opsyonal String Pinapayagang mga halaga: 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 Opsyonal Boolean
frame_color Opsyonal String Magiging available kapag: frame_custom_colors = 1
frame_text_color Opsyonal String Magiging available kapag: frame_custom_colors = 1
size Opsyonal Buong numero 50-2000
margin Opsyonal Buong numero 0-25
ecc Opsyonal String Pinapayagang mga halaga: L, M, Q, H
text Opsyonal String Magiging available kapag: type = text
url Opsyonal String Magiging available kapag: type = url
phone Opsyonal String Magiging available kapag: type = phone
sms Opsyonal String Magiging available kapag: type = sms
sms_body Opsyonal String Magiging available kapag: type = sms
email Opsyonal String Magiging available kapag: type = email
whatsapp Opsyonal String Magiging available kapag: type = whatsapp
whatsapp_body Opsyonal String Magiging available kapag: type = whatsapp
facetime Opsyonal String Magiging available kapag: type = facetime
location
location_latitude Opsyonal Pabalik-balik Magiging available kapag: type = location
location_longitude Opsyonal Pabalik-balik Magiging available kapag: type = location
wifi
wifi_ssid Opsyonal String Magiging available kapag: type = wifi
wifi_encryption Opsyonal String Pinapayagang mga halaga: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password Opsyonal String Magiging available kapag: type = wifi
wifi_is_hidden Opsyonal Boolean Magiging available kapag: type = wifi
event Opsyonal String Magiging available kapag: type = event
event_location Opsyonal String Magiging available kapag: type = event
event_url Opsyonal String Magiging available kapag: type = event
event_note Opsyonal String Magiging available kapag: type = event
event_timezone Opsyonal String Magiging available kapag: type = event
event_start_datetime Opsyonal String Magiging available kapag: type = event
event_end_datetime Opsyonal String Magiging available kapag: type = event
event_first_alert_datetime Opsyonal String Magiging available kapag: type = event
event_second_alert_datetime Opsyonal String Magiging available kapag: type = event
crypto
crypto_coin Opsyonal String Magiging available kapag: type = crypto
crypto_address Opsyonal String Magiging available kapag: type = crypto
crypto_amount Opsyonal String Magiging available kapag: type = crypto
vcard
vcard_first_name Opsyonal String Magiging available kapag: type = vcard
vcard_last_name Opsyonal String Magiging available kapag: type = vcard
vcard_company Opsyonal String Magiging available kapag: type = vcard
vcard_phone_number_label[index] Opsyonal String Magiging available kapag: type = vcard
vcard_phone_number_value[index] Opsyonal String Magiging available kapag: type = vcard
vcard_email Opsyonal String Magiging available kapag: type = vcard
vcard_url Opsyonal String Magiging available kapag: type = vcard
vcard_job_title Opsyonal String Magiging available kapag: type = vcard
vcard_birthday Opsyonal String Magiging available kapag: type = vcard
vcard_street Opsyonal String Magiging available kapag: type = vcard
vcard_city Opsyonal String Magiging available kapag: type = vcard
vcard_zip Opsyonal String Magiging available kapag: type = vcard
vcard_region Opsyonal String Magiging available kapag: type = vcard
vcard_country Opsyonal String Magiging available kapag: type = vcard
vcard_note Opsyonal String Magiging available kapag: type = vcard
vcard_social_label[index] Opsyonal String Magiging available kapag: type = vcard
vcard_social_value[index] Opsyonal String Magiging available kapag: type = vcard
paypal
paypal_type Opsyonal String Pinapayagang mga halaga: buy_now, add_to_cart, donation (type=paypal)
paypal_email Opsyonal String Magiging available kapag: type = paypal
paypal_title Opsyonal String Magiging available kapag: type = paypal
paypal_currency Opsyonal String Magiging available kapag: type = paypal
paypal_price Opsyonal Pabalik-balik Magiging available kapag: type = paypal
paypal_thank_you_url Opsyonal String Magiging available kapag: type = paypal
paypal_cancel_url Opsyonal String Magiging available kapag: type = paypal
upi
upi_payee_id Opsyonal String Magiging available kapag: type = upi
upi_payee_name Opsyonal String Magiging available kapag: type = upi
upi_currency Opsyonal String Magiging available kapag: type = upi
upi_amount Opsyonal Pabalik-balik Magiging available kapag: type = upi
upi_transaction_id Opsyonal String Magiging available kapag: type = upi
upi_transaction_note Opsyonal String Magiging available kapag: type = upi
upi_transaction_reference Opsyonal String Magiging available kapag: type = upi
upi_thank_you_url Opsyonal String Magiging available kapag: type = upi
epc
epc_iban Opsyonal String Magiging available kapag: type = epc
epc_payee_name Opsyonal String Magiging available kapag: type = epc
epc_currency Opsyonal String Magiging available kapag: type = epc
epc_amount Opsyonal Pabalik-balik Magiging available kapag: type = epc
epc_bic Opsyonal String Magiging available kapag: type = epc
epc_remittance_reference Opsyonal String Magiging available kapag: type = epc
epc_remittance_text Opsyonal String Magiging available kapag: type = epc
information Opsyonal String Magiging available kapag: type = epc
pix
pix_payee_key Opsyonal String Magiging available kapag: type = pix
pix_payee_name Opsyonal String Magiging available kapag: type = pix
pix_currency Opsyonal String Magiging available kapag: type = pix
pix_amount Opsyonal Pabalik-balik Magiging available kapag: type = pix
pix_city Opsyonal String Magiging available kapag: type = pix
pix_transaction_id Opsyonal String Magiging available kapag: type = pix
pix_description Opsyonal String Magiging available kapag: type = pix
curl --request POST \
--url 'https://tistos.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://tistos.com/api/qr-codes/{qr_code_id}
curl --request DELETE \
--url 'https://tistos.com/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \