کدهای QR

GET https://qr38.rbsrv.in/api/qr-codes/
curl --request GET \
--url 'https://qr38.rbsrv.in/api/qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
پارامتر ها جزئیات توضیحات
page اختیاری Integer شماره صفحه ای که می خواهید از آن نتیجه بگیرید. پیش‌فرض 1 است.
results_per_page اختیاری Integer در هر صفحه چند نتیجه می خواهید. مقادیر مجاز عبارتند از: 10 , 25 , 50 , 100 , 250 , 500 , 1000. پیش‌فرض 25 است.
{
    "data": [
        {
            "id": 1,
            "type": "url",
            "name": "Example name",
            "qr_code": "https://qr38.rbsrv.in/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-11-08 18:27:02",
        },
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://qr38.rbsrv.in/api/qr-codes?page=1",
        "last": "https://qr38.rbsrv.in/api/qr-codes?page=1",
        "next": null,
        "prev": null,
        "self": "https://qr38.rbsrv.in/api/qr-codes?page=1"
    }
}
GET https://qr38.rbsrv.in/api/qr-codes/{qr_code_id}
curl --request GET \
--url 'https://qr38.rbsrv.in/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "type": "url",
        "name": "Example name",
        "qr_code": "https://qr38.rbsrv.in/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-11-08 18:27:02",
    }
}
POST https://qr38.rbsrv.in/api/qr-codes
پارامتر ها جزئیات توضیحات
link_id اختیاری Integer -
project_id اختیاری Integer -
name اجباری String -
type اجباری String مقدار مجاز: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
is_bulk اختیاری Boolean در دسترس است زمانی که: type = text
style اختیاری String مقدار مجاز: 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 اختیاری String مقدار مجاز: square, dot, rounded, diamond, flower, leaf
outer_eye_style اختیاری String مقدار مجاز: square, circle, rounded, flower, leaf
foreground_type اختیاری String مقدار مجاز: color, gradient
foreground_color اختیاری String در دسترس است زمانی که: foreground_type = color
foreground_gradient_style اختیاری String مقدار مجاز: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one اختیاری String در دسترس است زمانی که: foreground_type = gradient
foreground_gradient_two اختیاری String در دسترس است زمانی که: foreground_type = gradient
background_color اختیاری String
background_color_transparency اختیاری Integer
custom_eyes_color اختیاری Boolean
eyes_inner_color اختیاری String در دسترس است زمانی که: custom_eyes_color = 1
eyes_outer_color اختیاری String در دسترس است زمانی که: custom_eyes_color = 1
qr_code_logo اختیاری File -
qr_code_logo_size اختیاری Integer 5-35
qr_code_background اختیاری File -
qr_code_background_transparency اختیاری Integer 0-100
qr_code_foreground اختیاری File -
qr_code_foreground_transparency اختیاری Integer 0-100
frame اختیاری String مقدار مجاز: 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 اختیاری String
frame_text_size اختیاری Integer -5 - 5
frame_text_font اختیاری String مقدار مجاز: 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 اختیاری Boolean
frame_color اختیاری String در دسترس است زمانی که: frame_custom_colors = 1
frame_text_color اختیاری String در دسترس است زمانی که: frame_custom_colors = 1
size اختیاری Integer 50-2000
margin اختیاری Integer 0-25
ecc اختیاری String مقدار مجاز: L, M, Q, H
text اختیاری String در دسترس است زمانی که: type = text
url اختیاری String در دسترس است زمانی که: type = url
phone اختیاری String در دسترس است زمانی که: type = phone
sms اختیاری String در دسترس است زمانی که: type = sms
sms_body اختیاری String در دسترس است زمانی که: type = sms
email اختیاری String در دسترس است زمانی که: type = email
whatsapp اختیاری String در دسترس است زمانی که: type = whatsapp
whatsapp_body اختیاری String در دسترس است زمانی که: type = whatsapp
facetime اختیاری String در دسترس است زمانی که: type = facetime
location
location_latitude اختیاری Float در دسترس است زمانی که: type = location
location_longitude اختیاری Float در دسترس است زمانی که: type = location
wifi
wifi_ssid اختیاری String در دسترس است زمانی که: type = wifi
wifi_encryption اختیاری String مقدار مجاز: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password اختیاری String در دسترس است زمانی که: type = wifi
wifi_is_hidden اختیاری Boolean در دسترس است زمانی که: type = wifi
event اختیاری String در دسترس است زمانی که: type = event
event_location اختیاری String در دسترس است زمانی که: type = event
event_url اختیاری String در دسترس است زمانی که: type = event
event_note اختیاری String در دسترس است زمانی که: type = event
event_timezone اختیاری String در دسترس است زمانی که: type = event
event_start_datetime اختیاری String در دسترس است زمانی که: type = event
event_end_datetime اختیاری String در دسترس است زمانی که: type = event
event_first_alert_datetime اختیاری String در دسترس است زمانی که: type = event
event_second_alert_datetime اختیاری String در دسترس است زمانی که: type = event
crypto
crypto_coin اختیاری String در دسترس است زمانی که: type = crypto
crypto_address اختیاری String در دسترس است زمانی که: type = crypto
crypto_amount اختیاری String در دسترس است زمانی که: type = crypto
vcard
vcard_first_name اختیاری String در دسترس است زمانی که: type = vcard
vcard_last_name اختیاری String در دسترس است زمانی که: type = vcard
vcard_company اختیاری String در دسترس است زمانی که: type = vcard
vcard_phone_number_label[index] اختیاری String در دسترس است زمانی که: type = vcard
vcard_phone_number_value[index] اختیاری String در دسترس است زمانی که: type = vcard
vcard_email اختیاری String در دسترس است زمانی که: type = vcard
vcard_url اختیاری String در دسترس است زمانی که: type = vcard
vcard_job_title اختیاری String در دسترس است زمانی که: type = vcard
vcard_birthday اختیاری String در دسترس است زمانی که: type = vcard
vcard_street اختیاری String در دسترس است زمانی که: type = vcard
vcard_city اختیاری String در دسترس است زمانی که: type = vcard
vcard_zip اختیاری String در دسترس است زمانی که: type = vcard
vcard_region اختیاری String در دسترس است زمانی که: type = vcard
vcard_country اختیاری String در دسترس است زمانی که: type = vcard
vcard_note اختیاری String در دسترس است زمانی که: type = vcard
vcard_social_label[index] اختیاری String در دسترس است زمانی که: type = vcard
vcard_social_value[index] اختیاری String در دسترس است زمانی که: type = vcard
paypal
paypal_type اختیاری String مقدار مجاز: buy_now, add_to_cart, donation (type=paypal)
paypal_email اختیاری String در دسترس است زمانی که: type = paypal
paypal_title اختیاری String در دسترس است زمانی که: type = paypal
paypal_currency اختیاری String در دسترس است زمانی که: type = paypal
paypal_price اختیاری Float در دسترس است زمانی که: type = paypal
paypal_thank_you_url اختیاری String در دسترس است زمانی که: type = paypal
paypal_cancel_url اختیاری String در دسترس است زمانی که: type = paypal
upi
upi_payee_id اختیاری String در دسترس است زمانی که: type = upi
upi_payee_name اختیاری String در دسترس است زمانی که: type = upi
upi_currency اختیاری String در دسترس است زمانی که: type = upi
upi_amount اختیاری Float در دسترس است زمانی که: type = upi
upi_transaction_id اختیاری String در دسترس است زمانی که: type = upi
upi_transaction_note اختیاری String در دسترس است زمانی که: type = upi
upi_transaction_reference اختیاری String در دسترس است زمانی که: type = upi
upi_thank_you_url اختیاری String در دسترس است زمانی که: type = upi
epc
epc_iban اختیاری String در دسترس است زمانی که: type = epc
epc_payee_name اختیاری String در دسترس است زمانی که: type = epc
epc_currency اختیاری String در دسترس است زمانی که: type = epc
epc_amount اختیاری Float در دسترس است زمانی که: type = epc
epc_bic اختیاری String در دسترس است زمانی که: type = epc
epc_remittance_reference اختیاری String در دسترس است زمانی که: type = epc
epc_remittance_text اختیاری String در دسترس است زمانی که: type = epc
information اختیاری String در دسترس است زمانی که: type = epc
pix
pix_payee_key اختیاری String در دسترس است زمانی که: type = pix
pix_payee_name اختیاری String در دسترس است زمانی که: type = pix
pix_currency اختیاری String در دسترس است زمانی که: type = pix
pix_amount اختیاری Float در دسترس است زمانی که: type = pix
pix_city اختیاری String در دسترس است زمانی که: type = pix
pix_transaction_id اختیاری String در دسترس است زمانی که: type = pix
pix_description اختیاری String در دسترس است زمانی که: type = pix
پارامتر ها جزئیات توضیحات
curl --request POST \
--url 'https://qr38.rbsrv.in/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://qr38.rbsrv.in/api/qr-codes/{qr_code_id}
پارامتر ها جزئیات توضیحات
link_id اختیاری Integer -
project_id اختیاری String -
name اختیاری String -
type اختیاری String مقدار مجاز: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix
style اختیاری String مقدار مجاز: 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 اختیاری String مقدار مجاز: square, dot, rounded, diamond, flower, leaf
outer_eye_style اختیاری String مقدار مجاز: square, circle, rounded, flower, leaf
foreground_type اختیاری String مقدار مجاز: color, gradient
foreground_color اختیاری String در دسترس است زمانی که: foreground_type = color
foreground_gradient_style اختیاری String مقدار مجاز: vertical, horizontal, diagonal, inverse_diagonal, radial
foreground_gradient_one اختیاری String در دسترس است زمانی که: foreground_type = gradient
foreground_gradient_two اختیاری String در دسترس است زمانی که: foreground_type = gradient
background_color اختیاری String
background_color_transparency اختیاری Integer 0 - 100
custom_eyes_color اختیاری Boolean
eyes_inner_color اختیاری String در دسترس است زمانی که: custom_eyes_color = 1
eyes_outer_color اختیاری String در دسترس است زمانی که: custom_eyes_color = 1
qr_code_logo اختیاری File -
qr_code_logo_size اختیاری Integer 5-35
qr_code_background اختیاری File -
qr_code_background_transparency اختیاری Integer 0-100
qr_code_foreground اختیاری File -
qr_code_foreground_transparency اختیاری Integer 0-100
frame اختیاری String مقدار مجاز: 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 اختیاری String
frame_text_size اختیاری Integer -5 -> 5
frame_text_font اختیاری String مقدار مجاز: 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 اختیاری Boolean
frame_color اختیاری String در دسترس است زمانی که: frame_custom_colors = 1
frame_text_color اختیاری String در دسترس است زمانی که: frame_custom_colors = 1
size اختیاری Integer 50-2000
margin اختیاری Integer 0-25
ecc اختیاری String مقدار مجاز: L, M, Q, H
text اختیاری String در دسترس است زمانی که: type = text
url اختیاری String در دسترس است زمانی که: type = url
phone اختیاری String در دسترس است زمانی که: type = phone
sms اختیاری String در دسترس است زمانی که: type = sms
sms_body اختیاری String در دسترس است زمانی که: type = sms
email اختیاری String در دسترس است زمانی که: type = email
whatsapp اختیاری String در دسترس است زمانی که: type = whatsapp
whatsapp_body اختیاری String در دسترس است زمانی که: type = whatsapp
facetime اختیاری String در دسترس است زمانی که: type = facetime
location
location_latitude اختیاری Float در دسترس است زمانی که: type = location
location_longitude اختیاری Float در دسترس است زمانی که: type = location
wifi
wifi_ssid اختیاری String در دسترس است زمانی که: type = wifi
wifi_encryption اختیاری String مقدار مجاز: nopass, WEP, WPA/WPA2, H (type=wifi)
wifi_password اختیاری String در دسترس است زمانی که: type = wifi
wifi_is_hidden اختیاری Boolean در دسترس است زمانی که: type = wifi
event اختیاری String در دسترس است زمانی که: type = event
event_location اختیاری String در دسترس است زمانی که: type = event
event_url اختیاری String در دسترس است زمانی که: type = event
event_note اختیاری String در دسترس است زمانی که: type = event
event_timezone اختیاری String در دسترس است زمانی که: type = event
event_start_datetime اختیاری String در دسترس است زمانی که: type = event
event_end_datetime اختیاری String در دسترس است زمانی که: type = event
event_first_alert_datetime اختیاری String در دسترس است زمانی که: type = event
event_second_alert_datetime اختیاری String در دسترس است زمانی که: type = event
crypto
crypto_coin اختیاری String در دسترس است زمانی که: type = crypto
crypto_address اختیاری String در دسترس است زمانی که: type = crypto
crypto_amount اختیاری String در دسترس است زمانی که: type = crypto
vcard
vcard_first_name اختیاری String در دسترس است زمانی که: type = vcard
vcard_last_name اختیاری String در دسترس است زمانی که: type = vcard
vcard_company اختیاری String در دسترس است زمانی که: type = vcard
vcard_phone_number_label[index] اختیاری String در دسترس است زمانی که: type = vcard
vcard_phone_number_value[index] اختیاری String در دسترس است زمانی که: type = vcard
vcard_email اختیاری String در دسترس است زمانی که: type = vcard
vcard_url اختیاری String در دسترس است زمانی که: type = vcard
vcard_job_title اختیاری String در دسترس است زمانی که: type = vcard
vcard_birthday اختیاری String در دسترس است زمانی که: type = vcard
vcard_street اختیاری String در دسترس است زمانی که: type = vcard
vcard_city اختیاری String در دسترس است زمانی که: type = vcard
vcard_zip اختیاری String در دسترس است زمانی که: type = vcard
vcard_region اختیاری String در دسترس است زمانی که: type = vcard
vcard_country اختیاری String در دسترس است زمانی که: type = vcard
vcard_note اختیاری String در دسترس است زمانی که: type = vcard
vcard_social_label[index] اختیاری String در دسترس است زمانی که: type = vcard
vcard_social_value[index] اختیاری String در دسترس است زمانی که: type = vcard
paypal
paypal_type اختیاری String مقدار مجاز: buy_now, add_to_cart, donation (type=paypal)
paypal_email اختیاری String در دسترس است زمانی که: type = paypal
paypal_title اختیاری String در دسترس است زمانی که: type = paypal
paypal_currency اختیاری String در دسترس است زمانی که: type = paypal
paypal_price اختیاری Float در دسترس است زمانی که: type = paypal
paypal_thank_you_url اختیاری String در دسترس است زمانی که: type = paypal
paypal_cancel_url اختیاری String در دسترس است زمانی که: type = paypal
upi
upi_payee_id اختیاری String در دسترس است زمانی که: type = upi
upi_payee_name اختیاری String در دسترس است زمانی که: type = upi
upi_currency اختیاری String در دسترس است زمانی که: type = upi
upi_amount اختیاری Float در دسترس است زمانی که: type = upi
upi_transaction_id اختیاری String در دسترس است زمانی که: type = upi
upi_transaction_note اختیاری String در دسترس است زمانی که: type = upi
upi_transaction_reference اختیاری String در دسترس است زمانی که: type = upi
upi_thank_you_url اختیاری String در دسترس است زمانی که: type = upi
epc
epc_iban اختیاری String در دسترس است زمانی که: type = epc
epc_payee_name اختیاری String در دسترس است زمانی که: type = epc
epc_currency اختیاری String در دسترس است زمانی که: type = epc
epc_amount اختیاری Float در دسترس است زمانی که: type = epc
epc_bic اختیاری String در دسترس است زمانی که: type = epc
epc_remittance_reference اختیاری String در دسترس است زمانی که: type = epc
epc_remittance_text اختیاری String در دسترس است زمانی که: type = epc
information اختیاری String در دسترس است زمانی که: type = epc
pix
pix_payee_key اختیاری String در دسترس است زمانی که: type = pix
pix_payee_name اختیاری String در دسترس است زمانی که: type = pix
pix_currency اختیاری String در دسترس است زمانی که: type = pix
pix_amount اختیاری Float در دسترس است زمانی که: type = pix
pix_city اختیاری String در دسترس است زمانی که: type = pix
pix_transaction_id اختیاری String در دسترس است زمانی که: type = pix
pix_description اختیاری String در دسترس است زمانی که: type = pix
curl --request POST \
--url 'https://qr38.rbsrv.in/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://qr38.rbsrv.in/api/qr-codes/{qr_code_id}
curl --request DELETE \
--url 'https://qr38.rbsrv.in/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \