QR kódy

GET https://tistos.com/api/qr-codes/
curl --request GET \
--url 'https://tistos.com/api/qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
Parametre Podrobnosti Popis
page Voliteľné Celé číslo Číslo stránky, z ktorej chcete výsledky. Predvolene na 1.
results_per_page Voliteľné Celé číslo Koľko výsledkov chcete na stránku. Povolené hodnoty sú: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Predvolené je 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": null,
            "datetime": "2025-10-16 10:57:55",
        },
    ],
    "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": null,
        "datetime": "2025-10-16 10:57:55",
    }
}
POST https://tistos.com/api/qr-codes
Parametre Podrobnosti Popis
project_id Voliteľné Celé číslo -
name Povinné Reťazec -
type Povinné Reťazec Povolené hodnoty: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
is_bulk Voliteľné Logická hodnota Dostupné, keď: type = text
style Voliteľné Reťazec
inner_eye_style Voliteľné Reťazec Povolené hodnoty: square, dot, rounded, diamond, flower, leaf
outer_eye_style Voliteľné Reťazec Povolené hodnoty: square, circle, rounded, flower, leaf
foreground_type Voliteľné Reťazec Povolené hodnoty: color, gradient
foreground_color Voliteľné Reťazec Dostupné, keď: foreground_type = color
foreground_gradient_style Voliteľné Reťazec Povolené hodnoty: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one Voliteľné Reťazec Dostupné, keď: foreground_type = gradient
foreground_gradient_two Voliteľné Reťazec Dostupné, keď: foreground_type = gradient
background_color Voliteľné Reťazec
background_color_transparency Voliteľné Celé číslo
custom_eyes_color Voliteľné Logická hodnota
eyes_inner_color Voliteľné Reťazec Dostupné, keď: custom_eyes_color = 1
eyes_outer_color Voliteľné Reťazec Dostupné, keď: custom_eyes_color = 1
qr_code_logo Voliteľné Súbor -
qr_code_logo_size Voliteľné Celé číslo 5-35
qr_code_background Voliteľné Súbor -
qr_code_background_transparency Voliteľné Celé číslo 0-100
qr_code_foreground Voliteľné Súbor -
qr_code_foreground_transparency Voliteľné Celé číslo 0-100
frame Voliteľné Reťazec Povolené hodnoty: circle_simple_bottom_text, round_simple_bottom_text, straight_simple_bottom_text, round_card_bottom_text, straight_bottom_text, straight_top_text, 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, straight_semi_bordered_bottom_text, round_semi_bordered_bottom_text, hand_arrows_bottom_text, broken_ticket_bottom_text, smooth_ribbon_bottom_text
frame_text Voliteľné Reťazec
frame_text_size Voliteľné Celé číslo -5 - 5
frame_text_font Voliteľné Reťazec Povolené hodnoty: 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 Voliteľné Logická hodnota
frame_color Voliteľné Reťazec Dostupné, keď: frame_custom_colors = 1
frame_text_color Voliteľné Reťazec Dostupné, keď: frame_custom_colors = 1
size Voliteľné Celé číslo 50-2000
margin Voliteľné Celé číslo 0-25
ecc Voliteľné Reťazec Povolené hodnoty: L, M, Q, H
text Voliteľné Reťazec Dostupné, keď: type = text
url Voliteľné Reťazec Dostupné, keď: type = url
phone Voliteľné Reťazec Dostupné, keď: type = phone
sms Voliteľné Reťazec Dostupné, keď: type = sms
sms_body Voliteľné Reťazec Dostupné, keď: type = sms
email Voliteľné Reťazec Dostupné, keď: type = email
whatsapp Voliteľné Reťazec Dostupné, keď: type = whatsapp
whatsapp_body Voliteľné Reťazec Dostupné, keď: type = whatsapp
facetime Voliteľné Reťazec Dostupné, keď: type = facetime
location
location_latitude Voliteľné Float Dostupné, keď: type = location
location_longitude Voliteľné Float Dostupné, keď: type = location
wifi
wifi_ssid Voliteľné Reťazec Dostupné, keď: type = wifi
wifi_encryption Voliteľné Reťazec Povolené hodnoty: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password Voliteľné Reťazec Dostupné, keď: type = wifi
wifi_is_hidden Voliteľné Logická hodnota Dostupné, keď: type = wifi
event Voliteľné Reťazec Dostupné, keď: type = event
event_location Voliteľné Reťazec Dostupné, keď: type = event
event_url Voliteľné Reťazec Dostupné, keď: type = event
event_note Voliteľné Reťazec Dostupné, keď: type = event
event_timezone Voliteľné Reťazec Dostupné, keď: type = event
event_start_datetime Voliteľné Reťazec Dostupné, keď: type = event
event_end_datetime Voliteľné Reťazec Dostupné, keď: type = event
event_first_alert_datetime Voliteľné Reťazec Dostupné, keď: type = event
event_second_alert_datetime Voliteľné Reťazec Dostupné, keď: type = event
crypto
crypto_coin Voliteľné Reťazec Dostupné, keď: type = crypto
crypto_address Voliteľné Reťazec Dostupné, keď: type = crypto
crypto_amount Voliteľné Reťazec Dostupné, keď: type = crypto
vcard
vcard_first_name Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_last_name Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_company Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_phone_number_label[index] Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_phone_number_value[index] Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_email Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_url Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_job_title Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_birthday Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_street Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_city Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_zip Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_region Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_country Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_note Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_social_label[index] Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_social_value[index] Voliteľné Reťazec Dostupné, keď: type = vcard
paypal
paypal_type Voliteľné Reťazec Povolené hodnoty: buy_now, add_to_cart, donation (type=paypal)
paypal_email Voliteľné Reťazec Dostupné, keď: type = paypal
paypal_title Voliteľné Reťazec Dostupné, keď: type = paypal
paypal_currency Voliteľné Reťazec Dostupné, keď: type = paypal
paypal_price Voliteľné Float Dostupné, keď: type = paypal
paypal_thank_you_url Voliteľné Reťazec Dostupné, keď: type = paypal
paypal_cancel_url Voliteľné Reťazec Dostupné, keď: type = paypal
upi
upi_payee_id Voliteľné Reťazec Dostupné, keď: type = upi
upi_payee_name Voliteľné Reťazec Dostupné, keď: type = upi
upi_currency Voliteľné Reťazec Dostupné, keď: type = upi
upi_amount Voliteľné Float Dostupné, keď: type = upi
upi_transaction_id Voliteľné Reťazec Dostupné, keď: type = upi
upi_transaction_note Voliteľné Reťazec Dostupné, keď: type = upi
upi_transaction_reference Voliteľné Reťazec Dostupné, keď: type = upi
upi_thank_you_url Voliteľné Reťazec Dostupné, keď: type = upi
epc
epc_iban Voliteľné Reťazec Dostupné, keď: type = epc
epc_payee_name Voliteľné Reťazec Dostupné, keď: type = epc
epc_currency Voliteľné Reťazec Dostupné, keď: type = epc
epc_amount Voliteľné Float Dostupné, keď: type = epc
epc_bic Voliteľné Reťazec Dostupné, keď: type = epc
epc_remittance_reference Voliteľné Reťazec Dostupné, keď: type = epc
epc_remittance_text Voliteľné Reťazec Dostupné, keď: type = epc
information Voliteľné Reťazec Dostupné, keď: type = epc
pix
pix_payee_key Voliteľné Reťazec Dostupné, keď: type = pix
pix_payee_name Voliteľné Reťazec Dostupné, keď: type = pix
pix_currency Voliteľné Reťazec Dostupné, keď: type = pix
pix_amount Voliteľné Float Dostupné, keď: type = pix
pix_city Voliteľné Reťazec Dostupné, keď: type = pix
pix_transaction_id Voliteľné Reťazec Dostupné, keď: type = pix
pix_description Voliteľné Reťazec Dostupné, keď: type = pix
Parametre Podrobnosti Popis
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}
Parametre Podrobnosti Popis
project_id Voliteľné Reťazec -
name Voliteľné Reťazec -
type Voliteľné Reťazec Povolené hodnoty: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
style Voliteľné Reťazec Povolené hodnoty: square, dot, round, rounded, elastic_square, heart, diamond, star, triangle, hexagon, spaced_square, octagon, cross_x, curvy_x, rounded_cross, ninja, sun, shine, bold_plus, teardrop, corner_cut, randomized_square, bold_x
inner_eye_style Voliteľné Reťazec Povolené hodnoty: square, dot, rounded, diamond, flower, leaf
outer_eye_style Voliteľné Reťazec Povolené hodnoty: square, circle, rounded, flower, leaf
foreground_type Voliteľné Reťazec Povolené hodnoty: color, gradient
foreground_color Voliteľné Reťazec Dostupné, keď: foreground_type = color
foreground_gradient_style Voliteľné Reťazec Povolené hodnoty: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one Voliteľné Reťazec Dostupné, keď: foreground_type = gradient
foreground_gradient_two Voliteľné Reťazec Dostupné, keď: foreground_type = gradient
background_color Voliteľné Reťazec
background_color_transparency Voliteľné Celé číslo 0 - 100
custom_eyes_color Voliteľné Logická hodnota
eyes_inner_color Voliteľné Reťazec Dostupné, keď: custom_eyes_color = 1
eyes_outer_color Voliteľné Reťazec Dostupné, keď: custom_eyes_color = 1
qr_code_logo Voliteľné Súbor -
qr_code_logo_size Voliteľné Celé číslo 5-35
qr_code_background Voliteľné Súbor -
qr_code_background_transparency Voliteľné Celé číslo 0-100
qr_code_foreground Voliteľné Súbor -
qr_code_foreground_transparency Voliteľné Celé číslo 0-100
frame Voliteľné Reťazec Povolené hodnoty: circle_simple_bottom_text, round_simple_bottom_text, straight_simple_bottom_text, round_card_bottom_text, straight_bottom_text, straight_top_text, 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, straight_semi_bordered_bottom_text, round_semi_bordered_bottom_text, hand_arrows_bottom_text, broken_ticket_bottom_text, smooth_ribbon_bottom_text
frame_text Voliteľné Reťazec
frame_text_size Voliteľné Celé číslo -5 -> 5
frame_text_font Voliteľné Reťazec Povolené hodnoty: 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 Voliteľné Logická hodnota
frame_color Voliteľné Reťazec Dostupné, keď: frame_custom_colors = 1
frame_text_color Voliteľné Reťazec Dostupné, keď: frame_custom_colors = 1
size Voliteľné Celé číslo 50-2000
margin Voliteľné Celé číslo 0-25
ecc Voliteľné Reťazec Povolené hodnoty: L, M, Q, H
text Voliteľné Reťazec Dostupné, keď: type = text
url Voliteľné Reťazec Dostupné, keď: type = url
phone Voliteľné Reťazec Dostupné, keď: type = phone
sms Voliteľné Reťazec Dostupné, keď: type = sms
sms_body Voliteľné Reťazec Dostupné, keď: type = sms
email Voliteľné Reťazec Dostupné, keď: type = email
whatsapp Voliteľné Reťazec Dostupné, keď: type = whatsapp
whatsapp_body Voliteľné Reťazec Dostupné, keď: type = whatsapp
facetime Voliteľné Reťazec Dostupné, keď: type = facetime
location
location_latitude Voliteľné Float Dostupné, keď: type = location
location_longitude Voliteľné Float Dostupné, keď: type = location
wifi
wifi_ssid Voliteľné Reťazec Dostupné, keď: type = wifi
wifi_encryption Voliteľné Reťazec Povolené hodnoty: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password Voliteľné Reťazec Dostupné, keď: type = wifi
wifi_is_hidden Voliteľné Logická hodnota Dostupné, keď: type = wifi
event Voliteľné Reťazec Dostupné, keď: type = event
event_location Voliteľné Reťazec Dostupné, keď: type = event
event_url Voliteľné Reťazec Dostupné, keď: type = event
event_note Voliteľné Reťazec Dostupné, keď: type = event
event_timezone Voliteľné Reťazec Dostupné, keď: type = event
event_start_datetime Voliteľné Reťazec Dostupné, keď: type = event
event_end_datetime Voliteľné Reťazec Dostupné, keď: type = event
event_first_alert_datetime Voliteľné Reťazec Dostupné, keď: type = event
event_second_alert_datetime Voliteľné Reťazec Dostupné, keď: type = event
crypto
crypto_coin Voliteľné Reťazec Dostupné, keď: type = crypto
crypto_address Voliteľné Reťazec Dostupné, keď: type = crypto
crypto_amount Voliteľné Reťazec Dostupné, keď: type = crypto
vcard
vcard_first_name Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_last_name Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_company Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_phone_number_label[index] Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_phone_number_value[index] Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_email Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_url Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_job_title Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_birthday Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_street Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_city Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_zip Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_region Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_country Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_note Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_social_label[index] Voliteľné Reťazec Dostupné, keď: type = vcard
vcard_social_value[index] Voliteľné Reťazec Dostupné, keď: type = vcard
paypal
paypal_type Voliteľné Reťazec Povolené hodnoty: buy_now, add_to_cart, donation (type=paypal)
paypal_email Voliteľné Reťazec Dostupné, keď: type = paypal
paypal_title Voliteľné Reťazec Dostupné, keď: type = paypal
paypal_currency Voliteľné Reťazec Dostupné, keď: type = paypal
paypal_price Voliteľné Float Dostupné, keď: type = paypal
paypal_thank_you_url Voliteľné Reťazec Dostupné, keď: type = paypal
paypal_cancel_url Voliteľné Reťazec Dostupné, keď: type = paypal
upi
upi_payee_id Voliteľné Reťazec Dostupné, keď: type = upi
upi_payee_name Voliteľné Reťazec Dostupné, keď: type = upi
upi_currency Voliteľné Reťazec Dostupné, keď: type = upi
upi_amount Voliteľné Float Dostupné, keď: type = upi
upi_transaction_id Voliteľné Reťazec Dostupné, keď: type = upi
upi_transaction_note Voliteľné Reťazec Dostupné, keď: type = upi
upi_transaction_reference Voliteľné Reťazec Dostupné, keď: type = upi
upi_thank_you_url Voliteľné Reťazec Dostupné, keď: type = upi
epc
epc_iban Voliteľné Reťazec Dostupné, keď: type = epc
epc_payee_name Voliteľné Reťazec Dostupné, keď: type = epc
epc_currency Voliteľné Reťazec Dostupné, keď: type = epc
epc_amount Voliteľné Float Dostupné, keď: type = epc
epc_bic Voliteľné Reťazec Dostupné, keď: type = epc
epc_remittance_reference Voliteľné Reťazec Dostupné, keď: type = epc
epc_remittance_text Voliteľné Reťazec Dostupné, keď: type = epc
information Voliteľné Reťazec Dostupné, keď: type = epc
pix
pix_payee_key Voliteľné Reťazec Dostupné, keď: type = pix
pix_payee_name Voliteľné Reťazec Dostupné, keď: type = pix
pix_currency Voliteľné Reťazec Dostupné, keď: type = pix
pix_amount Voliteľné Float Dostupné, keď: type = pix
pix_city Voliteľné Reťazec Dostupné, keď: type = pix
pix_transaction_id Voliteľné Reťazec Dostupné, keď: type = pix
pix_description Voliteľné Reťazec Dostupné, keď: 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}' \