Skip to main content
POST
/
networks
/
supplements
Create Data Supplement
curl --request POST \
  --url https://api.eflow.team/v1/networks/supplements \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "unix_timestamp": 1704067200,
  "supplement_source": "appsflyer",
  "network_offer_id": 100,
  "network_affiliate_id": 200,
  "source_id": "campaign_123",
  "sub1": "ad_group_1",
  "currency_id": "USD",
  "reporting": {
    "cv": 50,
    "revenue": 250,
    "payout": 200,
    "gross_sales": 500
  },
  "relationship": {
    "appsflyer": {
      "appsflyer_campaign_id": "camp_abc",
      "appsflyer_publisher_id": "pub_xyz",
      "appsflyer_event_id": "install"
    }
  }
}
'
{
  "network_data_supplement_id": 123,
  "network_id": 123,
  "unix_timestamp": 123,
  "supplement_source": "<string>",
  "network_offer_id": 123,
  "network_affiliate_id": 123,
  "source_id": "<string>",
  "currency_id": "<string>",
  "reporting": {},
  "time_created": 123
}

Authorizations

X-Eflow-Api-Key
string
header
required

The Everflow API key generated from the Control Center > Security.

Body

application/json
unix_timestamp
integer
required

Unix timestamp for when the supplement data applies.

supplement_source
enum<string>
required

The third-party source of the supplement data.

Available options:
appsflyer,
adjust,
google_ads_cost,
ad_colony_vas,
tiktok_ads_mbc,
generic
network_offer_id
integer
required

The Everflow offer ID to associate the supplement data with.

network_affiliate_id
integer

The Everflow affiliate ID to associate the supplement data with.

source_id
string

Source identifier from the third-party platform.

sub1
string

Sub-parameter 1 value.

sub2
string

Sub-parameter 2 value.

sub3
string

Sub-parameter 3 value.

sub4
string

Sub-parameter 4 value.

sub5
string

Sub-parameter 5 value.

adv1
string

Advertiser parameter 1 value.

adv2
string

Advertiser parameter 2 value.

adv3
string

Advertiser parameter 3 value.

adv4
string

Advertiser parameter 4 value.

adv5
string

Advertiser parameter 5 value.

currency_id
string

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

reporting
object

Reporting metrics to associate with this supplement record. These metrics get merged into your Everflow reporting.

network_offer_payout_revenue_id
integer

Optional payout/revenue setting ID to associate with this supplement.

source_details_json
string

Raw JSON string containing additional source-specific details.

relationship
object

Source-specific relationship data. Include the sub-object matching the supplement_source type.

Response

200 - application/json

OK

network_data_supplement_id
integer

Unique ID of the created supplement record.

network_id
integer

Network ID.

unix_timestamp
integer

Timestamp the supplement data applies to.

supplement_source
string

The source integration type.

network_offer_id
integer
network_affiliate_id
integer
source_id
string
currency_id
string
reporting
object

The reporting metrics.

time_created
integer

Unix timestamp of when the record was created.