Base URL
All API requests are made over HTTPS to:| Portal | Prefix | Example |
|---|---|---|
| Network | /v1/networks/ | https://api.eflow.team/v1/networks/offers |
| Affiliate | /v1/affiliates/ | https://api.eflow.team/v1/affiliates/offers |
| Advertiser | /v1/advertisers/ | https://api.eflow.team/v1/advertisers/offers |
| Marketplace | /v1/partners/ | https://api.eflow.team/v1/partners/connections |
Content type
All request and response bodies use JSON (application/json). When sending data via POST, PUT, or PATCH, set the request body as JSON.
Export and streaming endpoints may return CSV data when format: "csv" is specified in the request.
Versioning
The API is currently on v1. The version is included in the URL path (/v1/). Breaking changes are communicated in advance — existing integrations on v1 will continue to work.
Date and time formats
The API uses two date/time conventions depending on context:Request parameters
Date filters in request bodies use theYYYY-MM-DD string format:
YYYY-MM-DD HH:MM:SS format for more precise filtering.
Response timestamps
All timestamps in response bodies are Unix epoch integers (seconds since January 1, 1970):time_created, time_saved, and time_updated.
IDs
All resource IDs are integers:Monetary values
All monetary values are represented as decimals in full currency units — not cents:25.00 means 0.25.
Booleans
Booleans use standard JSONtrue / false:
Enums
Enum values are lowercase strings with underscores:| Field | Possible values |
|---|---|
offer_status | active, paused, pending, deleted |
account_status | active, inactive, pending, suspended |
visibility | public, require_approval, private |
Null handling
The API follows proto3 conventions. Fields that have no value are set to their default zero value rather thannull:
| Type | Default value |
|---|---|
| Integer | 0 |
| String | "" (empty string) |
| Boolean | false |
| Array | [] (empty array) |
Response structure
Single resource
A single resource is returned directly as a JSON object:Single resource with relationships
When you request related data using therelationship query parameter, the response includes a nested relationship object:
List / search responses
Listing endpoints return an array of items alongside apaging object:
offers, affiliates, advertisers). See Paging for pagination details.
Reporting responses
Reporting endpoints return atable array with columns and reporting metrics per row, plus an optional summary:
incomplete_results is set to true.