Splash Sayfaları

GET https://u.page/api/splash-pages/
curl --request GET \
--url 'https://u.page/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
Parametreler Ayrıntılar Açıklama
search İsteğe bağlı Dize Arama dizesi.
search_by İsteğe bağlı Dize Hangi alanda arama yapıyorsunuz. İzin verilen değerler: name.
datetime_field İsteğe bağlı Dize İzin verilen değerler: datetime, last_datetime
datetime_start İsteğe bağlı Dize Bu tarih saatinden itibaren sonuçları filtrele. Y-m-d H:i:s biçimi.
datetime_end İsteğe bağlı Dize Sonuçları bu tarihe kadar filtrele. Y-m-d H:i:s biçimi.
order_by İsteğe bağlı Dize Sonuçların hangi alana göre sipariş edileceği. İzin verilen değerler: splash_page_id, datetime, last_datetime, name.
order_type İsteğe bağlı Dize Sonuçların sıralanması. İzin verilen değerler şunlardır: ASC artan sipariş için, DESC azalan sipariş için.
page İsteğe bağlı Integer Sonuçları istediğiniz sayfa numarası. Varsayılanlar için 1.
results_per_page İsteğe bağlı Integer Sayfa başına kaç sonuç istiyorsunuz. İzin verilen değerler: 10, 25, 50, 100, 250, 500, 1000. Varsayılanlar için 25.
{
    "data": [
        {
            "id": 1,
            "user_id": 1,
            "name": "Example",
            "title": "Example",
            "description": "Example",
            "link_unlock_seconds": "Example",
            "auto_redirect": true,
            "settings": [],
            "last_datetime": null,
            "datetime": "2026-11-27 16:29:16"
        }
    ],
    "meta": {
        "page": 1,
        "total_pages": 1,
        "results_per_page": 25,
        "total_results": 1
    },
    "links": {
        "first": "https://u.page/api/splash-pages?page=1",
        "last": "https://u.page/api/splash-pages?page=1",
        "next": null,
        "prev": null,
        "self": "https://u.page/api/splash-pages?page=1"
    }
}
GET https://u.page/api/splash-pages/{splash_page_id}
curl --request GET \
--url 'https://u.page/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "user_id": 1,
        "name": "Example",
        "title": "Example",
        "description": "Example",
        "link_unlock_seconds": "Example",
        "auto_redirect": true,
        "settings": [],
        "last_datetime": null,
        "datetime": "2026-11-27 16:29:16"
    }
}
POST https://u.page/api/splash-pages
Parametreler Ayrıntılar Açıklama
name Gerekli Dize -
title İsteğe bağlı Dize -
logo İsteğe bağlı Dosya -
favicon İsteğe bağlı Dosya -
opengraph İsteğe bağlı Dosya -
description İsteğe bağlı Dize -
secondary_button_name İsteğe bağlı Dize -
secondary_button_url İsteğe bağlı Dize -
custom_css İsteğe bağlı Dize -
custom_js İsteğe bağlı Dize -
ads_header İsteğe bağlı Dize -
ads_footer İsteğe bağlı Dize -
link_unlock_seconds İsteğe bağlı Integer -
auto_redirect İsteğe bağlı Boolean -
curl --request POST \
--url 'https://u.page/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,
        "user_id": 1,
        "name": "Example",
        "title": "Example",
        "description": "Example",
        "link_unlock_seconds": "Example",
        "auto_redirect": true,
        "settings": [],
        "last_datetime": null,
        "datetime": "2026-11-27 16:29:16"
    }
}
POST https://u.page/api/splash-pages/{splash_page_id}
Parametreler Ayrıntılar Açıklama
name İsteğe bağlı Dize -
title İsteğe bağlı Dize -
logo İsteğe bağlı Dosya -
favicon İsteğe bağlı Dosya -
opengraph İsteğe bağlı Dosya -
description İsteğe bağlı Dize -
secondary_button_name İsteğe bağlı Dize -
secondary_button_url İsteğe bağlı Dize -
custom_css İsteğe bağlı Dize -
custom_js İsteğe bağlı Dize -
ads_header İsteğe bağlı Dize -
ads_footer İsteğe bağlı Dize -
link_unlock_seconds İsteğe bağlı Integer -
auto_redirect İsteğe bağlı Boolean -
curl --request POST \
--url 'https://u.page/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,
        "user_id": 1,
        "name": "Example",
        "title": "Example",
        "description": "Example",
        "link_unlock_seconds": "Example",
        "auto_redirect": true,
        "settings": [],
        "last_datetime": null,
        "datetime": "2026-11-27 16:29:16"
    }
}
DELETE https://u.page/api/splash-pages/{splash_page_id}
curl --request DELETE \
--url 'https://u.page/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \