Developer API & Realtime Webhooks
Programmatically launch campaigns, verify task completions, query double-entry balances, and listen to HMAC-signed event streams with sub-80ms response times.
# 1. Query Real-Time Wallet Balance
curl -X GET "https://clicktoearn.uk/api/v1/wallet" \
-H "Authorization: Bearer c2e_live_sec_9f81a7b..." \
-H "Content-Type: application/json"
# 2. Launch an Automated Social Campaign
curl -X POST "https://clicktoearn.uk/api/v1/campaigns" \
-H "Authorization: Bearer c2e_live_sec_9f81a7b..." \
-H "Content-Type: application/json" \
-d '{
"platform": "instagram",
"action_type": "follow",
"target_url": "https://instagram.com/clicktoearn",
"target_count": 500,
"credits_per_action": 3
}'Core API Endpoints
All endpoints strictly require HTTPS and communicate via UTF-8 JSON payloads.
Returns available and pending credits and withdrawable USD cash balances.
Reserves campaign credits safely and distributes tasks to authenticated human members.
Track verified actions, completion velocity, and remaining campaign budget.
Server-side verification webhook that approves tasks and credits balances.
Receive instant HMAC-SHA256 signed HTTP payloads for platform events.
Supported Webhook Event Triggers
Every payload is signed with your webhook secret using HMAC-SHA256 in the `X-ClickToEarn-Signature` header.
Fires when all requested campaign actions have been verified.
Notifies your server when a withdrawal request is settled by finance.
Alerts when an action clawback occurs due to member unfollow/unlike.
Start Automating with ClickToEarn API
Generate your secure secret key in your User Profile and launch integrations in minutes.