Email ile doğrulama kodu gönder
**Production uyarisi:** Bu endpoint veri degistirir veya operasyon tetikleyebilir. API Playground icinde Production server seciliyse gercek production verisi etkilenir; test icin Development server kullanin. Email adresine 4 haneli doğrulama kodu gönderir. Development ortamında kod response'ta döndürülür.
Production uyarisi: Bu endpoint veri degistirir veya operasyon tetikleyebilir. API Playground icinde Production server seciliyse gercek production verisi etkilenir; test icin Development server kullanin.
Email adresine 4 haneli doğrulama kodu gönderir. Development ortamında kod response'ta döndürülür.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/auth/send-otp-email" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]" }'{
"isSuccess": true,
"statusCode": 201,
"data": {
"email": "[email protected]",
"code": "1234"
},
"errors": [],
"timestamp": "2026-05-22T16:11:27.126Z"
}{
"isSuccess": false,
"statusCode": 400,
"data": null,
"errors": [
"Validation failed"
],
"timestamp": "2026-01-15T10:30:00.000Z"
}{
"isSuccess": false,
"statusCode": 404,
"data": null,
"errors": [
"Resource not found"
],
"timestamp": "2026-01-15T10:30:00.000Z"
}{
"isSuccess": false,
"statusCode": 409,
"data": null,
"errors": [
"Resource already exists or cannot be changed in its current state"
],
"timestamp": "2026-01-15T10:30:00.000Z"
}{
"isSuccess": false,
"statusCode": 500,
"data": null,
"errors": [
"Email gönderilirken hata oluştu"
],
"timestamp": "2026-05-22T16:11:27.126Z"
}Doğrulama kodu ile giriş yap POST
**Production uyarisi:** Bu endpoint veri degistirir veya operasyon tetikleyebilir. API Playground icinde Production server seciliyse gercek production verisi etkilenir; test icin Development server kullanin. Doğrulama kodunu kontrol eder ve JWT token döner. Yeni kullanıcılar için kayıt tamamlanması gerekir.
Email doğrulama kodu ile giriş yap POST
**Production uyarisi:** Bu endpoint veri degistirir veya operasyon tetikleyebilir. API Playground icinde Production server seciliyse gercek production verisi etkilenir; test icin Development server kullanin. Email doğrulama kodunu kontrol eder ve JWT token döner. Yeni kullanıcılar için kayıt tamamlanması gerekir.