พิกเซล
GET https://app.qr-kode.no/api/pixels/
curl --request GET \
--url 'https://app.qr-kode.no/api/pixels/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://app.qr-kode.no/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": "2026-02-09 12:53:44",
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://app.qr-kode.no/api/pixels?page=1",
"last": "https://app.qr-kode.no/api/pixels?page=1",
"next": null,
"prev": null,
"self": "https://app.qr-kode.no/api/pixels?page=1"
}
}
GET https://app.qr-kode.no/api/pixels/{pixel_id}
curl --request GET \
--url 'https://app.qr-kode.no/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://app.qr-kode.no/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"type": "facebook",
"name": "Fb Ads",
"pixel": "1234567",
"last_datetime": null,
"datetime": "2026-02-09 12:53:44",
}
}
POST https://app.qr-kode.no/api/pixels
| พารามิเตอร์ต่างๆ | รายละเอียด | คำอธิบาย |
|---|---|---|
| type | จำเป็นต้องมีนะคะ สตริงค่ะ | ค่าที่ใช้ได้คือ: facebook , google_analytics , google_tag_manager , linkedin , pinterest , twitter , quora , tiktok , snapchat นะคะ |
| name | จำเป็นต้องมีนะคะ สตริงค่ะ | - |
| pixel | จำเป็นต้องมีนะคะ สตริงค่ะ | - |
curl --request POST \
--url 'https://app.qr-kode.no/api/pixels' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'type=facebook' \
--form 'name=Facebook' \
--form 'pixel=12345678' \
--url 'https://app.qr-kode.no/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://app.qr-kode.no/api/pixels/{pixel_id}
| พารามิเตอร์ต่างๆ | รายละเอียด | คำอธิบาย |
|---|---|---|
| type | ไม่จำเป็นก็ได้นะ สตริงค่ะ | ค่าที่ใช้ได้คือ: facebook , google_analytics , google_tag_manager , linkedin , pinterest , twitter , quora , tiktok , snapchat นะคะ |
| name | ไม่จำเป็นก็ได้นะ สตริงค่ะ | - |
| pixel | ไม่จำเป็นก็ได้นะ สตริงค่ะ | - |
curl --request POST \
--url 'https://app.qr-kode.no/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Facebook New Name' \
--url 'https://app.qr-kode.no/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://app.qr-kode.no/api/pixels/{pixel_id}
curl --request DELETE \
--url 'https://app.qr-kode.no/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://app.qr-kode.no/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \