Ana Sayfa / API

Geliştirici

HTTP API

Temel adres https://osim.live/api/v1 — uçlar canlıdır. Anahtar panelden alınır.

POST/api/v1/sms

Bearer. action: purchase (SMS onay) | rent | smart-buy | status | cancel | complete. Call verify yok. Katalog: GET ?catalog=1

{
  "action": "purchase",
  "service": "whatsapp",
  "countryId": 12
}
GET/api/v1/sms

Siparişleri listeler (Bearer). Katalog ve fiyatlar anahtarsız: GET /api/v1/sms?catalog=1

POST/api/v1/esim

Plan kodu ile eSIM tahsis eder. Yanıtta LPA ve QR adresi vardır.

{ "action": "purchase", "packageCode": "..." }

Kimlik

Authorization: Bearer <anahtar>. Anahtar panel hesap sayfasından üretilir.

Panelde anahtar