Skip to main content

Goblin โœฑโœฑโœฑFor developers

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));
01

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.

Start with Goblin

Integrations are in every plan.

Start free