Pixels

Anmerkungen
Experten level
Der API-Schlüssel sollte als Bearer-Token im Authorization-Header der Anfrage gesendet werden. Bekomme dein API Schlüssel.
Liste

API endpunkt:

GET
https://link.kroginski.de/api/v1/pixels

Beispiel anfordern:

curl --location --request GET 'https://link.kroginski.de/api/v1/pixels' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Typ
Beschreibung
search
optional string
Die Suchanfrage.
type
optional string
Der pixel typ. Mögliche Werte sind: adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, twitter.
sort
optional string
Sortieren. Mögliche Werte sind: desc für absteigend, asc für Aufsteigend. Stadard zu: desc.
per_page
optional int
Ergebnisse pro Seite. Mögliche Werte sind: 10 zu 100. Stadard zu: 10.
Zeige

API endpunkt:

GET
https://link.kroginski.de/api/v1/pixels/{id}

Beispiel anfordern:

curl --location --request GET 'https://link.kroginski.de/api/v1/pixels/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
lagern

API endpunkt:

POST
https://link.kroginski.de/api/v1/pixels

Beispiel anfordern:

curl --location --request POST 'https://link.kroginski.de/api/v1/pixels' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
Parameter
Typ
Beschreibung
name
benötigt string
Der pixel Name.
type
benötigt string
Der pixel typ. Mögliche Werte sind: adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, twitter.
value
benötigt string
Der Pixel-ID-Wert.
Update

API endpunkt:

PUT PATCH
https://link.kroginski.de/api/v1/pixels/{id}

Beispiel anfordern:

curl --location --request PUT 'https://link.kroginski.de/api/v1/pixels/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
Parameter
Typ
Beschreibung
name
optional string
Der pixel Name.
type
optional string
Der pixel typ. Mögliche Werte sind: adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, twitter.
value
optional string
Der Pixel-ID-Wert.
Löschen

API endpunkt:

DELETE
https://link.kroginski.de/pixels/{id}/destroy

Beispiel anfordern:

curl --location --request DELETE 'https://link.kroginski.de/pixels/{id}/destroy' \
--header 'Authorization: Bearer {api_key}'