Splash-Seiten

GET https://app.clientlink.ch/api/splash-pages/
curl --request GET \
--url 'https://app.clientlink.ch/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
Parameter Details Beschreibung
page Optional Ganzzahl Die Seitennummer, ab der Sie Ergebnisse wünschen. Der Standardwert ist 1.
results_per_page Optional Ganzzahl Wie viele Ergebnisse Sie pro Seite wünschen. Erlaubte Werte sind: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Standardwert ist 25.
{ "data": [ { "id": 1, "name": "Development", "color": "#0e23cc", "last_datetime": "2021-03-14 21:22:37", "datetime": "2021-02-04 17:51:07" }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://app.clientlink.ch/api/projects?&page=1", "last": "https://app.clientlink.ch/api/projects?&page=1", "next": null, "prev": null, "self": "https://app.clientlink.ch/api/projects?&page=1" } }
GET https://app.clientlink.ch/api/splash-pages/{splash_page_id}
curl --request GET \
--url 'https://app.clientlink.ch/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "name": "Development", "color": "#0e23cc", "last_datetime": "2021-03-14 21:22:37", "datetime": "2021-02-04 17:51:07" } }
POST https://app.clientlink.ch/api/projects
Parameter Details Beschreibung
name Erforderlich Zeichenfolge -
title Optional Zeichenfolge -
logo Optional Datei -
description Optional Zeichenfolge -
secondary_button_name Optional Zeichenfolge -
secondary_button_url Optional Zeichenfolge -
custom_css Optional Zeichenfolge -
custom_js Optional Zeichenfolge -
ads_header Optional Zeichenfolge -
ads_footer Optional Zeichenfolge -
link_unlock_seconds Optional Ganzzahl -
auto_redirect Optional Boolesche -
curl --request POST \
--url 'https://app.clientlink.ch/api/projects' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Sample splash page' \
--form 'title=Custom splash page title' \
--form 'description=Custom splash page description' \
{ "data": { "id": 1 } }
POST https://app.clientlink.ch/api/splash-pages/{splash_page_id}
Parameter Details Beschreibung
name Optional Zeichenfolge -
title Optional Zeichenfolge -
logo Optional Datei -
description Optional Zeichenfolge -
secondary_button_name Optional Zeichenfolge -
secondary_button_url Optional Zeichenfolge -
custom_css Optional Zeichenfolge -
custom_js Optional Zeichenfolge -
ads_header Optional Zeichenfolge -
ads_footer Optional Zeichenfolge -
link_unlock_seconds Optional Ganzzahl -
auto_redirect Optional Boolesche -
curl --request POST \
--url 'https://app.clientlink.ch/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Sample splash page' \
--form 'title=Custom splash page title' \
--form 'description=Custom splash page description' \
{ "data": { "id": 1 } }
DELETE https://app.clientlink.ch/api/splash-pages/{splash_page_id}
curl --request DELETE \
--url 'https://app.clientlink.ch/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \