curl --location '/api/v1/auth/register' \
--header 'Content-Type: application/json' \
--data-raw '{
"user": {
"email": "john.doe@example.com",
"password": "SecurePass123",
"password_confirmation": "SecurePass123",
"full_name": "John Doe",
"phone": "+6281234567890",
"role": "institution"
}
}'{
"success": true,
"data": {
"message": "Registration successful. Please verify your email.",
"user": {
"id": 1,
"email": "john.doe@example.com",
"full_name": "John Doe",
"phone": "+6281234567890",
"role": "institution",
"confirmed": false,
"status": "active"
},
"verification": {
"expires_at": "2025-12-07T12:10:00Z",
"provider": "email"
}
}
}