Páginas de splash
GET https://virt.cards/api/splash-pages/
curl --request GET \
--url 'https://virt.cards/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://virt.cards/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ê quer resultados. Padrão é 1 . |
results_per_page | Opcional Inteiro | Quantos resultados por página você deseja. Valores permitidos: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Padrão é 25 . |
{ "data": [ { "id": 1, "name": "Development", "color": "#0e23cc", "last_datetime": null, "datetime": "2025-09-13 18:03:16", }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://virt.cards/api/projects?page=1", "last": "https://virt.cards/api/projects?page=1", "next": null, "prev": null, "self": "https://virt.cards/api/projects?page=1" } }
GET https://virt.cards/api/splash-pages/{splash_page_id}
curl --request GET \
--url 'https://virt.cards/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://virt.cards/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "name": "Development", "color": "#0e23cc", "last_datetime": null, "datetime": "2025-09-13 18:03:16", } }
POST https://virt.cards/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://virt.cards/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://virt.cards/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://virt.cards/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://virt.cards/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://virt.cards/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://virt.cards/api/splash-pages/{splash_page_id}
curl --request DELETE \
--url 'https://virt.cards/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://virt.cards/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \