0
API calls this month
0
Total API calls
Match rate
Avg response time
Create API Key
Active Keys
No API keys yet. Create one above.
API Reference
POST /api/v1/territory
Check which territory a coordinate or address belongs to.
Request
POST /api/v1/territory
X-API-Key: gfnsr_live_xxxxxxxxxxxx
Content-Type: application/json

{
  "lat": 12.9716,
  "lon": 77.5946,
  "location_id": "YOUR_LOCATION_ID"
}

// OR with address (location_id optional)
{
  "address": "14 MG Road, Bengaluru 560001"
}
Response
{
  "matched": true,
  "territory_id": "uuid",
  "territory_code": "ZONE-A",
  "agent_id": "R-001",
  "agent_name": "Rahul S.",
  "location_id": "uuid",
  "location_name": "Bengaluru South",
  "lat": 12.9716,
  "lon": 77.5946,
  "response_ms": 8
}
Live Test