پیکسلهای ردیابی
پیکسلهای ردیابی خود را بازیابی و مدیریت کنید.
GET https://rqrcode.com/api/pixels/
curl --request GET \
--url 'https://rqrcode.com/api/pixels/' \
--header 'Authorization: Bearer {api_key}'
| پارامترها | جزئیات | توضیحات |
|---|---|---|
| page |
اختیاری
ui.admin.api_docs.common.types.عدد صحیح
|
شماره صفحهای که میخواهید نتایج آن را دریافت کنید. به طور پیشفرض 1 است. |
| results_per_page |
اختیاری
ui.admin.api_docs.common.types.عدد صحیح
|
چند نتیجه در هر صفحه میخواهید. مقادیر مجاز عبارتند از: 10، 25، 50، 100، 250، 500، 1000. به طور پیشفرض 25 است. |
{
"data": [
{
"id": 1,
"type": "facebook",
"name": "تبلیغات فیسبوک",
"pixel": "1234567",
"last_datetime": null,
"datetime": "2026-04-20 07:54:26"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://rqrcode.com/api/pixels?page=1",
"last": "https://rqrcode.com/api/pixels?page=1",
"next": null,
"prev": null,
"self": "https://rqrcode.com/api/pixels?page=1"
}
}
GET https://rqrcode.com/api/pixels/{pixel_id}
curl --request GET \
--url 'https://rqrcode.com/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}'
{
"data": {
"id": 1,
"type": "facebook",
"name": "تبلیغات فیسبوک",
"pixel": "1234567",
"last_datetime": null,
"datetime": "2026-04-20 07:54:26"
}
}
POST https://rqrcode.com/api/pixels
curl --request POST \
--url 'https://rqrcode.com/api/pixels' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'type=facebook' \
--form 'name=فیسبوک' \
--form 'pixel=12345678'
| پارامترها | جزئیات | توضیحات |
|---|---|---|
| type |
الزامی
ui.admin.api_docs.common.types.رشته
|
مقادیر مجاز: facebook, google_analytics, google_tag_manager, linkedin, pinterest, twitter, quora, tiktok, snapchat |
| name |
الزامی
ui.admin.api_docs.common.types.رشته
|
— |
| pixel |
الزامی
ui.admin.api_docs.common.types.رشته
|
— |
{
"data": {
"id": 1
}
}
POST https://rqrcode.com/api/pixels/{pixel_id}
curl --request POST \
--url 'https://rqrcode.com/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=نام جدید فیسبوک'
| پارامترها | جزئیات | توضیحات |
|---|---|---|
| type |
اختیاری
ui.admin.api_docs.common.types.رشته
|
مقادیر مجاز: facebook, google_analytics, google_tag_manager, linkedin, pinterest, twitter, quora, tiktok, snapchat |
| name |
اختیاری
ui.admin.api_docs.common.types.رشته
|
— |
| pixel |
اختیاری
ui.admin.api_docs.common.types.رشته
|
— |
{
"data": {
"id": 1
}
}
DELETE https://rqrcode.com/api/pixels/{pixel_id}
curl --request DELETE \
--url 'https://rqrcode.com/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}'
بدنه پاسخ 200 در حالت موفقیت خالی است.