gaogaoGao Kaptan Docsv0.90.x
API Referansı

Auth & Firma

Kimlik doğrulama, oturum, profil ve firma (KYB, takım) uçları.

Kimlik doğrulama, oturum, profil ve firma (KYB, takım) uçları.

Tüm yollar https://kaptan.isnet.net.tr tabanına görecelidir. Korumalı uçlar Authorization: Bearer <token> başlığı ister.

/

MethodYolAçıklama
GET/api/v1/Tek kayıt getir
GET/api/v1/Tek kayıt getir

/auth

MethodYolAçıklama
POST/api/v1/auth/change-passwordOluştur
POST/api/v1/auth/forgot-passwordOluştur
POST/api/v1/auth/loginGiriş yap
POST/api/v1/auth/logoutÇıkış yap
POST/api/v1/auth/logout-allTüm oturumları kapat
GET/api/v1/auth/profileProfil
PUT/api/v1/auth/profileProfil
POST/api/v1/auth/refreshToken yenile
POST/api/v1/auth/registerKayıt ol
POST/api/v1/auth/reset-passwordOluştur
GET/api/v1/auth/sessionsOturumlar
DELETE/api/v1/auth/sessions/*Sil

/companies

MethodYolAçıklama
POST/api/v1/companies/applyFirma bilgisi gönder
POST/api/v1/companies/internet/requestTalep
GET/api/v1/companies/invitesDavetler
POST/api/v1/companies/invitesDavetler
POST/api/v1/companies/invites/:invite_id/revokeOluştur
POST/api/v1/companies/invites/acceptDaveti kabul et
GET/api/v1/companies/meBilgilerim
GET/api/v1/companies/membersÜyeler
DELETE/api/v1/companies/members/:user_idSil
PATCH/api/v1/companies/members/:user_id/roleRol
PATCH/api/v1/companies/members/:user_id/spending-limitHarcama limiti
POST/api/v1/companies/registerKayıt ol

/events

MethodYolAçıklama
GET/api/v1/events/streamAkış (SSE)

/notifications

MethodYolAçıklama
GET/api/v1/notificationsListele
DELETE/api/v1/notifications/:idSil
POST/api/v1/notifications/:id/readOluştur
POST/api/v1/notifications/broadcastOluştur
POST/api/v1/notifications/read-allTümünü okundu işaretle
GET/api/v1/notifications/streamAkış (SSE)

/platform

MethodYolAçıklama
GET/api/v1/platform/pagesListele

/users

MethodYolAçıklama
POST/api/v1/users/me/internet-access/requestTalep

Örnekler

Giriş yap — POST /api/v1/auth/login

curl -s -X POST https://kaptan.isnet.net.tr/api/v1/auth/login \
  -H "Content-Type: application/json" \
  -d '{"email_or_username":"kullanici","password":"••••••••"}'

Yanıt

{ "success": true, "data": { "access_token": "<JWT>", "refresh_token": "...", "token_type": "bearer", "expires_in": 3600 } }

Firma bilgisi gönder (KYB) — POST /api/v1/companies/apply

curl -s -X POST https://kaptan.isnet.net.tr/api/v1/companies/apply \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"company_type":"SAHIS","legal_name":"Örnek Yazılım","tckn":"<11 hane>","city":"İstanbul","district":"Kadıköy","address_line":"...","authorized_name":"Ad Soyad","authorized_tckn":"<11 hane>"}'

Yanıt

{ "success": true, "data": { "status": "pending_verification" }, "message": "Bilgiler alındı, doğrulama bekleniyor" }
Bu sayfa yardımcı oldu mu?

On this page