🔌
API Access — Pro & Enterprise Plans
The Eastlink Enterprise API allows your systems to send conversions directly, list campaigns, query analytics, and receive real-time webhooks. Upgrade to Pro or Enterprise to unlock full API access.
—
API Calls This Month
—%
Success Rate
—
Active API Keys
🔑 API Keys
Keys authenticate your systems to the Eastlink API. Never share your keys publicly.
🔑
Loading API keys...
📈 API Usage (Last 30 Days)
Daily request volume across all API keys.
🔔 Webhook Settings
Eastlink will POST events to your URL in real-time. Use webhooks to sync conversions instantly.
Eastlink will POST JSON payloads to this URL for selected events.
—
Use this secret to verify webhook payloads using HMAC-SHA256. Validate the
X-Eastlink-Signature header.⚡ Quick Start — Record a Conversion
Copy and integrate into your system to start tracking conversions automatically.
// Record a conversion via Eastlink API const response = await fetch( 'https://api.eastlink.africa/v1/conversions', { method: 'POST', headers: { 'X-API-Key': 'elk_live_your_key_here', 'Content-Type': 'application/json' }, body: JSON.stringify({ campaignId: 'your_campaign_id', affiliateId: 'affiliate_id_from_tracking_link', conversionType: 'sale', saleValue: 150.00, currency: 'USD', orderId: 'ORDER-12345' // prevents duplicates }) } ); const result = await response.json(); console.log(result.data.conversionId); // conv_abc123
import requests response = requests.post( 'https://api.eastlink.africa/v1/conversions', headers={ 'X-API-Key': 'elk_live_your_key_here', 'Content-Type': 'application/json' }, json={ 'campaignId': 'your_campaign_id', 'affiliateId': 'affiliate_id_from_tracking_link', 'conversionType': 'sale', 'saleValue': 150.00, 'currency': 'USD', 'orderId': 'ORDER-12345' } ) data = response.json() print(data['data']['conversionId'])
$ch = curl_init(); curl_setopt_array($ch, [ CURLOPT_URL => 'https://api.eastlink.africa/v1/conversions', CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_HTTPHEADER => [ 'X-API-Key: elk_live_your_key_here', 'Content-Type: application/json' ], CURLOPT_POSTFIELDS => json_encode([ 'campaignId' => 'your_campaign_id', 'affiliateId' => 'affiliate_id_from_tracking_link', 'conversionType' => 'sale', 'saleValue' => 150.00, 'currency' => 'USD', 'orderId' => 'ORDER-12345' ]) ]); $response = json_decode(curl_exec($ch)); echo $response->data->conversionId;