📡 Hướng Dẫn Gọi API Cho Tool / Bot
Sử dụng header X-API-Key: kingbot_secret_api_key_2026 khi gọi API từ Python, Nodejs, C#, Postman.
1. Lấy OTP / Link xác thực mới nhất (Tool Reg Acc):
GET http://localhost:3333/api/v1/mailboxes/{email}/otp
Header: X-API-Key: kingbot_secret_api_key_2026
// Response JSON trả về ngay OTP:
{
"success": true,
"email": "user123@kingbot.net",
"otp": "849201",
"link": "https://service.com/verify?token=..."
}
2. Tạo hàng loạt 50 email:
POST http://localhost:3333/api/v1/mailboxes/bulk
Header: X-API-Key: kingbot_secret_api_key_2026
Body: {"count": 50, "prefix": "user", "tag": "reg_tiktok"}