Skip to main content
POST
/
affiliates
/
reporting
/
conversions
Conversion Report
curl --request POST \
  --url https://api.eflow.team/v1/affiliates/reporting/conversions \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "from": "2024-01-01",
  "to": "2024-01-31",
  "timezone_id": 67,
  "show_conversions": true,
  "show_events": true,
  "query": {
    "filters": []
  }
}
'
{
  "conversions": [
    {
      "network_conversion_id": 123,
      "transaction_id": "<string>",
      "conversion_unix_timestamp": 123,
      "revenue": 123,
      "sale_amount": 123,
      "conversion_status": "<string>",
      "event_name": "<string>",
      "sub1": "<string>",
      "sub2": "<string>",
      "sub3": "<string>",
      "sub4": "<string>",
      "sub5": "<string>",
      "relationship": {
        "offer": {},
        "geo": {},
        "device": {}
      }
    }
  ],
  "paging": {
    "page": 123,
    "page_size": 123,
    "total_count": 123
  }
}

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 for the date range.

show_conversions
boolean
default:true

Include conversion records in the response.

show_events
boolean
default:false

Include post-conversion event records in the response.

query
object

Query configuration with optional filters.

Response

200 - application/json

OK

conversions
object[]

Array of conversion/event records.

paging
object