Skip to content

Networks API

Affiliate networks are the platforms where your offers are hosted (e.g., HasOffers, Everflow, Cake). Networks define postback templates used for conversion tracking.

All endpoints require either a JWT token or an API key (gf_...) in the Authorization header.

MethodPathScopeDescription
GET/api/v1/networksread:networksList all networks
POST/api/v1/networkswrite:networksCreate a network
GET/api/v1/networks/{id}read:networksGet network details
PATCH/api/v1/networks/{id}write:networksUpdate a network
DELETE/api/v1/networks/{id}write:networksDelete a network
Terminal window
curl -X POST https://devcore.getghostflow.io/api/v1/networks \
-H "Authorization: Bearer gf_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"name": "Everflow",
"postbackUrl": "https://www.evtrk.com/postback?click_id={click_id}&amount={payout}",
"notes": "Main CPA network"
}'
Terminal window
curl https://devcore.getghostflow.io/api/v1/networks \
-H "Authorization: Bearer gf_your_api_key"