Skip to main content
POST
/
affiliates
/
reporting
/
entity
/
table
/
export
Export Aggregated Data
curl --request POST \
  --url https://api.eflow.team/v1/affiliates/reporting/entity/table/export \
  --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"
    }
  ],
  "format": "csv",
  "query": {
    "filters": []
  }
}
'

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. Format YYYY-MM-DD.

to
string
required

End date. Format YYYY-MM-DD.

timezone_id
integer
required

Timezone identifier.

currency_id
string
required

Currency code for monetary values.

columns
object[]
required

Columns to group/pivot data by.

format
enum<string>
required

Export format.

Available options:
csv,
json
query
object

Response

200

OK. Response format depends on the format parameter.