ClickToEarn Developer API v1

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.

Bearer API Key99.99% REST UptimeHMAC-SHA256 Webhooks
Quick Start Code Snippet
# 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.

Generate API Key in Dashboard
GET
/api/v1/walletAuth
Get Wallet Balances

Returns available and pending credits and withdrawable USD cash balances.

POST
/api/v1/campaignsAuth
Create Social Campaign

Reserves campaign credits safely and distributes tasks to authenticated human members.

GET
/api/v1/campaigns/{id}Auth
Get Campaign Progress

Track verified actions, completion velocity, and remaining campaign budget.

POST
/api/v1/tasks/verifyAuth
Verify Worker Task

Server-side verification webhook that approves tasks and credits balances.

POST
/api/v1/webhooksAuth
Register Webhook Listener

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.

campaign.completed

Fires when all requested campaign actions have been verified.

payout.settled

Notifies your server when a withdrawal request is settled by finance.

fraud.strike_detected

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.

دخولابدأ الآن