Splash-pagina's
GET https://tistos.com/api/splash-pages/
curl --request GET \
--url 'https://tistos.com/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
| Parameters | Details | Beschrijving |
|---|---|---|
| page | Optioneel Geheel getal | Het paginanummer waar je resultaten van wilt. Standaard is dit 1. |
| results_per_page | Optioneel Geheel getal | Hoeveel resultaten wilt u per pagina. Toegestane waarden zijn: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Standaard is 25. |
{
"data": [
{
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": null,
"datetime": "2025-11-21 10:24:01",
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://tistos.com/api/projects?page=1",
"last": "https://tistos.com/api/projects?page=1",
"next": null,
"prev": null,
"self": "https://tistos.com/api/projects?page=1"
}
}
GET https://tistos.com/api/splash-pages/{splash_page_id}
curl --request GET \
--url 'https://tistos.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": null,
"datetime": "2025-11-21 10:24:01",
}
}
POST https://tistos.com/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 Boolean | - |
curl --request POST \
--url 'https://tistos.com/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' \
--url 'https://tistos.com/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://tistos.com/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 Boolean | - |
curl --request POST \
--url 'https://tistos.com/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' \
--url 'https://tistos.com/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://tistos.com/api/splash-pages/{splash_page_id}
curl --request DELETE \
--url 'https://tistos.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \