Security
Security verification management.
Endpoints
POST https://ai-tokenhub.com/v1/security/verify
POST https://ai-tokenhub.com/v1/security/send-code
GET https://ai-tokenhub.com/v1/security/statusSend Code
bash
curl -X POST https://ai-tokenhub.com/v1/security/send-code \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "email",
"recipient": "user@example.com"
}'Verify Code
bash
curl -X POST https://ai-tokenhub.com/v1/security/verify \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "email",
"code": "123456"
}'Verification Types
| Type | Description |
|---|---|
| Email verification | |
| sms | SMS verification |
| totp | TOTP authenticator |
Security Tips
- Enable 2FA: Strongly recommend TOTP 2FA
- Regular Password Changes: Every 90 days
- Login Alerts: Enable login notifications
- Manage Trusted Devices: Regularly review
- Phishing Awareness: Verify website domain