Custom domains
GET https://flowlite.eu/api/domains/
curl --request GET \
--url 'https://flowlite.eu/api/domains/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://flowlite.eu/api/domains/' \
--header 'Authorization: Bearer {api_key}' \
| Parameters | Details | Description |
|---|---|---|
| page | Optional Integer | The page number that you want results from. Defaults to 1. |
| results_per_page | Optional Integer | How many results you want per page. Allowed values are: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Defaults to 25. |
{
"data": [
{
"id": 1,
"visitor_uuid": "4b3a71aeed5a4400913b84f38a11b6bf",
"website_id": 1,
"goals_conversions_ids": null,
"ip": "123.123.123.123",
"custom_parameters": {
"name": "John",
"website": "example.com"
},
"continent_code": "EU",
"country_code": "RO",
"city_name": "Bucharest",
"os_name": "OS X",
"os_version": "10.15.7",
"browser_name": "Chrome",
"browser_version": "140.0.0.0",
"browser_language": "en",
"browser_timezone": "UTC",
"device_type": "desktop",
"theme": "light",
"total_sessions": 10,
"last_event_id": 1,
"last_date": null,
"date": "2025-12-06 06:38:09"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://flowlite.eu/api/domains?page=1",
"last": "https://flowlite.eu/api/domains?page=1",
"next": null,
"prev": null,
"self": "https://flowlite.eu/api/domains?page=1"
}
}
GET https://flowlite.eu/api/domains/{domain_id}
curl --request GET \
--url 'https://flowlite.eu/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://flowlite.eu/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"visitor_uuid": "4b3a71aeed5a4400913b84f38a11b6bf",
"website_id": 1,
"goals_conversions_ids": null,
"ip": "123.123.123.123",
"custom_parameters": {
"name": "John",
"website": "example.com"
},
"continent_code": "EU",
"country_code": "RO",
"city_name": "Bucharest",
"os_name": "OS X",
"os_version": "10.15.7",
"browser_name": "Chrome",
"browser_version": "140.0.0.0",
"browser_language": "en",
"browser_timezone": "UTC",
"device_type": "desktop",
"theme": "light",
"total_sessions": 10,
"last_event_id": 1,
"last_date": null,
"date": "2025-12-06 06:38:09"
}
}
POST https://flowlite.eu/api/domains
| Parameters | Details | Description |
|---|---|---|
| host | Required String | - |
| custom_index_url | Optional String | - |
| custom_not_found_url | Optional String | - |
curl --request POST \
--url 'https://flowlite.eu/api/domains' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=example.com' \
--form 'custom_index_url=https://example.com/' \
--form 'custom_not_found_url=https://example.com/404-page'
--url 'https://flowlite.eu/api/domains' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=example.com' \
--form 'custom_index_url=https://example.com/' \
--form 'custom_not_found_url=https://example.com/404-page'
{
"data": {
"id": 1
}
}
POST https://flowlite.eu/api/domains/{domain_id}
| Parameters | Details | Description |
|---|---|---|
| host | Optional String | - |
| custom_index_url | Optional String | - |
| custom_not_found_url | Optional String | - |
curl --request POST \
--url 'https://flowlite.eu/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=example.com' \
--url 'https://flowlite.eu/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=example.com' \
{
"data": {
"id": 1
}
}
DELETE https://flowlite.eu/api/domains/{domain_id}
curl --request DELETE \
--url 'https://flowlite.eu/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://flowlite.eu/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \