Website-logo

Splash-pagina's

GET https://staging.gratisqrcode.nl/api/splash-pages/
curl --request GET \
--url 'https://staging.gratisqrcode.nl/api/splash-pages/' \
--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.
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: splash_page_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,
            "name": "Development",
            "color": "#0e23cc",
            "last_datetime": null,
            "datetime": "2026-06-17 18:32:34",
        },
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://staging.gratisqrcode.nl/api/projects?page=1",
        "last": "https://staging.gratisqrcode.nl/api/projects?page=1",
        "next": null,
        "prev": null,
        "self": "https://staging.gratisqrcode.nl/api/projects?page=1"
    }
}
GET https://staging.gratisqrcode.nl/api/splash-pages/{splash_page_id}
curl --request GET \
--url 'https://staging.gratisqrcode.nl/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "name": "Development",
        "color": "#0e23cc",
        "last_datetime": null,
        "datetime": "2026-06-17 18:32:34",
    }
}
POST https://staging.gratisqrcode.nl/api/projects
Parameters Details Beschrijving
name Vereist String -
title Optioneel String -
logo Optioneel Bestand -
favicon Optioneel Bestand -
opengraph Optioneel Bestand -
description Optioneel String -
secondary_button_name Optioneel String -
secondary_button_url Optioneel String -
custom_css Optioneel String -
custom_js Optioneel String -
ads_header Optioneel String -
ads_footer Optioneel String -
link_unlock_seconds Optioneel Geheel getal -
auto_redirect Optioneel Booleaans -
curl --request POST \
--url 'https://staging.gratisqrcode.nl/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://staging.gratisqrcode.nl/api/splash-pages/{splash_page_id}
Parameters Details Beschrijving
name Optioneel String -
title Optioneel String -
logo Optioneel Bestand -
favicon Optioneel Bestand -
opengraph Optioneel Bestand -
description Optioneel String -
secondary_button_name Optioneel String -
secondary_button_url Optioneel String -
custom_css Optioneel String -
custom_js Optioneel String -
ads_header Optioneel String -
ads_footer Optioneel String -
link_unlock_seconds Optioneel Geheel getal -
auto_redirect Optioneel Booleaans -
curl --request POST \
--url 'https://staging.gratisqrcode.nl/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://staging.gratisqrcode.nl/api/splash-pages/{splash_page_id}
curl --request DELETE \
--url 'https://staging.gratisqrcode.nl/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \