Goblin โฑโฑโฑFor developersgoblin.ge
Goblin and your systems
Leads from your other tools go straight to the right agent, and Goblin's events come to your address.
Keys
The agency's owner creates an API key under Goblin โ Integrations. It's shown once; only its hash is kept. Send it with every request as Authorization: Bearer gbl_โฆ. When you create it, choose what it may do (send leads, look up listings) and when it expires (30, 90 or 365 days, or never). A key sees only its own agency's data, and never owners' phone numbers.
Send a lead
POST /api/v1/leads. Only phone is required. The lead is routed by the agency's rule (the owner, round robin, or by area); if listing or message holds a listing's ID or link (myhome.ge, ss.ge, korter.ge, binebi.ge, goblin.ge), that listing's agent gets it. 120 leads an hour per key.
curl -X POST https://goblin.ge/api/v1/leads \
-H "Authorization: Bearer gbl_โฆ" \
-H "Content-Type: application/json" \
-d '{
"name": "แแแแ",
"phone": "599123456",
"message": "แแแแแขแแ แแกแแแก https://www.myhome.ge/pr/21234567/",
"listing": "21234567",
"source": "facebook",
"locale": "ka"
}'
โ 201 {"id":"โฆ","assignedTo":"<user id>","listingId":"โฆ"}Find a listing by ID or link
GET /api/v1/listings?ref=โฆ โ the agency's listing that number or link belongs to, and whose it is.
curl "https://goblin.ge/api/v1/listings?ref=https://home.ss.ge/ka/udzravi-qoneba/โฆ-30000001" \
-H "Authorization: Bearer gbl_โฆ"
โ {"listings":[{"id":"โฆ","matched":{"site":"ss","as":"posted","ref":"30000001"},
"agent":{"id":"โฆ","name":"แแแแ แแแแแแแซแ"},"price":120000,"currency":"USD", โฆ}]}Webhooks
Under Integrations, add an https address and pick events: lead.created, deal.won, listing.published. Goblin posts signed JSON; the Test button sends a ping. After 20 failures in a row the webhook is switched off.
POST <your address>
X-Goblin-Event: lead.created
X-Goblin-Signature: sha256=<HMAC-SHA256 of the body with your secret>
X-Goblin-Signature-256: t=<unix seconds>,v1=<HMAC-SHA256 of "t.body" with your secret>
{"event":"lead.created","at":"2026-11-09T10:00:00.000Z",
"data":{"id":"โฆ","source":"api","name":"แแแแ","phone":"599123456",
"message":"โฆ","listingId":"โฆ","assignedTo":"โฆ"}}Checking the signature
// Node.js: check the timed signature before trusting the body
const crypto = require("crypto");
const [t, v1] = req.headers["x-goblin-signature-256"].split(",").map((p) => p.split("=")[1]);
const fresh = Math.abs(Date.now() / 1000 - Number(t)) < 300; // refuse deliveries older than 5 minutes
const expected = crypto.createHmac("sha256", process.env.GOBLIN_SECRET).update(t + "." + rawBody).digest("hex");
const ok = fresh && crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(v1));Zapier
- Leads from Zapier: Webhooks by Zapier โ POST to https://goblin.ge/api/v1/leads with the Authorization header.
- Goblin's events in Zapier: Webhooks by Zapier โ Catch Hook, and paste its address into Goblin's Integrations.
- Facebook lead forms: Facebook Lead Ads โ Webhooks by Zapier (POST) โ Goblin.
