Velkomstsider
GET https://ezbiolink.com/api/splash-pages/
curl --request GET \
--url 'https://ezbiolink.com/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://ezbiolink.com/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
| Parametere | Detaljer | Beskrivelse |
|---|---|---|
| page | Valgfritt Heltall | Sidetallet du ønsker resultater fra. Standardverdi er 1. |
| results_per_page | Valgfritt Heltall | Hvor mange resultater vil du ha per side. Tillatte verdier er: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Standardverdi er 25. |
{
"data": [
{
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": null,
"datetime": "2025-12-13 14:56:45"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://ezbiolink.com/api/projects?&page=1",
"last": "https://ezbiolink.com/api/projects?&page=1",
"next": null,
"prev": null,
"self": "https://ezbiolink.com/api/projects?&page=1"
}
}
GET https://ezbiolink.com/api/splash-pages/{splash_page_id}
curl --request GET \
--url 'https://ezbiolink.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://ezbiolink.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": null,
"datetime": "2025-12-13 14:56:45"
}
}
POST https://ezbiolink.com/api/projects
| Parametere | Detaljer | Beskrivelse |
|---|---|---|
| name | Påkrevd Streng | - |
| title | Valgfritt Streng | - |
| logo | Valgfritt Fil | - |
| favicon | Valgfritt Fil | - |
| opengraph | Valgfritt Fil | - |
| description | Valgfritt Streng | - |
| secondary_button_name | Valgfritt Streng | - |
| secondary_button_url | Valgfritt Streng | - |
| custom_css | Valgfritt Streng | - |
| custom_js | Valgfritt Streng | - |
| ads_header | Valgfritt Streng | - |
| ads_footer | Valgfritt Streng | - |
| link_unlock_seconds | Valgfritt Heltall | - |
| auto_redirect | Valgfritt Boolsk | - |
curl --request POST \
--url 'https://ezbiolink.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://ezbiolink.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://ezbiolink.com/api/splash-pages/{splash_page_id}
| Parametere | Detaljer | Beskrivelse |
|---|---|---|
| name | Valgfritt Streng | - |
| title | Valgfritt Streng | - |
| logo | Valgfritt Fil | - |
| favicon | Valgfritt Fil | - |
| opengraph | Valgfritt Fil | - |
| description | Valgfritt Streng | - |
| secondary_button_name | Valgfritt Streng | - |
| secondary_button_url | Valgfritt Streng | - |
| custom_css | Valgfritt Streng | - |
| custom_js | Valgfritt Streng | - |
| ads_header | Valgfritt Streng | - |
| ads_footer | Valgfritt Streng | - |
| link_unlock_seconds | Valgfritt Heltall | - |
| auto_redirect | Valgfritt Boolsk | - |
curl --request POST \
--url 'https://ezbiolink.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://ezbiolink.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://ezbiolink.com/api/splash-pages/{splash_page_id}
curl --request DELETE \
--url 'https://ezbiolink.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://ezbiolink.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \