Páginas de Splash
GET https://urlx.space/api/splash-pages/
curl --request GET \
--url 'https://urlx.space/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://urlx.space/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
| Parâmetros | Detalhes | Descrição |
|---|---|---|
| page | Opcional Inteiro | O número da página da qual você deseja os resultados. O padrão é 1. |
| results_per_page | Opcional Inteiro | Quantos resultados você deseja por página. Os valores permitidos são: 10 , 25 , 50 , 100 , 250 , 500 , 1000. O padrão é 25. |
{
"data": [
{
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": null,
"datetime": "2025-10-25 12:47:13",
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://urlx.space/api/projects?page=1",
"last": "https://urlx.space/api/projects?page=1",
"next": null,
"prev": null,
"self": "https://urlx.space/api/projects?page=1"
}
}
GET https://urlx.space/api/splash-pages/{splash_page_id}
curl --request GET \
--url 'https://urlx.space/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://urlx.space/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": null,
"datetime": "2025-10-25 12:47:13",
}
}
POST https://urlx.space/api/projects
| Parâmetros | Detalhes | Descrição |
|---|---|---|
| name | Obrigatório String | - |
| title | Opcional String | - |
| logo | Opcional Arquivo | - |
| favicon | Opcional Arquivo | - |
| opengraph | Opcional Arquivo | - |
| description | Opcional String | - |
| secondary_button_name | Opcional String | - |
| secondary_button_url | Opcional String | - |
| custom_css | Opcional String | - |
| custom_js | Opcional String | - |
| ads_header | Opcional String | - |
| ads_footer | Opcional String | - |
| link_unlock_seconds | Opcional Inteiro | - |
| auto_redirect | Opcional Booleano | - |
curl --request POST \
--url 'https://urlx.space/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://urlx.space/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://urlx.space/api/splash-pages/{splash_page_id}
| Parâmetros | Detalhes | Descrição |
|---|---|---|
| name | Opcional String | - |
| title | Opcional String | - |
| logo | Opcional Arquivo | - |
| favicon | Opcional Arquivo | - |
| opengraph | Opcional Arquivo | - |
| description | Opcional String | - |
| secondary_button_name | Opcional String | - |
| secondary_button_url | Opcional String | - |
| custom_css | Opcional String | - |
| custom_js | Opcional String | - |
| ads_header | Opcional String | - |
| ads_footer | Opcional String | - |
| link_unlock_seconds | Opcional Inteiro | - |
| auto_redirect | Opcional Booleano | - |
curl --request POST \
--url 'https://urlx.space/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://urlx.space/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://urlx.space/api/splash-pages/{splash_page_id}
curl --request DELETE \
--url 'https://urlx.space/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://urlx.space/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \