Skip to main content
POST
/
affiliates
/
reporting
/
entity
/
stream
Stream Reporting Data
curl --request POST \
  --url https://api.eflow.team/v1/affiliates/reporting/entity/stream \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "from": "2024-01-01",
  "to": "2024-01-31",
  "timezone_id": 67,
  "currency_id": "USD",
  "columns": [
    {
      "column": "offer"
    }
  ],
  "query": {
    "filters": []
  }
}
'
{
  "table": [
    {
      "columns": [
        {}
      ],
      "reporting": {}
    }
  ]
}

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 for the reporting period. Format YYYY-MM-DD.

to
string
required

End date for the reporting period. Format YYYY-MM-DD.

timezone_id
integer
required

Timezone identifier for the request.

currency_id
string
required

Currency code for monetary values (e.g. "USD").

columns
object[]
required

Columns to group/pivot data by.

query
object

Query configuration.

Response

200 - application/json

OK. Response is streamed incrementally.

table
object[]

Array of reporting data rows (streamed).