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}' \
| Parameters | Details | Beschrijving |
|---|---|---|
| search | Optioneel String | De zoekstring. |
| search_by | Optioneel String | Op welk veld zoekt u. Toegestane waarden zijn: name, pixel. |
| type | Optioneel String | Toegestane waarden: facebook, google_analytics, google_tag_manager, linkedin, pinterest, twitter, quora, tiktok, snapchat |
| datetime_field | Optioneel String | Toegestane waarden: datetime, last_datetime |
| datetime_start | Optioneel String | Filter resultaten vanaf deze datum en tijd. Formaat Y-m-d H:i:s. |
| datetime_end | Optioneel String | Filter resultaten tot deze datum en tijd. Formaat Y-m-d H:i:s. |
| order_by | Optioneel String | Op welk veld de resultaten moeten worden gerangschikt. Toegestane waarden zijn: pixel_id, datetime, last_datetime, name. |
| order_type | Optioneel String | De volgorde van de resultaten. Toegestane waarden zijn: ASC voor oplopende volgorde, en DESC voor aflopende volgorde. |
| page | Optioneel Geheel getal | Het paginanummer waarvan u resultaten wilt. Standaard 1. |
| results_per_page | Optioneel Geheel getal | Hoeveel resultaten wilt u per pagina. Toegestane waarden zijn: 10, 25, 50, 100, 250, 500, 1000. Standaard ingesteld op 25. |
{
"data": [
{
"id": 1,
"type": "facebook",
"name": "Fb Ads",
"pixel": "1234567",
"last_datetime": null,
"datetime": "2026-06-17 18:30:40",
},
],
"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 18:30:40",
}
}
POST https://staging.gratisqrcode.nl/api/pixels
| Parameters | Details | Beschrijving |
|---|---|---|
| type | Vereist String | Toegestane waarden: facebook, google_analytics, google_tag_manager, linkedin, pinterest, twitter, quora, tiktok, snapchat |
| name | Vereist String | - |
| pixel | Vereist String | - |
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}
| Parameters | Details | Beschrijving |
|---|---|---|
| type | Optioneel String | Toegestane waarden: facebook, google_analytics, google_tag_manager, linkedin, pinterest, twitter, quora, tiktok, snapchat |
| name | Optioneel String | - |
| pixel | Optioneel String | - |
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}' \