Tracking (Pixels)
GET https://staging.gratisqrcode.nl/api/pixels/
curl --request GET \
--url 'https://staging.gratisqrcode.nl/api/pixels/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://staging.gratisqrcode.nl/api/pixels/' \
--header 'Authorization: Bearer {api_key}' \
| Paramètres | Détails | Description |
|---|---|---|
| search | En option Chaîne | La chaîne de recherche. |
| search_by | En option Chaîne | Quel est le champ recherché ? Les valeurs autorisées sont : name, pixel. |
| type | En option Chaîne | Valeurs autorisées : facebook, google_analytics, google_tag_manager, linkedin, pinterest, twitter, quora, tiktok, snapchat |
| datetime_field | En option Chaîne | Valeurs autorisées : datetime, last_datetime |
| datetime_start | En option Chaîne | Filtrer les résultats à partir de cette date et heure. Format Y-m-d H:i:s. |
| datetime_end | En option Chaîne | Filtrer les résultats jusqu'à cette date et heure. Format Y-m-d H:i:s. |
| order_by | En option Chaîne | Champ sur lequel les résultats doivent être classés. Les valeurs autorisées sont : pixel_id, datetime, last_datetime, name. |
| order_type | En option Chaîne | L'ordre des résultats. Les valeurs autorisées sont : ASC pour l'ordre croissant et DESC pour l'ordre décroissant. |
| page | En option Entier | Le numéro de page à partir duquel vous souhaitez obtenir des résultats. Par défaut 1. |
| results_per_page | En option Entier | Combien de résultats souhaitez-vous obtenir par page ? Les valeurs autorisées sont : 10, 25, 50, 100, 250, 500, 1000. La valeur par défaut est 25. |
{
"data": [
{
"id": 1,
"type": "facebook",
"name": "Fb Ads",
"pixel": "1234567",
"last_datetime": null,
"datetime": "2026-06-17 19:40:21",
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://staging.gratisqrcode.nl/api/pixels?page=1",
"last": "https://staging.gratisqrcode.nl/api/pixels?page=1",
"next": null,
"prev": null,
"self": "https://staging.gratisqrcode.nl/api/pixels?page=1"
}
}
GET https://staging.gratisqrcode.nl/api/pixels/{pixel_id}
curl --request GET \
--url 'https://staging.gratisqrcode.nl/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://staging.gratisqrcode.nl/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"type": "facebook",
"name": "Fb Ads",
"pixel": "1234567",
"last_datetime": null,
"datetime": "2026-06-17 19:40:21",
}
}
POST https://staging.gratisqrcode.nl/api/pixels
| Paramètres | Détails | Description |
|---|---|---|
| type | Exigée Chaîne | Valeurs autorisées : facebook, google_analytics, google_tag_manager, linkedin, pinterest, twitter, quora, tiktok, snapchat |
| name | Exigée Chaîne | - |
| pixel | Exigée Chaîne | - |
curl --request POST \
--url 'https://staging.gratisqrcode.nl/api/pixels' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'type=facebook' \
--form 'name=Facebook' \
--form 'pixel=12345678' \
--url 'https://staging.gratisqrcode.nl/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://staging.gratisqrcode.nl/api/pixels/{pixel_id}
| Paramètres | Détails | Description |
|---|---|---|
| type | En option Chaîne | Valeurs autorisées : facebook, google_analytics, google_tag_manager, linkedin, pinterest, twitter, quora, tiktok, snapchat |
| name | En option Chaîne | - |
| pixel | En option Chaîne | - |
curl --request POST \
--url 'https://staging.gratisqrcode.nl/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Facebook New Name' \
--url 'https://staging.gratisqrcode.nl/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://staging.gratisqrcode.nl/api/pixels/{pixel_id}
curl --request DELETE \
--url 'https://staging.gratisqrcode.nl/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://staging.gratisqrcode.nl/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \