QR-koder

GET https://tistos.com/api/qr-codes/
curl --request GET \
--url 'https://tistos.com/api/qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
Parametrar Detaljer Beskrivning
page Valfritt Heltal Sidanummeret som du vill ha resultat från. Standardinställning är 1.
results_per_page Valfritt Heltal Hur många resultat vill du 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://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 11:00:44",
        },
    ],
    "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 11:00:44",
    }
}
POST https://tistos.com/api/qr-codes
Parametrar Detaljer Beskrivning
project_id Valfritt Heltal -
name Obligatorisk Sträng -
type Obligatorisk Sträng Tillåtna värden: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
is_bulk Valfritt Boolean Tillgänglig när: type = text
style Valfritt Sträng
inner_eye_style Valfritt Sträng Tillåtna värden: square, dot, rounded, diamond, flower, leaf
outer_eye_style Valfritt Sträng Tillåtna värden: square, circle, rounded, flower, leaf
foreground_type Valfritt Sträng Tillåtna värden: color, gradient
foreground_color Valfritt Sträng Tillgänglig när: foreground_type = color
foreground_gradient_style Valfritt Sträng Tillåtna värden: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one Valfritt Sträng Tillgänglig när: foreground_type = gradient
foreground_gradient_two Valfritt Sträng Tillgänglig när: foreground_type = gradient
background_color Valfritt Sträng
background_color_transparency Valfritt Heltal
custom_eyes_color Valfritt Boolean
eyes_inner_color Valfritt Sträng Tillgänglig när: custom_eyes_color = 1
eyes_outer_color Valfritt Sträng Tillgänglig när: custom_eyes_color = 1
qr_code_logo Valfritt Fil -
qr_code_logo_size Valfritt Heltal 5-35
qr_code_background Valfritt Fil -
qr_code_background_transparency Valfritt Heltal 0-100
qr_code_foreground Valfritt Fil -
qr_code_foreground_transparency Valfritt Heltal 0-100
frame Valfritt Sträng Tillåtna värden: 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 Valfritt Sträng
frame_text_size Valfritt Heltal -5 - 5
frame_text_font Valfritt 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 Valfritt Boolean
frame_color Valfritt Sträng Tillgänglig när: frame_custom_colors = 1
frame_text_color Valfritt Sträng Tillgänglig när: frame_custom_colors = 1
size Valfritt Heltal 50-2000
margin Valfritt Heltal 0-25
ecc Valfritt Sträng Tillåtna värden: L, M, Q, H
text Valfritt Sträng Tillgänglig när: type = text
url Valfritt Sträng Tillgänglig när: type = url
phone Valfritt Sträng Tillgänglig när: type = phone
sms Valfritt Sträng Tillgänglig när: type = sms
sms_body Valfritt Sträng Tillgänglig när: type = sms
email Valfritt Sträng Tillgänglig när: type = email
whatsapp Valfritt Sträng Tillgänglig när: type = whatsapp
whatsapp_body Valfritt Sträng Tillgänglig när: type = whatsapp
facetime Valfritt Sträng Tillgänglig när: type = facetime
location
location_latitude Valfritt Flyta Tillgänglig när: type = location
location_longitude Valfritt Flyta Tillgänglig när: type = location
wifi
wifi_ssid Valfritt Sträng Tillgänglig när: type = wifi
wifi_encryption Valfritt Sträng Tillåtna värden: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password Valfritt Sträng Tillgänglig när: type = wifi
wifi_is_hidden Valfritt Boolean Tillgänglig när: type = wifi
event Valfritt Sträng Tillgänglig när: type = event
event_location Valfritt Sträng Tillgänglig när: type = event
event_url Valfritt Sträng Tillgänglig när: type = event
event_note Valfritt Sträng Tillgänglig när: type = event
event_timezone Valfritt Sträng Tillgänglig när: type = event
event_start_datetime Valfritt Sträng Tillgänglig när: type = event
event_end_datetime Valfritt Sträng Tillgänglig när: type = event
event_first_alert_datetime Valfritt Sträng Tillgänglig när: type = event
event_second_alert_datetime Valfritt Sträng Tillgänglig när: type = event
crypto
crypto_coin Valfritt Sträng Tillgänglig när: type = crypto
crypto_address Valfritt Sträng Tillgänglig när: type = crypto
crypto_amount Valfritt Sträng Tillgänglig när: type = crypto
vcard
vcard_first_name Valfritt Sträng Tillgänglig när: type = vcard
vcard_last_name Valfritt Sträng Tillgänglig när: type = vcard
vcard_company Valfritt Sträng Tillgänglig när: type = vcard
vcard_phone_number_label[index] Valfritt Sträng Tillgänglig när: type = vcard
vcard_phone_number_value[index] Valfritt Sträng Tillgänglig när: type = vcard
vcard_email Valfritt Sträng Tillgänglig när: type = vcard
vcard_url Valfritt Sträng Tillgänglig när: type = vcard
vcard_job_title Valfritt Sträng Tillgänglig när: type = vcard
vcard_birthday Valfritt Sträng Tillgänglig när: type = vcard
vcard_street Valfritt Sträng Tillgänglig när: type = vcard
vcard_city Valfritt Sträng Tillgänglig när: type = vcard
vcard_zip Valfritt Sträng Tillgänglig när: type = vcard
vcard_region Valfritt Sträng Tillgänglig när: type = vcard
vcard_country Valfritt Sträng Tillgänglig när: type = vcard
vcard_note Valfritt Sträng Tillgänglig när: type = vcard
vcard_social_label[index] Valfritt Sträng Tillgänglig när: type = vcard
vcard_social_value[index] Valfritt Sträng Tillgänglig när: type = vcard
paypal
paypal_type Valfritt Sträng Tillåtna värden: buy_now, add_to_cart, donation (type=paypal)
paypal_email Valfritt Sträng Tillgänglig när: type = paypal
paypal_title Valfritt Sträng Tillgänglig när: type = paypal
paypal_currency Valfritt Sträng Tillgänglig när: type = paypal
paypal_price Valfritt Flyta Tillgänglig när: type = paypal
paypal_thank_you_url Valfritt Sträng Tillgänglig när: type = paypal
paypal_cancel_url Valfritt Sträng Tillgänglig när: type = paypal
upi
upi_payee_id Valfritt Sträng Tillgänglig när: type = upi
upi_payee_name Valfritt Sträng Tillgänglig när: type = upi
upi_currency Valfritt Sträng Tillgänglig när: type = upi
upi_amount Valfritt Flyta Tillgänglig när: type = upi
upi_transaction_id Valfritt Sträng Tillgänglig när: type = upi
upi_transaction_note Valfritt Sträng Tillgänglig när: type = upi
upi_transaction_reference Valfritt Sträng Tillgänglig när: type = upi
upi_thank_you_url Valfritt Sträng Tillgänglig när: type = upi
epc
epc_iban Valfritt Sträng Tillgänglig när: type = epc
epc_payee_name Valfritt Sträng Tillgänglig när: type = epc
epc_currency Valfritt Sträng Tillgänglig när: type = epc
epc_amount Valfritt Flyta Tillgänglig när: type = epc
epc_bic Valfritt Sträng Tillgänglig när: type = epc
epc_remittance_reference Valfritt Sträng Tillgänglig när: type = epc
epc_remittance_text Valfritt Sträng Tillgänglig när: type = epc
information Valfritt Sträng Tillgänglig när: type = epc
pix
pix_payee_key Valfritt Sträng Tillgänglig när: type = pix
pix_payee_name Valfritt Sträng Tillgänglig när: type = pix
pix_currency Valfritt Sträng Tillgänglig när: type = pix
pix_amount Valfritt Flyta Tillgänglig när: type = pix
pix_city Valfritt Sträng Tillgänglig när: type = pix
pix_transaction_id Valfritt Sträng Tillgänglig när: type = pix
pix_description Valfritt Sträng Tillgänglig när: type = pix
Parametrar Detaljer Beskrivning
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}
Parametrar Detaljer Beskrivning
project_id Valfritt Sträng -
name Valfritt Sträng -
type Valfritt Sträng Tillåtna värden: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
style Valfritt Sträng Tillåtna värden: 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 Valfritt Sträng Tillåtna värden: square, dot, rounded, diamond, flower, leaf
outer_eye_style Valfritt Sträng Tillåtna värden: square, circle, rounded, flower, leaf
foreground_type Valfritt Sträng Tillåtna värden: color, gradient
foreground_color Valfritt Sträng Tillgänglig när: foreground_type = color
foreground_gradient_style Valfritt Sträng Tillåtna värden: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one Valfritt Sträng Tillgänglig när: foreground_type = gradient
foreground_gradient_two Valfritt Sträng Tillgänglig när: foreground_type = gradient
background_color Valfritt Sträng
background_color_transparency Valfritt Heltal 0 - 100
custom_eyes_color Valfritt Boolean
eyes_inner_color Valfritt Sträng Tillgänglig när: custom_eyes_color = 1
eyes_outer_color Valfritt Sträng Tillgänglig när: custom_eyes_color = 1
qr_code_logo Valfritt Fil -
qr_code_logo_size Valfritt Heltal 5-35
qr_code_background Valfritt Fil -
qr_code_background_transparency Valfritt Heltal 0-100
qr_code_foreground Valfritt Fil -
qr_code_foreground_transparency Valfritt Heltal 0-100
frame Valfritt Sträng Tillåtna värden: 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 Valfritt Sträng
frame_text_size Valfritt Heltal -5 -> 5
frame_text_font Valfritt 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 Valfritt Boolean
frame_color Valfritt Sträng Tillgänglig när: frame_custom_colors = 1
frame_text_color Valfritt Sträng Tillgänglig när: frame_custom_colors = 1
size Valfritt Heltal 50-2000
margin Valfritt Heltal 0-25
ecc Valfritt Sträng Tillåtna värden: L, M, Q, H
text Valfritt Sträng Tillgänglig när: type = text
url Valfritt Sträng Tillgänglig när: type = url
phone Valfritt Sträng Tillgänglig när: type = phone
sms Valfritt Sträng Tillgänglig när: type = sms
sms_body Valfritt Sträng Tillgänglig när: type = sms
email Valfritt Sträng Tillgänglig när: type = email
whatsapp Valfritt Sträng Tillgänglig när: type = whatsapp
whatsapp_body Valfritt Sträng Tillgänglig när: type = whatsapp
facetime Valfritt Sträng Tillgänglig när: type = facetime
location
location_latitude Valfritt Flyta Tillgänglig när: type = location
location_longitude Valfritt Flyta Tillgänglig när: type = location
wifi
wifi_ssid Valfritt Sträng Tillgänglig när: type = wifi
wifi_encryption Valfritt Sträng Tillåtna värden: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password Valfritt Sträng Tillgänglig när: type = wifi
wifi_is_hidden Valfritt Boolean Tillgänglig när: type = wifi
event Valfritt Sträng Tillgänglig när: type = event
event_location Valfritt Sträng Tillgänglig när: type = event
event_url Valfritt Sträng Tillgänglig när: type = event
event_note Valfritt Sträng Tillgänglig när: type = event
event_timezone Valfritt Sträng Tillgänglig när: type = event
event_start_datetime Valfritt Sträng Tillgänglig när: type = event
event_end_datetime Valfritt Sträng Tillgänglig när: type = event
event_first_alert_datetime Valfritt Sträng Tillgänglig när: type = event
event_second_alert_datetime Valfritt Sträng Tillgänglig när: type = event
crypto
crypto_coin Valfritt Sträng Tillgänglig när: type = crypto
crypto_address Valfritt Sträng Tillgänglig när: type = crypto
crypto_amount Valfritt Sträng Tillgänglig när: type = crypto
vcard
vcard_first_name Valfritt Sträng Tillgänglig när: type = vcard
vcard_last_name Valfritt Sträng Tillgänglig när: type = vcard
vcard_company Valfritt Sträng Tillgänglig när: type = vcard
vcard_phone_number_label[index] Valfritt Sträng Tillgänglig när: type = vcard
vcard_phone_number_value[index] Valfritt Sträng Tillgänglig när: type = vcard
vcard_email Valfritt Sträng Tillgänglig när: type = vcard
vcard_url Valfritt Sträng Tillgänglig när: type = vcard
vcard_job_title Valfritt Sträng Tillgänglig när: type = vcard
vcard_birthday Valfritt Sträng Tillgänglig när: type = vcard
vcard_street Valfritt Sträng Tillgänglig när: type = vcard
vcard_city Valfritt Sträng Tillgänglig när: type = vcard
vcard_zip Valfritt Sträng Tillgänglig när: type = vcard
vcard_region Valfritt Sträng Tillgänglig när: type = vcard
vcard_country Valfritt Sträng Tillgänglig när: type = vcard
vcard_note Valfritt Sträng Tillgänglig när: type = vcard
vcard_social_label[index] Valfritt Sträng Tillgänglig när: type = vcard
vcard_social_value[index] Valfritt Sträng Tillgänglig när: type = vcard
paypal
paypal_type Valfritt Sträng Tillåtna värden: buy_now, add_to_cart, donation (type=paypal)
paypal_email Valfritt Sträng Tillgänglig när: type = paypal
paypal_title Valfritt Sträng Tillgänglig när: type = paypal
paypal_currency Valfritt Sträng Tillgänglig när: type = paypal
paypal_price Valfritt Flyta Tillgänglig när: type = paypal
paypal_thank_you_url Valfritt Sträng Tillgänglig när: type = paypal
paypal_cancel_url Valfritt Sträng Tillgänglig när: type = paypal
upi
upi_payee_id Valfritt Sträng Tillgänglig när: type = upi
upi_payee_name Valfritt Sträng Tillgänglig när: type = upi
upi_currency Valfritt Sträng Tillgänglig när: type = upi
upi_amount Valfritt Flyta Tillgänglig när: type = upi
upi_transaction_id Valfritt Sträng Tillgänglig när: type = upi
upi_transaction_note Valfritt Sträng Tillgänglig när: type = upi
upi_transaction_reference Valfritt Sträng Tillgänglig när: type = upi
upi_thank_you_url Valfritt Sträng Tillgänglig när: type = upi
epc
epc_iban Valfritt Sträng Tillgänglig när: type = epc
epc_payee_name Valfritt Sträng Tillgänglig när: type = epc
epc_currency Valfritt Sträng Tillgänglig när: type = epc
epc_amount Valfritt Flyta Tillgänglig när: type = epc
epc_bic Valfritt Sträng Tillgänglig när: type = epc
epc_remittance_reference Valfritt Sträng Tillgänglig när: type = epc
epc_remittance_text Valfritt Sträng Tillgänglig när: type = epc
information Valfritt Sträng Tillgänglig när: type = epc
pix
pix_payee_key Valfritt Sträng Tillgänglig när: type = pix
pix_payee_name Valfritt Sträng Tillgänglig när: type = pix
pix_currency Valfritt Sträng Tillgänglig när: type = pix
pix_amount Valfritt Flyta Tillgänglig när: type = pix
pix_city Valfritt Sträng Tillgänglig när: type = pix
pix_transaction_id Valfritt Sträng Tillgänglig när: type = pix
pix_description Valfritt Sträng Tillgänglig när: 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}' \