سلام. کلیه خدمات رایگان می باشد.

پیکسل‌ها

GET https://98l.ir/api/pixels/
curl --request GET \
--url 'https://98l.ir/api/pixels/' \
--header 'Authorization: Bearer {api_key}' \
پارامترها جزئیات توضیحات
page اختیاری عدد صحیح شماره صفحه مورد نظر. پیش‌فرض 1.
results_per_page اختیاری عدد صحیح تعداد نتایج در هر صفحه. مقادیر مجاز: 10 , 25 , 50 , 100 , 250 , 500 , 1000. پیش‌فرض 25.
{
    "data": [
        {
            "id": 1,
            "type": "facebook",
            "name": "Fb Ads",
            "pixel": "1234567",
            "last_datetime": null,
            "datetime": "2025-10-15 13:22:25",
        },
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://98l.ir/api/pixels?page=1",
        "last": "https://98l.ir/api/pixels?page=1",
        "next": null,
        "prev": null,
        "self": "https://98l.ir/api/pixels?page=1"
    }
}
GET https://98l.ir/api/pixels/{pixel_id}
curl --request GET \
--url 'https://98l.ir/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "type": "facebook",
        "name": "Fb Ads",
        "pixel": "1234567",
        "last_datetime": null,
        "datetime": "2025-10-15 13:22:25",
    }
}
POST https://98l.ir/api/pixels
پارامترها جزئیات توضیحات
type الزامی رشته مقادیر مجاز: facebook , google_analytics , google_tag_manager , linkedin , pinterest , twitter , quora , tiktok , snapchat
name الزامی رشته -
pixel الزامی رشته -
curl --request POST \
--url 'https://98l.ir/api/pixels' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'type=facebook' \
--form 'name=Facebook' \
--form 'pixel=12345678' \
{
    "data": {
        "id": 1
    }
}
POST https://98l.ir/api/pixels/{pixel_id}
پارامترها جزئیات توضیحات
type اختیاری رشته مقادیر مجاز: facebook , google_analytics , google_tag_manager , linkedin , pinterest , twitter , quora , tiktok , snapchat
name اختیاری رشته -
pixel اختیاری رشته -
curl --request POST \
--url 'https://98l.ir/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Facebook New Name' \
{
    "data": {
        "id": 1
    }
}
DELETE https://98l.ir/api/pixels/{pixel_id}
curl --request DELETE \
--url 'https://98l.ir/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \