App installieren 🪄 klicke auf das Icon oben rechts in der Adressleiste.

Ziele

GET https://flowlite.eu/api/goals/
curl --request GET \
--url 'https://flowlite.eu/api/goals/' \
--header 'Authorization: Bearer {api_key}' \
Parameter Details Beschreibung
website_id Optional Integer
type Optional String Erlaubte Werte: pageview, custom, scroll, scroll_element, click_element, webhook
search Optional String Suchbegriff.
search_by Optional String Feld, in dem gesucht wird. Erlaubte Werte: name, path, key.
datetime_field Optional String Erlaubte Werte: datetime, last_datetime
datetime_start Optional String Filter results starting from this datetime. Y-m-d H:i:s format.
datetime_end Optional String Filter results up to this datetime. Y-m-d H:i:s format.
order_by Optional String Feld, nach dem sortiert wird. Erlaubte Werte: goal_id, last_datetime, datetime, name, path, key, scroll_percentage.
order_type Optional String Sortierreihenfolge: ASC (aufsteigend) oder DESC (absteigend).
page Optional Integer Seitenzahl der Ergebnisse (Standard: 1).
results_per_page Optional Integer Anzahl Ergebnisse pro Seite. Erlaubte Werte: 10, 25, 50, 100, 250, 500, 1000 (Standard: 25).
{
    "data": [
        {
            "id": 1,
            "website_id": 1,
            "user_id": 1,
            "key": "123456789",
            "type": "custom",
            "path": null,
            "scroll_percentage": null,
            "scroll_selector": null,
            "click_selector": null,
            "value": null,
            "webhook_url": null,
            "name": "Example",
            "last_datetime": null,
            "datetime": "2026-10-19 08:35:55"
        }
    ],
    "meta": {
        "page": 1,
        "total_pages": 1,
        "results_per_page": 25,
        "total_results": 1
    },
    "links": {
        "first": "https://flowlite.eu/api/goals?page=1",
        "last": "https://flowlite.eu/api/goals?page=1",
        "next": null,
        "prev": null,
        "self": "https://flowlite.eu/api/goals?page=1"
    }
}
GET https://flowlite.eu/api/goals/{goal_id}
curl --request GET \
--url 'https://flowlite.eu/api/goals/{goal_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "website_id": 1,
        "user_id": 1,
        "key": "123456789",
        "type": "custom",
        "path": null,
        "scroll_percentage": null,
        "scroll_selector": null,
        "click_selector": null,
        "value": null,
        "webhook_url": null,
        "name": "Example",
        "last_datetime": null,
        "datetime": "2026-10-19 08:35:55"
    }
}
POST https://flowlite.eu/api/goals
Parameter Details Beschreibung
website_id Erforderlich Integer -
type Erforderlich String Erlaubte Werte: pageview, custom, scroll, scroll_element, click_element, webhook
name Erforderlich String -
path Optional String Verfügbar wenn: type = pageview, scroll, scroll_element, click_element
scroll_percentage Optional Integer Verfügbar wenn: type = scroll
scroll_selector Erforderlich String Verfügbar wenn: type = scroll_element. The goal converts when the first matching element enters the viewport, including when already in view on page load. Enter a valid CSS selector with up to 1024 characters.
click_selector Erforderlich String Verfügbar wenn: type = click_element. The goal converts when a visitor clicks any matching element, including an icon or text inside it. Enter a valid CSS selector with up to 1024 characters.
value Optional Float Optional amount saved with each new conversion. Leave empty to track conversions without a value. Use the same unit or currency across this website. Enter a nonnegative value below 10000000000000 with up to 2 decimal places.
key Optional String -
curl --request POST \
--url 'https://flowlite.eu/api/goals' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'website_id=1' \
--form 'name=Example' \
--form 'type=click_element' \
--form 'path=blog/*' \
--form 'click_selector=.buy-button' \
{
    "data": {
        "id": 1,
        "website_id": 1,
        "user_id": 1,
        "key": "123456789",
        "type": "click_element",
        "path": "/blog/*",
        "scroll_percentage": null,
        "scroll_selector": null,
        "click_selector": ".buy-button",
        "value": null,
        "webhook_url": null,
        "name": "Example",
        "last_datetime": null,
        "datetime": "2026-10-19 08:35:55"
    }
}
POST https://flowlite.eu/api/goals/{goal_id}
Parameter Details Beschreibung
website_id Optional Integer -
type Optional String Erlaubte Werte: pageview, custom, scroll, scroll_element, click_element, webhook
name Optional String -
path Optional String Verfügbar wenn: type = pageview, scroll, scroll_element, click_element
scroll_percentage Optional Integer Verfügbar wenn: type = scroll
scroll_selector Optional String Verfügbar wenn: type = scroll_element. The goal converts when the first matching element enters the viewport, including when already in view on page load. Enter a valid CSS selector with up to 1024 characters.
click_selector Optional String Verfügbar wenn: type = click_element. The goal converts when a visitor clicks any matching element, including an icon or text inside it. Enter a valid CSS selector with up to 1024 characters.
value Optional Float Optional amount saved with each new conversion. Leave empty to track conversions without a value. Use the same unit or currency across this website. Enter a nonnegative value below 10000000000000 with up to 2 decimal places.
key Optional String -
curl --request POST \
--url 'https://flowlite.eu/api/goals/{goal_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'type=scroll' \
--form 'path=blog/*' \
--form 'scroll_percentage=75' \
{
    "data": {
        "id": 1,
        "website_id": 1,
        "user_id": 1,
        "key": "123456789",
        "type": "scroll",
        "path": "/blog/*",
        "scroll_percentage": 75,
        "scroll_selector": null,
        "click_selector": null,
        "value": null,
        "webhook_url": null,
        "name": "Example",
        "last_datetime": "2026-10-19 08:35:55",
        "datetime": "2026-10-19 08:35:55"
    }
}

Send a POST request to the private webhook URL shown when editing your goal. JSON and form data are supported. An empty POST also records a conversion.

Webhook goals return a private webhook_url in the response. Use this URL to submit conversions without an API key.

Submit a value to record an actual amount, or omit it to use the configured conversion value. Only the conversion time and value are stored. Each accepted POST counts separately, including repeated requests. Webhook conversions are not linked to visitors, sessions, or page events.

POST https://flowlite.eu/pixel-webhook/{webhook_key}
curl --request POST \
--url 'https://flowlite.eu/pixel-webhook/{webhook_key}' \
--header 'Content-Type: application/json' \
--data '{"value":49.90}'
{"message":"","status":"success","details":[]}
DELETE https://flowlite.eu/api/goals/{goal_id}
curl --request DELETE \
--url 'https://flowlite.eu/api/goals/{goal_id}' \
--header 'Authorization: Bearer {api_key}' \