Entwickler

Pixel

Authentifizierung
Der API-Schlüssel muss als Bearer-Token im Authorization-Header der Anfrage gesendet werden. API-Schlüssel abrufen.
Liste

API-Endpunkt

GET
https://clck.plus/api/v1/pixels

Anfragebeispiel

curl --location --request GET 'https://clck.plus/api/v1/pixels' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'

Parameter

Name
Typ
Beschreibung
search
optional string
Suchanfrage.
search_by
optional string
Suchen nach. Mögliche Werte: name für Name. Standardwert: name.
type
optional string
Typ. Mögliche Werte: yandex-metrica, vk-pixel, adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, x.
sort_by
optional string
Sortieren nach. Mögliche Werte: id für Erstellungsdatum, name für Name. Standardwert: id.
sort
optional string
Reihenfolge. Mögliche Werte: desc für Absteigend, asc für Aufsteigend. Standardwert: desc.
per_page
optional integer
Ergebnisse pro Seite. Mögliche Werte: 10, 25, 50, 100. Standardwert: 50.
Anzeigen

API-Endpunkt

GET
https://clck.plus/api/v1/pixels/{id}

Anfragebeispiel

curl --location --request GET 'https://clck.plus/api/v1/pixels/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Speicher

API-Endpunkt

POST
https://clck.plus/api/v1/pixels

Anfragebeispiel

curl --location --request POST 'https://clck.plus/api/v1/pixels' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'name={name}' \
--data-urlencode 'type={type}' \
--data-urlencode 'value={value}'

Parameter

Name
Typ
Beschreibung
name
erforderlich string
Name.
type
erforderlich string
Typ. Mögliche Werte: yandex-metrica, vk-pixel, adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, x.
value
erforderlich string
Wert der Pixel-ID.
Aktualisieren

API-Endpunkt

PUT PATCH
https://clck.plus/api/v1/pixels/{id}

Anfragebeispiel

curl --location --request PUT 'https://clck.plus/api/v1/pixels/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}'

Parameter

Name
Typ
Beschreibung
name
optional string
Name.
type
optional string
Typ. Mögliche Werte: yandex-metrica, vk-pixel, adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, x.
value
optional string
Wert der Pixel-ID.
Löschen

API-Endpunkt

DELETE
https://clck.plus/api/v1/pixels/{id}

Anfragebeispiel

curl --location --request DELETE 'https://clck.plus/api/v1/pixels/{id}' \
--header 'Authorization: Bearer {api_key}'