π¨ In Development β This section is still being developed and may change.
POSThttps://api.freddy.aitronos.com/v1/auth/verify
Verify a user's email address for both registration and login flows using a one-time 4-digit code. Successful requests return access and refresh tokens.
Content-Type: application/json
| Field | Type | Required | Description |
|---|---|---|---|
email_key | string | Yes | Verification key returned by registration or login initiation. |
verification_code | integer | Yes | 4-digit code sent to the userβs email. |
is_register | boolean | Yes | true for registration verification, false for login verification. |
device_info | object | No | Additional device metadata for security tracking. |
Show device_info properties
deviceβ Device name (e.g.,Chrome Browser)platformβ One of:web,mobile,desktop,tablet,unknownoperating_systemβ OS name and versiondevice_idβ Unique identifier for the devicelocationβ Human-readable locationlatitudeβ Latitude coordinatelongitudeβ Longitude coordinate
A JSON object containing JWT access/refresh tokens, device info, and user details.
curl -X POST "https://api.freddy.aitronos.com/v1/auth/verify" \
-H "Content-Type: application/json" \
-d '{
"email_key": "uuid-12345678-1234-1234-1234-123456789abc",
"verification_code": 1234,
"is_register": true,
"device_info": {
"device": "Chrome Browser",
"platform": "web",
"operating_system": "macOS 14.1",
"device_id": "device-123"
}
}'