Установите наше приложение 🪄 Нажмите на значок в верхнем правом углу панели адреса.

QR-коды

GET https://rqrcode.com/api/qr-codes/
curl --request GET \
--url 'https://rqrcode.com/api/qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
Параметры Детали Описание
page Дополнительно Целое число Номер страницы, с которой вы хотите получить результаты. По умолчанию 1.
results_per_page Дополнительно Целое число Сколько результатов вы хотите на странице. Допустимые значения: 10 , 25 , 50 , 100 , 250 , 500 , 1000. По умолчанию: 25.
{ "data": [ { "id": 1, "type": "url", "name": "Example name", "qr_code": "https://rqrcode.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://rqrcode.com/api/qr-codes?&page=1", "last": "https://rqrcode.com/api/qr-codes?&page=1", "next": null, "prev": null, "self": "https://rqrcode.com/api/qr-codes?&page=1" } }
GET https://rqrcode.com/api/qr-codes/{qr_code_id}
curl --request GET \
--url 'https://rqrcode.com/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "type": "url", "name": "Example name", "qr_code": "https://rqrcode.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://rqrcode.com/api/qr-codes
Параметры Детали Описание
link_id Дополнительно Целое число -
project_id Дополнительно Целое число -
name Требуется Строка -
type Требуется Строка Допустимые значения: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
is_bulk Дополнительно Булево значение Доступно, когда: type = text
style Дополнительно Строка Допустимые значения: square, dot, round, diamond, heart
inner_eye_style Дополнительно Строка Допустимые значения: square, dot, rounded, diamond, flower, leaf
outer_eye_style Дополнительно Строка Допустимые значения: square, circle, rounded, flower, leaf
foreground_type Дополнительно Строка Допустимые значения: color, gradient
foreground_color Дополнительно Строка Доступно, когда: foreground_type = color
foreground_gradient_style Дополнительно Строка Допустимые значения: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one Дополнительно Строка Доступно, когда: foreground_type = gradient
foreground_gradient_two Дополнительно Строка Доступно, когда: foreground_type = gradient
background_color Дополнительно Строка
background_color_transparency Дополнительно Целое число
custom_eyes_color Дополнительно Булево значение
eyes_inner_color Дополнительно Строка Доступно, когда: custom_eyes_color = 1
eyes_outer_color Дополнительно Строка Доступно, когда: custom_eyes_color = 1
qr_code_logo Дополнительно Файл -
qr_code_logo_size Дополнительно Целое число 5-35
qr_code_background Дополнительно Файл -
qr_code_background_transparency Дополнительно Целое число 0-100
qr_code_foreground Дополнительно Файл -
qr_code_foreground_transparency Дополнительно Целое число 0-100
frame Дополнительно Строка Допустимые значения: 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 Дополнительно Строка
frame_text_size Дополнительно Целое число -5 - 5
frame_text_font Дополнительно Строка Допустимые значения: times_new_roman, georgia, courier, arial, helvetica, verdana, tahoma, trebuchet_ms, courier_new, lucida_console, monaco, comic_sans_ms, impact
frame_custom_colors Дополнительно Булево значение
frame_color Дополнительно Строка Доступно, когда: frame_custom_colors = 1
frame_text_color Дополнительно Строка Доступно, когда: frame_custom_colors = 1
size Дополнительно Целое число 50-2000
margin Дополнительно Целое число 0-25
ecc Дополнительно Строка Допустимые значения: L, M, Q, H
text Дополнительно Строка Доступно, когда: type = text
url Дополнительно Строка Доступно, когда: type = url
phone Дополнительно Строка Доступно, когда: type = phone
sms Дополнительно Строка Доступно, когда: type = sms
sms_body Дополнительно Строка Доступно, когда: type = sms
email Дополнительно Строка Доступно, когда: type = email
whatsapp Дополнительно Строка Доступно, когда: type = whatsapp
whatsapp_body Дополнительно Строка Доступно, когда: type = whatsapp
facetime Дополнительно Строка Доступно, когда: type = facetime
location
location_latitude Дополнительно Плавать Доступно, когда: type = location
location_longitude Дополнительно Плавать Доступно, когда: type = location
wifi
wifi_ssid Дополнительно Строка Доступно, когда: type = wifi
wifi_encryption Дополнительно Строка Допустимые значения: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password Дополнительно Строка Доступно, когда: type = wifi
wifi_is_hidden Дополнительно Булево значение Доступно, когда: type = wifi
event Дополнительно Строка Доступно, когда: type = event
event_location Дополнительно Строка Доступно, когда: type = event
event_url Дополнительно Строка Доступно, когда: type = event
event_note Дополнительно Строка Доступно, когда: type = event
event_timezone Дополнительно Строка Доступно, когда: type = event
event_start_datetime Дополнительно Строка Доступно, когда: type = event
event_end_datetime Дополнительно Строка Доступно, когда: type = event
event_first_alert_datetime Дополнительно Строка Доступно, когда: type = event
event_second_alert_datetime Дополнительно Строка Доступно, когда: type = event
crypto
crypto_coin Дополнительно Строка Доступно, когда: type = crypto
crypto_address Дополнительно Строка Доступно, когда: type = crypto
crypto_amount Дополнительно Строка Доступно, когда: type = crypto
vcard
vcard_first_name Дополнительно Строка Доступно, когда: type = vcard
vcard_last_name Дополнительно Строка Доступно, когда: type = vcard
vcard_company Дополнительно Строка Доступно, когда: type = vcard
vcard_phone_number_label[index] Дополнительно Строка Доступно, когда: type = vcard
vcard_phone_number_value[index] Дополнительно Строка Доступно, когда: type = vcard
vcard_email Дополнительно Строка Доступно, когда: type = vcard
vcard_url Дополнительно Строка Доступно, когда: type = vcard
vcard_job_title Дополнительно Строка Доступно, когда: type = vcard
vcard_birthday Дополнительно Строка Доступно, когда: type = vcard
vcard_street Дополнительно Строка Доступно, когда: type = vcard
vcard_city Дополнительно Строка Доступно, когда: type = vcard
vcard_zip Дополнительно Строка Доступно, когда: type = vcard
vcard_region Дополнительно Строка Доступно, когда: type = vcard
vcard_country Дополнительно Строка Доступно, когда: type = vcard
vcard_note Дополнительно Строка Доступно, когда: type = vcard
vcard_social_label[index] Дополнительно Строка Доступно, когда: type = vcard
vcard_social_value[index] Дополнительно Строка Доступно, когда: type = vcard
paypal
paypal_type Дополнительно Строка Допустимые значения: buy_now, add_to_cart, donation (type=paypal)
paypal_email Дополнительно Строка Доступно, когда: type = paypal
paypal_title Дополнительно Строка Доступно, когда: type = paypal
paypal_currency Дополнительно Строка Доступно, когда: type = paypal
paypal_price Дополнительно Плавать Доступно, когда: type = paypal
paypal_thank_you_url Дополнительно Строка Доступно, когда: type = paypal
paypal_cancel_url Дополнительно Строка Доступно, когда: type = paypal
upi
upi_payee_id Дополнительно Строка Доступно, когда: type = upi
upi_payee_name Дополнительно Строка Доступно, когда: type = upi
upi_currency Дополнительно Строка Доступно, когда: type = upi
upi_amount Дополнительно Плавать Доступно, когда: type = upi
upi_transaction_id Дополнительно Строка Доступно, когда: type = upi
upi_transaction_note Дополнительно Строка Доступно, когда: type = upi
upi_transaction_reference Дополнительно Строка Доступно, когда: type = upi
upi_thank_you_url Дополнительно Строка Доступно, когда: type = upi
epc
epc_iban Дополнительно Строка Доступно, когда: type = epc
epc_payee_name Дополнительно Строка Доступно, когда: type = epc
epc_currency Дополнительно Строка Доступно, когда: type = epc
epc_amount Дополнительно Плавать Доступно, когда: type = epc
epc_bic Дополнительно Строка Доступно, когда: type = epc
epc_remittance_reference Дополнительно Строка Доступно, когда: type = epc
epc_remittance_text Дополнительно Строка Доступно, когда: type = epc
information Дополнительно Строка Доступно, когда: type = epc
pix
pix_payee_key Дополнительно Строка Доступно, когда: type = pix
pix_payee_name Дополнительно Строка Доступно, когда: type = pix
pix_currency Дополнительно Строка Доступно, когда: type = pix
pix_amount Дополнительно Плавать Доступно, когда: type = pix
pix_city Дополнительно Строка Доступно, когда: type = pix
pix_transaction_id Дополнительно Строка Доступно, когда: type = pix
pix_description Дополнительно Строка Доступно, когда: type = pix
Параметры Детали Описание
curl --request POST \
--url 'https://rqrcode.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://rqrcode.com/api/qr-codes/{qr_code_id}
Параметры Детали Описание
link_id Дополнительно Целое число -
project_id Дополнительно Строка -
name Дополнительно Строка -
type Дополнительно Строка Допустимые значения: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
style Дополнительно Строка Допустимые значения: square, dot, round, diamond, heart
inner_eye_style Дополнительно Строка Допустимые значения: square, dot, rounded, diamond, flower, leaf
outer_eye_style Дополнительно Строка Допустимые значения: square, circle, rounded, flower, leaf
foreground_type Дополнительно Строка Допустимые значения: color, gradient
foreground_color Дополнительно Строка Доступно, когда: foreground_type = color
foreground_gradient_style Дополнительно Строка Допустимые значения: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one Дополнительно Строка Доступно, когда: foreground_type = gradient
foreground_gradient_two Дополнительно Строка Доступно, когда: foreground_type = gradient
background_color Дополнительно Строка
background_color_transparency Дополнительно Целое число 0 - 100
custom_eyes_color Дополнительно Булево значение
eyes_inner_color Дополнительно Строка Доступно, когда: custom_eyes_color = 1
eyes_outer_color Дополнительно Строка Доступно, когда: custom_eyes_color = 1
qr_code_logo Дополнительно Файл -
qr_code_logo_size Дополнительно Целое число 5-35
qr_code_background Дополнительно Файл -
qr_code_background_transparency Дополнительно Целое число 0-100
qr_code_foreground Дополнительно Файл -
qr_code_foreground_transparency Дополнительно Целое число 0-100
frame Дополнительно Строка Допустимые значения: 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 Дополнительно Строка
frame_text_size Дополнительно Целое число -5 -> 5
frame_text_font Дополнительно Строка Допустимые значения: times_new_roman, georgia, courier, arial, helvetica, verdana, tahoma, trebuchet_ms, courier_new, lucida_console, monaco, comic_sans_ms, impact
frame_custom_colors Дополнительно Булево значение
frame_color Дополнительно Строка Доступно, когда: frame_custom_colors = 1
frame_text_color Дополнительно Строка Доступно, когда: frame_custom_colors = 1
size Дополнительно Целое число 50-2000
margin Дополнительно Целое число 0-25
ecc Дополнительно Строка Допустимые значения: L, M, Q, H
text Дополнительно Строка Доступно, когда: type = text
url Дополнительно Строка Доступно, когда: type = url
phone Дополнительно Строка Доступно, когда: type = phone
sms Дополнительно Строка Доступно, когда: type = sms
sms_body Дополнительно Строка Доступно, когда: type = sms
email Дополнительно Строка Доступно, когда: type = email
whatsapp Дополнительно Строка Доступно, когда: type = whatsapp
whatsapp_body Дополнительно Строка Доступно, когда: type = whatsapp
facetime Дополнительно Строка Доступно, когда: type = facetime
location
location_latitude Дополнительно Плавать Доступно, когда: type = location
location_longitude Дополнительно Плавать Доступно, когда: type = location
wifi
wifi_ssid Дополнительно Строка Доступно, когда: type = wifi
wifi_encryption Дополнительно Строка Допустимые значения: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password Дополнительно Строка Доступно, когда: type = wifi
wifi_is_hidden Дополнительно Булево значение Доступно, когда: type = wifi
event Дополнительно Строка Доступно, когда: type = event
event_location Дополнительно Строка Доступно, когда: type = event
event_url Дополнительно Строка Доступно, когда: type = event
event_note Дополнительно Строка Доступно, когда: type = event
event_timezone Дополнительно Строка Доступно, когда: type = event
event_start_datetime Дополнительно Строка Доступно, когда: type = event
event_end_datetime Дополнительно Строка Доступно, когда: type = event
event_first_alert_datetime Дополнительно Строка Доступно, когда: type = event
event_second_alert_datetime Дополнительно Строка Доступно, когда: type = event
crypto
crypto_coin Дополнительно Строка Доступно, когда: type = crypto
crypto_address Дополнительно Строка Доступно, когда: type = crypto
crypto_amount Дополнительно Строка Доступно, когда: type = crypto
vcard
vcard_first_name Дополнительно Строка Доступно, когда: type = vcard
vcard_last_name Дополнительно Строка Доступно, когда: type = vcard
vcard_company Дополнительно Строка Доступно, когда: type = vcard
vcard_phone_number_label[index] Дополнительно Строка Доступно, когда: type = vcard
vcard_phone_number_value[index] Дополнительно Строка Доступно, когда: type = vcard
vcard_email Дополнительно Строка Доступно, когда: type = vcard
vcard_url Дополнительно Строка Доступно, когда: type = vcard
vcard_job_title Дополнительно Строка Доступно, когда: type = vcard
vcard_birthday Дополнительно Строка Доступно, когда: type = vcard
vcard_street Дополнительно Строка Доступно, когда: type = vcard
vcard_city Дополнительно Строка Доступно, когда: type = vcard
vcard_zip Дополнительно Строка Доступно, когда: type = vcard
vcard_region Дополнительно Строка Доступно, когда: type = vcard
vcard_country Дополнительно Строка Доступно, когда: type = vcard
vcard_note Дополнительно Строка Доступно, когда: type = vcard
vcard_social_label[index] Дополнительно Строка Доступно, когда: type = vcard
vcard_social_value[index] Дополнительно Строка Доступно, когда: type = vcard
paypal
paypal_type Дополнительно Строка Допустимые значения: buy_now, add_to_cart, donation (type=paypal)
paypal_email Дополнительно Строка Доступно, когда: type = paypal
paypal_title Дополнительно Строка Доступно, когда: type = paypal
paypal_currency Дополнительно Строка Доступно, когда: type = paypal
paypal_price Дополнительно Плавать Доступно, когда: type = paypal
paypal_thank_you_url Дополнительно Строка Доступно, когда: type = paypal
paypal_cancel_url Дополнительно Строка Доступно, когда: type = paypal
upi
upi_payee_id Дополнительно Строка Доступно, когда: type = upi
upi_payee_name Дополнительно Строка Доступно, когда: type = upi
upi_currency Дополнительно Строка Доступно, когда: type = upi
upi_amount Дополнительно Плавать Доступно, когда: type = upi
upi_transaction_id Дополнительно Строка Доступно, когда: type = upi
upi_transaction_note Дополнительно Строка Доступно, когда: type = upi
upi_transaction_reference Дополнительно Строка Доступно, когда: type = upi
upi_thank_you_url Дополнительно Строка Доступно, когда: type = upi
epc
epc_iban Дополнительно Строка Доступно, когда: type = epc
epc_payee_name Дополнительно Строка Доступно, когда: type = epc
epc_currency Дополнительно Строка Доступно, когда: type = epc
epc_amount Дополнительно Плавать Доступно, когда: type = epc
epc_bic Дополнительно Строка Доступно, когда: type = epc
epc_remittance_reference Дополнительно Строка Доступно, когда: type = epc
epc_remittance_text Дополнительно Строка Доступно, когда: type = epc
information Дополнительно Строка Доступно, когда: type = epc
pix
pix_payee_key Дополнительно Строка Доступно, когда: type = pix
pix_payee_name Дополнительно Строка Доступно, когда: type = pix
pix_currency Дополнительно Строка Доступно, когда: type = pix
pix_amount Дополнительно Плавать Доступно, когда: type = pix
pix_city Дополнительно Строка Доступно, когда: type = pix
pix_transaction_id Дополнительно Строка Доступно, когда: type = pix
pix_description Дополнительно Строка Доступно, когда: type = pix
curl --request POST \
--url 'https://rqrcode.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://rqrcode.com/api/qr-codes/{qr_code_id}
curl --request DELETE \
--url 'https://rqrcode.com/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \