Agent Panel Integration Guide

Seamlessly connect your private partner panel with eSevaTech Agent Dashboard

Secure • Fast • One-Click Agent Login

Enable your agents to login directly into the eSevaTech Agent Dashboard from your own platform with a single click.

How It Works

1
Generate Secret Key

From your eSevaTech Partner Dashboard

2
Call Our Secure API

Send Partner ID, Agent ID & Secret Key to API URL

3
Instant Auto Login

Agent lands directly in eSevaTech Dashboard

Ready-to-Use Integration Code

<?php
// === YOUR PRIVATE PARTNER PANEL CODE ===

$partner_unique_id = "YOUR_PARTNER_UNIQUE_ID";
$agent_unique_id   = "AGENT_UNIQUE_ID_HERE";
$secret_key        = "YOUR_GENERATED_SECRET_KEY";

$data = [
    'partner_unique_id' => $partner_unique_id,
    'agent_unique_id'   => $agent_unique_id,
    'secret_key'        => $secret_key
];

$ch = curl_init('https://esevatech.in/api/core/main/genLive.php');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);

if ($result && $result['success']) {
    header("Location: " . $result['redirect_url']);
    exit;
} else {
    echo "Error: " . ($result['message'] ?? 'Unknown error');
}
?>

Frequently Asked Questions

How secure is this integration?

Extremely secure. Token is valid for 15 minutes only and can be used once. No sensitive data is exposed in the URL.

Can I integrate this in Node.js, Python, Laravel or any other language?

Yes. The API accepts standard JSON POST request. We can provide code examples for any language.

Ready to Integrate?

Generate your secret key and start connecting agents instantly.

Go to Secret Key Management →