QR-koder

GET https://app.qr-kode.no/api/qr-codes/
curl --request GET \
--url 'https://app.qr-kode.no/api/qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
Parametere Detaljer Beskrivelse
page Valgfritt Heltall Sidenummeret du vil ha resultater fra. Standard er 1.
results_per_page Valgfritt Heltall Antall resultater per side. Gyldige verdier er: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Standard er 25.
{
    "data": [
        {
            "id": 1,
            "type": "url",
            "name": "Example name",
            "qr_code": "https://app.qr-kode.no/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": "2026-02-09 09:43:08",
        },
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://app.qr-kode.no/api/qr-codes?page=1",
        "last": "https://app.qr-kode.no/api/qr-codes?page=1",
        "next": null,
        "prev": null,
        "self": "https://app.qr-kode.no/api/qr-codes?page=1"
    }
}
GET https://app.qr-kode.no/api/qr-codes/{qr_code_id}
curl --request GET \
--url 'https://app.qr-kode.no/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "type": "url",
        "name": "Example name",
        "qr_code": "https://app.qr-kode.no/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": "2026-02-09 09:43:08",
    }
}
POST https://app.qr-kode.no/api/qr-codes
Parametere Detaljer Beskrivelse
project_id Valgfritt Heltall -
name Påkrevd Tekststreng -
type Påkrevd Tekststreng Gyldige verdier: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
is_bulk Valgfritt Boolsk verdi Tilgjengelig når: type = text
style Valgfritt Tekststreng
inner_eye_style Valgfritt Tekststreng Gyldige verdier: square, dot, rounded, diamond, flower, leaf
outer_eye_style Valgfritt Tekststreng Gyldige verdier: square, circle, rounded, flower, leaf
foreground_type Valgfritt Tekststreng Gyldige verdier: color, gradient
foreground_color Valgfritt Tekststreng Tilgjengelig når: foreground_type = color
foreground_gradient_style Valgfritt Tekststreng Gyldige verdier: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one Valgfritt Tekststreng Tilgjengelig når: foreground_type = gradient
foreground_gradient_two Valgfritt Tekststreng Tilgjengelig når: foreground_type = gradient
background_color Valgfritt Tekststreng
background_color_transparency Valgfritt Heltall
custom_eyes_color Valgfritt Boolsk verdi
eyes_inner_color Valgfritt Tekststreng Tilgjengelig når: custom_eyes_color = 1
eyes_outer_color Valgfritt Tekststreng Tilgjengelig når: custom_eyes_color = 1
qr_code_logo Valgfritt Fil -
qr_code_logo_size Valgfritt Heltall 5-35
qr_code_background Valgfritt Fil -
qr_code_background_transparency Valgfritt Heltall 0-100
qr_code_foreground Valgfritt Fil -
qr_code_foreground_transparency Valgfritt Heltall 0-100
frame Valgfritt Tekststreng Gyldige verdier: 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 Valgfritt Tekststreng
frame_text_size Valgfritt Heltall -5 - 5
frame_text_font Valgfritt Tekststreng Gyldige verdier: 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 Valgfritt Boolsk verdi
frame_color Valgfritt Tekststreng Tilgjengelig når: frame_custom_colors = 1
frame_text_color Valgfritt Tekststreng Tilgjengelig når: frame_custom_colors = 1
size Valgfritt Heltall 50-2000
margin Valgfritt Heltall 0-25
ecc Valgfritt Tekststreng Gyldige verdier: L, M, Q, H
text Valgfritt Tekststreng Tilgjengelig når: type = text
url Valgfritt Tekststreng Tilgjengelig når: type = url
phone Valgfritt Tekststreng Tilgjengelig når: type = phone
sms Valgfritt Tekststreng Tilgjengelig når: type = sms
sms_body Valgfritt Tekststreng Tilgjengelig når: type = sms
email Valgfritt Tekststreng Tilgjengelig når: type = email
whatsapp Valgfritt Tekststreng Tilgjengelig når: type = whatsapp
whatsapp_body Valgfritt Tekststreng Tilgjengelig når: type = whatsapp
facetime Valgfritt Tekststreng Tilgjengelig når: type = facetime
location
location_latitude Valgfritt Desimaltall Tilgjengelig når: type = location
location_longitude Valgfritt Desimaltall Tilgjengelig når: type = location
wifi
wifi_ssid Valgfritt Tekststreng Tilgjengelig når: type = wifi
wifi_encryption Valgfritt Tekststreng Gyldige verdier: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password Valgfritt Tekststreng Tilgjengelig når: type = wifi
wifi_is_hidden Valgfritt Boolsk verdi Tilgjengelig når: type = wifi
event Valgfritt Tekststreng Tilgjengelig når: type = event
event_location Valgfritt Tekststreng Tilgjengelig når: type = event
event_url Valgfritt Tekststreng Tilgjengelig når: type = event
event_note Valgfritt Tekststreng Tilgjengelig når: type = event
event_timezone Valgfritt Tekststreng Tilgjengelig når: type = event
event_start_datetime Valgfritt Tekststreng Tilgjengelig når: type = event
event_end_datetime Valgfritt Tekststreng Tilgjengelig når: type = event
event_first_alert_datetime Valgfritt Tekststreng Tilgjengelig når: type = event
event_second_alert_datetime Valgfritt Tekststreng Tilgjengelig når: type = event
crypto
crypto_coin Valgfritt Tekststreng Tilgjengelig når: type = crypto
crypto_address Valgfritt Tekststreng Tilgjengelig når: type = crypto
crypto_amount Valgfritt Tekststreng Tilgjengelig når: type = crypto
vcard
vcard_first_name Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_last_name Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_company Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_phone_number_label[index] Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_phone_number_value[index] Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_email Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_url Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_job_title Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_birthday Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_street Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_city Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_zip Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_region Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_country Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_note Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_social_label[index] Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_social_value[index] Valgfritt Tekststreng Tilgjengelig når: type = vcard
paypal
paypal_type Valgfritt Tekststreng Gyldige verdier: buy_now, add_to_cart, donation (type=paypal)
paypal_email Valgfritt Tekststreng Tilgjengelig når: type = paypal
paypal_title Valgfritt Tekststreng Tilgjengelig når: type = paypal
paypal_currency Valgfritt Tekststreng Tilgjengelig når: type = paypal
paypal_price Valgfritt Desimaltall Tilgjengelig når: type = paypal
paypal_thank_you_url Valgfritt Tekststreng Tilgjengelig når: type = paypal
paypal_cancel_url Valgfritt Tekststreng Tilgjengelig når: type = paypal
upi
upi_payee_id Valgfritt Tekststreng Tilgjengelig når: type = upi
upi_payee_name Valgfritt Tekststreng Tilgjengelig når: type = upi
upi_currency Valgfritt Tekststreng Tilgjengelig når: type = upi
upi_amount Valgfritt Desimaltall Tilgjengelig når: type = upi
upi_transaction_id Valgfritt Tekststreng Tilgjengelig når: type = upi
upi_transaction_note Valgfritt Tekststreng Tilgjengelig når: type = upi
upi_transaction_reference Valgfritt Tekststreng Tilgjengelig når: type = upi
upi_thank_you_url Valgfritt Tekststreng Tilgjengelig når: type = upi
epc
epc_iban Valgfritt Tekststreng Tilgjengelig når: type = epc
epc_payee_name Valgfritt Tekststreng Tilgjengelig når: type = epc
epc_currency Valgfritt Tekststreng Tilgjengelig når: type = epc
epc_amount Valgfritt Desimaltall Tilgjengelig når: type = epc
epc_bic Valgfritt Tekststreng Tilgjengelig når: type = epc
epc_remittance_reference Valgfritt Tekststreng Tilgjengelig når: type = epc
epc_remittance_text Valgfritt Tekststreng Tilgjengelig når: type = epc
information Valgfritt Tekststreng Tilgjengelig når: type = epc
pix
pix_payee_key Valgfritt Tekststreng Tilgjengelig når: type = pix
pix_payee_name Valgfritt Tekststreng Tilgjengelig når: type = pix
pix_currency Valgfritt Tekststreng Tilgjengelig når: type = pix
pix_amount Valgfritt Desimaltall Tilgjengelig når: type = pix
pix_city Valgfritt Tekststreng Tilgjengelig når: type = pix
pix_transaction_id Valgfritt Tekststreng Tilgjengelig når: type = pix
pix_description Valgfritt Tekststreng Tilgjengelig når: type = pix
Parametere Detaljer Beskrivelse
curl --request POST \
--url 'https://app.qr-kode.no/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://app.qr-kode.no/api/qr-codes/{qr_code_id}
Parametere Detaljer Beskrivelse
project_id Valgfritt Tekststreng -
name Valgfritt Tekststreng -
type Valgfritt Tekststreng Gyldige verdier: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
style Valgfritt Tekststreng Gyldige verdier: 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 Valgfritt Tekststreng Gyldige verdier: square, dot, rounded, diamond, flower, leaf
outer_eye_style Valgfritt Tekststreng Gyldige verdier: square, circle, rounded, flower, leaf
foreground_type Valgfritt Tekststreng Gyldige verdier: color, gradient
foreground_color Valgfritt Tekststreng Tilgjengelig når: foreground_type = color
foreground_gradient_style Valgfritt Tekststreng Gyldige verdier: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one Valgfritt Tekststreng Tilgjengelig når: foreground_type = gradient
foreground_gradient_two Valgfritt Tekststreng Tilgjengelig når: foreground_type = gradient
background_color Valgfritt Tekststreng
background_color_transparency Valgfritt Heltall 0 - 100
custom_eyes_color Valgfritt Boolsk verdi
eyes_inner_color Valgfritt Tekststreng Tilgjengelig når: custom_eyes_color = 1
eyes_outer_color Valgfritt Tekststreng Tilgjengelig når: custom_eyes_color = 1
qr_code_logo Valgfritt Fil -
qr_code_logo_size Valgfritt Heltall 5-35
qr_code_background Valgfritt Fil -
qr_code_background_transparency Valgfritt Heltall 0-100
qr_code_foreground Valgfritt Fil -
qr_code_foreground_transparency Valgfritt Heltall 0-100
frame Valgfritt Tekststreng Gyldige verdier: 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 Valgfritt Tekststreng
frame_text_size Valgfritt Heltall -5 -> 5
frame_text_font Valgfritt Tekststreng Gyldige verdier: 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 Valgfritt Boolsk verdi
frame_color Valgfritt Tekststreng Tilgjengelig når: frame_custom_colors = 1
frame_text_color Valgfritt Tekststreng Tilgjengelig når: frame_custom_colors = 1
size Valgfritt Heltall 50-2000
margin Valgfritt Heltall 0-25
ecc Valgfritt Tekststreng Gyldige verdier: L, M, Q, H
text Valgfritt Tekststreng Tilgjengelig når: type = text
url Valgfritt Tekststreng Tilgjengelig når: type = url
phone Valgfritt Tekststreng Tilgjengelig når: type = phone
sms Valgfritt Tekststreng Tilgjengelig når: type = sms
sms_body Valgfritt Tekststreng Tilgjengelig når: type = sms
email Valgfritt Tekststreng Tilgjengelig når: type = email
whatsapp Valgfritt Tekststreng Tilgjengelig når: type = whatsapp
whatsapp_body Valgfritt Tekststreng Tilgjengelig når: type = whatsapp
facetime Valgfritt Tekststreng Tilgjengelig når: type = facetime
location
location_latitude Valgfritt Desimaltall Tilgjengelig når: type = location
location_longitude Valgfritt Desimaltall Tilgjengelig når: type = location
wifi
wifi_ssid Valgfritt Tekststreng Tilgjengelig når: type = wifi
wifi_encryption Valgfritt Tekststreng Gyldige verdier: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password Valgfritt Tekststreng Tilgjengelig når: type = wifi
wifi_is_hidden Valgfritt Boolsk verdi Tilgjengelig når: type = wifi
event Valgfritt Tekststreng Tilgjengelig når: type = event
event_location Valgfritt Tekststreng Tilgjengelig når: type = event
event_url Valgfritt Tekststreng Tilgjengelig når: type = event
event_note Valgfritt Tekststreng Tilgjengelig når: type = event
event_timezone Valgfritt Tekststreng Tilgjengelig når: type = event
event_start_datetime Valgfritt Tekststreng Tilgjengelig når: type = event
event_end_datetime Valgfritt Tekststreng Tilgjengelig når: type = event
event_first_alert_datetime Valgfritt Tekststreng Tilgjengelig når: type = event
event_second_alert_datetime Valgfritt Tekststreng Tilgjengelig når: type = event
crypto
crypto_coin Valgfritt Tekststreng Tilgjengelig når: type = crypto
crypto_address Valgfritt Tekststreng Tilgjengelig når: type = crypto
crypto_amount Valgfritt Tekststreng Tilgjengelig når: type = crypto
vcard
vcard_first_name Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_last_name Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_company Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_phone_number_label[index] Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_phone_number_value[index] Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_email Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_url Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_job_title Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_birthday Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_street Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_city Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_zip Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_region Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_country Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_note Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_social_label[index] Valgfritt Tekststreng Tilgjengelig når: type = vcard
vcard_social_value[index] Valgfritt Tekststreng Tilgjengelig når: type = vcard
paypal
paypal_type Valgfritt Tekststreng Gyldige verdier: buy_now, add_to_cart, donation (type=paypal)
paypal_email Valgfritt Tekststreng Tilgjengelig når: type = paypal
paypal_title Valgfritt Tekststreng Tilgjengelig når: type = paypal
paypal_currency Valgfritt Tekststreng Tilgjengelig når: type = paypal
paypal_price Valgfritt Desimaltall Tilgjengelig når: type = paypal
paypal_thank_you_url Valgfritt Tekststreng Tilgjengelig når: type = paypal
paypal_cancel_url Valgfritt Tekststreng Tilgjengelig når: type = paypal
upi
upi_payee_id Valgfritt Tekststreng Tilgjengelig når: type = upi
upi_payee_name Valgfritt Tekststreng Tilgjengelig når: type = upi
upi_currency Valgfritt Tekststreng Tilgjengelig når: type = upi
upi_amount Valgfritt Desimaltall Tilgjengelig når: type = upi
upi_transaction_id Valgfritt Tekststreng Tilgjengelig når: type = upi
upi_transaction_note Valgfritt Tekststreng Tilgjengelig når: type = upi
upi_transaction_reference Valgfritt Tekststreng Tilgjengelig når: type = upi
upi_thank_you_url Valgfritt Tekststreng Tilgjengelig når: type = upi
epc
epc_iban Valgfritt Tekststreng Tilgjengelig når: type = epc
epc_payee_name Valgfritt Tekststreng Tilgjengelig når: type = epc
epc_currency Valgfritt Tekststreng Tilgjengelig når: type = epc
epc_amount Valgfritt Desimaltall Tilgjengelig når: type = epc
epc_bic Valgfritt Tekststreng Tilgjengelig når: type = epc
epc_remittance_reference Valgfritt Tekststreng Tilgjengelig når: type = epc
epc_remittance_text Valgfritt Tekststreng Tilgjengelig når: type = epc
information Valgfritt Tekststreng Tilgjengelig når: type = epc
pix
pix_payee_key Valgfritt Tekststreng Tilgjengelig når: type = pix
pix_payee_name Valgfritt Tekststreng Tilgjengelig når: type = pix
pix_currency Valgfritt Tekststreng Tilgjengelig når: type = pix
pix_amount Valgfritt Desimaltall Tilgjengelig når: type = pix
pix_city Valgfritt Tekststreng Tilgjengelig når: type = pix
pix_transaction_id Valgfritt Tekststreng Tilgjengelig når: type = pix
pix_description Valgfritt Tekststreng Tilgjengelig når: type = pix
curl --request POST \
--url 'https://app.qr-kode.no/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://app.qr-kode.no/api/qr-codes/{qr_code_id}
curl --request DELETE \
--url 'https://app.qr-kode.no/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \