Skip to main content
POST
/
affiliates
/
reporting
/
clicks
/
stream
Stream Clicks
curl --request POST \
  --url https://api.eflow.team/v1/affiliates/reporting/clicks/stream \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "from": "2024-01-01 00:00:00",
  "to": "2024-01-14 23:59:59",
  "timezone_id": 67,
  "query": {
    "filters": []
  }
}
'
{
  "clicks": [
    {
      "transaction_id": "<string>",
      "is_unique": true,
      "unix_timestamp": 123,
      "sub1": "<string>",
      "sub2": "<string>",
      "sub3": "<string>",
      "sub4": "<string>",
      "sub5": "<string>",
      "revenue": 123,
      "user_ip": "<string>",
      "relationship": {
        "offer": {
          "network_offer_id": 123,
          "name": "<string>"
        },
        "geo": {
          "country": "<string>",
          "region": "<string>",
          "city": "<string>"
        },
        "device": {
          "platform": "<string>",
          "device_type": "<string>",
          "browser": "<string>"
        }
      }
    }
  ]
}

Authorizations

X-Eflow-Api-Key
string
header
required

The affiliate's API key generated from the Affiliate Portal. Uses the same X-Eflow-Api-Key header as the Network API, but the key belongs to the affiliate user rather than the network admin.

Body

application/json
from
string
required

Start date and time. Format YYYY-mm-DD HH:MM:SS.

to
string
required

End date and time. Format YYYY-mm-DD HH:MM:SS.

timezone_id
integer
required

Timezone identifier for the date range.

query
object

Query configuration with optional filters.

Response

OK

clicks
object[]

Array of click records (max 5,000).