QR kodları

GET https://test.hosteam.space/api/qr-codes/
curl --request GET \
--url 'https://test.hosteam.space/api/qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
Parametrlər Ətraflı Təsvir
page İxtiyaridir Tam ədəd Axtardığınız nəticələrdən hansı səhifənin alınacağını göstərir. Varsayılan olaraq 1-dir.
results_per_page İxtiyaridir Tam ədəd Hər səhifədə neçə nəticə istəyirsiniz. İcazə verilən dəyərlər: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Varsayılan olaraq 25-dir.
{ "data": [ { "id": 1, "type": "url", "name": "Example name", "qr_code": "https://test.hosteam.space/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-12-16 10:43:50" }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://test.hosteam.space/api/qr-codes?&page=1", "last": "https://test.hosteam.space/api/qr-codes?&page=1", "next": null, "prev": null, "self": "https://test.hosteam.space/api/qr-codes?&page=1" } }
GET https://test.hosteam.space/api/qr-codes/{qr_code_id}
curl --request GET \
--url 'https://test.hosteam.space/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "type": "url", "name": "Example name", "qr_code": "https://test.hosteam.space/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-12-16 10:43:50" } }
POST https://test.hosteam.space/api/qr-codes
Parametrlər Ətraflı Təsvir
link_id İxtiyaridir Tam ədəd -
project_id İxtiyaridir Tam ədəd -
name Tələb olunur String -
type Tələb olunur String İcazə verilən dəyərlər: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
is_bulk İxtiyaridir Boolean Mövcud olduğu zaman: type = text
style İxtiyaridir String İcazə verilən dəyərlər: square, dot, round, diamond, heart
inner_eye_style İxtiyaridir String İcazə verilən dəyərlər: square, dot, rounded, diamond, flower, leaf
outer_eye_style İxtiyaridir String İcazə verilən dəyərlər: square, circle, rounded, flower, leaf
foreground_type İxtiyaridir String İcazə verilən dəyərlər: color, gradient
foreground_color İxtiyaridir String Mövcud olduğu zaman: foreground_type = color
foreground_gradient_style İxtiyaridir String İcazə verilən dəyərlər: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one İxtiyaridir String Mövcud olduğu zaman: foreground_type = gradient
foreground_gradient_two İxtiyaridir String Mövcud olduğu zaman: foreground_type = gradient
background_color İxtiyaridir String
background_color_transparency İxtiyaridir Tam ədəd
custom_eyes_color İxtiyaridir Boolean
eyes_inner_color İxtiyaridir String Mövcud olduğu zaman: custom_eyes_color = 1
eyes_outer_color İxtiyaridir String Mövcud olduğu zaman: custom_eyes_color = 1
qr_code_logo İxtiyaridir Fayl -
qr_code_logo_size İxtiyaridir Tam ədəd 5-35
qr_code_background İxtiyaridir Fayl -
qr_code_background_transparency İxtiyaridir Tam ədəd 0-100
qr_code_foreground İxtiyaridir Fayl -
qr_code_foreground_transparency İxtiyaridir Tam ədəd 0-100
frame İxtiyaridir String İcazə verilən dəyərlər: 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 İxtiyaridir String
frame_text_size İxtiyaridir Tam ədəd -5 - 5
frame_text_font İxtiyaridir String İcazə verilən dəyərlər: 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 İxtiyaridir Boolean
frame_color İxtiyaridir String Mövcud olduğu zaman: frame_custom_colors = 1
frame_text_color İxtiyaridir String Mövcud olduğu zaman: frame_custom_colors = 1
size İxtiyaridir Tam ədəd 50-2000
margin İxtiyaridir Tam ədəd 0-25
ecc İxtiyaridir String İcazə verilən dəyərlər: L, M, Q, H
text İxtiyaridir String Mövcud olduğu zaman: type = text
url İxtiyaridir String Mövcud olduğu zaman: type = url
phone İxtiyaridir String Mövcud olduğu zaman: type = phone
sms İxtiyaridir String Mövcud olduğu zaman: type = sms
sms_body İxtiyaridir String Mövcud olduğu zaman: type = sms
email İxtiyaridir String Mövcud olduğu zaman: type = email
whatsapp İxtiyaridir String Mövcud olduğu zaman: type = whatsapp
whatsapp_body İxtiyaridir String Mövcud olduğu zaman: type = whatsapp
facetime İxtiyaridir String Mövcud olduğu zaman: type = facetime
location
location_latitude İxtiyaridir Ondalık ədəd Mövcud olduğu zaman: type = location
location_longitude İxtiyaridir Ondalık ədəd Mövcud olduğu zaman: type = location
wifi
wifi_ssid İxtiyaridir String Mövcud olduğu zaman: type = wifi
wifi_encryption İxtiyaridir String İcazə verilən dəyərlər: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password İxtiyaridir String Mövcud olduğu zaman: type = wifi
wifi_is_hidden İxtiyaridir Boolean Mövcud olduğu zaman: type = wifi
event İxtiyaridir String Mövcud olduğu zaman: type = event
event_location İxtiyaridir String Mövcud olduğu zaman: type = event
event_url İxtiyaridir String Mövcud olduğu zaman: type = event
event_note İxtiyaridir String Mövcud olduğu zaman: type = event
event_timezone İxtiyaridir String Mövcud olduğu zaman: type = event
event_start_datetime İxtiyaridir String Mövcud olduğu zaman: type = event
event_end_datetime İxtiyaridir String Mövcud olduğu zaman: type = event
event_first_alert_datetime İxtiyaridir String Mövcud olduğu zaman: type = event
event_second_alert_datetime İxtiyaridir String Mövcud olduğu zaman: type = event
crypto
crypto_coin İxtiyaridir String Mövcud olduğu zaman: type = crypto
crypto_address İxtiyaridir String Mövcud olduğu zaman: type = crypto
crypto_amount İxtiyaridir String Mövcud olduğu zaman: type = crypto
vcard
vcard_first_name İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_last_name İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_company İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_phone_number_label[index] İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_phone_number_value[index] İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_email İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_url İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_job_title İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_birthday İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_street İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_city İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_zip İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_region İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_country İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_note İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_social_label[index] İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_social_value[index] İxtiyaridir String Mövcud olduğu zaman: type = vcard
paypal
paypal_type İxtiyaridir String İcazə verilən dəyərlər: buy_now, add_to_cart, donation (type=paypal)
paypal_email İxtiyaridir String Mövcud olduğu zaman: type = paypal
paypal_title İxtiyaridir String Mövcud olduğu zaman: type = paypal
paypal_currency İxtiyaridir String Mövcud olduğu zaman: type = paypal
paypal_price İxtiyaridir Ondalık ədəd Mövcud olduğu zaman: type = paypal
paypal_thank_you_url İxtiyaridir String Mövcud olduğu zaman: type = paypal
paypal_cancel_url İxtiyaridir String Mövcud olduğu zaman: type = paypal
upi
upi_payee_id İxtiyaridir String Mövcud olduğu zaman: type = upi
upi_payee_name İxtiyaridir String Mövcud olduğu zaman: type = upi
upi_currency İxtiyaridir String Mövcud olduğu zaman: type = upi
upi_amount İxtiyaridir Ondalık ədəd Mövcud olduğu zaman: type = upi
upi_transaction_id İxtiyaridir String Mövcud olduğu zaman: type = upi
upi_transaction_note İxtiyaridir String Mövcud olduğu zaman: type = upi
upi_transaction_reference İxtiyaridir String Mövcud olduğu zaman: type = upi
upi_thank_you_url İxtiyaridir String Mövcud olduğu zaman: type = upi
epc
epc_iban İxtiyaridir String Mövcud olduğu zaman: type = epc
epc_payee_name İxtiyaridir String Mövcud olduğu zaman: type = epc
epc_currency İxtiyaridir String Mövcud olduğu zaman: type = epc
epc_amount İxtiyaridir Ondalık ədəd Mövcud olduğu zaman: type = epc
epc_bic İxtiyaridir String Mövcud olduğu zaman: type = epc
epc_remittance_reference İxtiyaridir String Mövcud olduğu zaman: type = epc
epc_remittance_text İxtiyaridir String Mövcud olduğu zaman: type = epc
information İxtiyaridir String Mövcud olduğu zaman: type = epc
pix
pix_payee_key İxtiyaridir String Mövcud olduğu zaman: type = pix
pix_payee_name İxtiyaridir String Mövcud olduğu zaman: type = pix
pix_currency İxtiyaridir String Mövcud olduğu zaman: type = pix
pix_amount İxtiyaridir Ondalık ədəd Mövcud olduğu zaman: type = pix
pix_city İxtiyaridir String Mövcud olduğu zaman: type = pix
pix_transaction_id İxtiyaridir String Mövcud olduğu zaman: type = pix
pix_description İxtiyaridir String Mövcud olduğu zaman: type = pix
Parametrlər Ətraflı Təsvir
curl --request POST \
--url 'https://test.hosteam.space/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://test.hosteam.space/api/qr-codes/{qr_code_id}
Parametrlər Ətraflı Təsvir
link_id İxtiyaridir Tam ədəd -
project_id İxtiyaridir String -
name İxtiyaridir String -
type İxtiyaridir String İcazə verilən dəyərlər: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
style İxtiyaridir String İcazə verilən dəyərlər: square, dot, round, diamond, heart
inner_eye_style İxtiyaridir String İcazə verilən dəyərlər: square, dot, rounded, diamond, flower, leaf
outer_eye_style İxtiyaridir String İcazə verilən dəyərlər: square, circle, rounded, flower, leaf
foreground_type İxtiyaridir String İcazə verilən dəyərlər: color, gradient
foreground_color İxtiyaridir String Mövcud olduğu zaman: foreground_type = color
foreground_gradient_style İxtiyaridir String İcazə verilən dəyərlər: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one İxtiyaridir String Mövcud olduğu zaman: foreground_type = gradient
foreground_gradient_two İxtiyaridir String Mövcud olduğu zaman: foreground_type = gradient
background_color İxtiyaridir String
background_color_transparency İxtiyaridir Tam ədəd 0 - 100
custom_eyes_color İxtiyaridir Boolean
eyes_inner_color İxtiyaridir String Mövcud olduğu zaman: custom_eyes_color = 1
eyes_outer_color İxtiyaridir String Mövcud olduğu zaman: custom_eyes_color = 1
qr_code_logo İxtiyaridir Fayl -
qr_code_logo_size İxtiyaridir Tam ədəd 5-35
qr_code_background İxtiyaridir Fayl -
qr_code_background_transparency İxtiyaridir Tam ədəd 0-100
qr_code_foreground İxtiyaridir Fayl -
qr_code_foreground_transparency İxtiyaridir Tam ədəd 0-100
frame İxtiyaridir String İcazə verilən dəyərlər: 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 İxtiyaridir String
frame_text_size İxtiyaridir Tam ədəd -5 -> 5
frame_text_font İxtiyaridir String İcazə verilən dəyərlər: 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 İxtiyaridir Boolean
frame_color İxtiyaridir String Mövcud olduğu zaman: frame_custom_colors = 1
frame_text_color İxtiyaridir String Mövcud olduğu zaman: frame_custom_colors = 1
size İxtiyaridir Tam ədəd 50-2000
margin İxtiyaridir Tam ədəd 0-25
ecc İxtiyaridir String İcazə verilən dəyərlər: L, M, Q, H
text İxtiyaridir String Mövcud olduğu zaman: type = text
url İxtiyaridir String Mövcud olduğu zaman: type = url
phone İxtiyaridir String Mövcud olduğu zaman: type = phone
sms İxtiyaridir String Mövcud olduğu zaman: type = sms
sms_body İxtiyaridir String Mövcud olduğu zaman: type = sms
email İxtiyaridir String Mövcud olduğu zaman: type = email
whatsapp İxtiyaridir String Mövcud olduğu zaman: type = whatsapp
whatsapp_body İxtiyaridir String Mövcud olduğu zaman: type = whatsapp
facetime İxtiyaridir String Mövcud olduğu zaman: type = facetime
location
location_latitude İxtiyaridir Ondalık ədəd Mövcud olduğu zaman: type = location
location_longitude İxtiyaridir Ondalık ədəd Mövcud olduğu zaman: type = location
wifi
wifi_ssid İxtiyaridir String Mövcud olduğu zaman: type = wifi
wifi_encryption İxtiyaridir String İcazə verilən dəyərlər: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password İxtiyaridir String Mövcud olduğu zaman: type = wifi
wifi_is_hidden İxtiyaridir Boolean Mövcud olduğu zaman: type = wifi
event İxtiyaridir String Mövcud olduğu zaman: type = event
event_location İxtiyaridir String Mövcud olduğu zaman: type = event
event_url İxtiyaridir String Mövcud olduğu zaman: type = event
event_note İxtiyaridir String Mövcud olduğu zaman: type = event
event_timezone İxtiyaridir String Mövcud olduğu zaman: type = event
event_start_datetime İxtiyaridir String Mövcud olduğu zaman: type = event
event_end_datetime İxtiyaridir String Mövcud olduğu zaman: type = event
event_first_alert_datetime İxtiyaridir String Mövcud olduğu zaman: type = event
event_second_alert_datetime İxtiyaridir String Mövcud olduğu zaman: type = event
crypto
crypto_coin İxtiyaridir String Mövcud olduğu zaman: type = crypto
crypto_address İxtiyaridir String Mövcud olduğu zaman: type = crypto
crypto_amount İxtiyaridir String Mövcud olduğu zaman: type = crypto
vcard
vcard_first_name İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_last_name İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_company İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_phone_number_label[index] İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_phone_number_value[index] İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_email İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_url İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_job_title İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_birthday İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_street İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_city İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_zip İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_region İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_country İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_note İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_social_label[index] İxtiyaridir String Mövcud olduğu zaman: type = vcard
vcard_social_value[index] İxtiyaridir String Mövcud olduğu zaman: type = vcard
paypal
paypal_type İxtiyaridir String İcazə verilən dəyərlər: buy_now, add_to_cart, donation (type=paypal)
paypal_email İxtiyaridir String Mövcud olduğu zaman: type = paypal
paypal_title İxtiyaridir String Mövcud olduğu zaman: type = paypal
paypal_currency İxtiyaridir String Mövcud olduğu zaman: type = paypal
paypal_price İxtiyaridir Ondalık ədəd Mövcud olduğu zaman: type = paypal
paypal_thank_you_url İxtiyaridir String Mövcud olduğu zaman: type = paypal
paypal_cancel_url İxtiyaridir String Mövcud olduğu zaman: type = paypal
upi
upi_payee_id İxtiyaridir String Mövcud olduğu zaman: type = upi
upi_payee_name İxtiyaridir String Mövcud olduğu zaman: type = upi
upi_currency İxtiyaridir String Mövcud olduğu zaman: type = upi
upi_amount İxtiyaridir Ondalık ədəd Mövcud olduğu zaman: type = upi
upi_transaction_id İxtiyaridir String Mövcud olduğu zaman: type = upi
upi_transaction_note İxtiyaridir String Mövcud olduğu zaman: type = upi
upi_transaction_reference İxtiyaridir String Mövcud olduğu zaman: type = upi
upi_thank_you_url İxtiyaridir String Mövcud olduğu zaman: type = upi
epc
epc_iban İxtiyaridir String Mövcud olduğu zaman: type = epc
epc_payee_name İxtiyaridir String Mövcud olduğu zaman: type = epc
epc_currency İxtiyaridir String Mövcud olduğu zaman: type = epc
epc_amount İxtiyaridir Ondalık ədəd Mövcud olduğu zaman: type = epc
epc_bic İxtiyaridir String Mövcud olduğu zaman: type = epc
epc_remittance_reference İxtiyaridir String Mövcud olduğu zaman: type = epc
epc_remittance_text İxtiyaridir String Mövcud olduğu zaman: type = epc
information İxtiyaridir String Mövcud olduğu zaman: type = epc
pix
pix_payee_key İxtiyaridir String Mövcud olduğu zaman: type = pix
pix_payee_name İxtiyaridir String Mövcud olduğu zaman: type = pix
pix_currency İxtiyaridir String Mövcud olduğu zaman: type = pix
pix_amount İxtiyaridir Ondalık ədəd Mövcud olduğu zaman: type = pix
pix_city İxtiyaridir String Mövcud olduğu zaman: type = pix
pix_transaction_id İxtiyaridir String Mövcud olduğu zaman: type = pix
pix_description İxtiyaridir String Mövcud olduğu zaman: type = pix
curl --request POST \
--url 'https://test.hosteam.space/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://test.hosteam.space/api/qr-codes/{qr_code_id}
curl --request DELETE \
--url 'https://test.hosteam.space/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \