curl --location --request POST 'https://devapi.immigraflow.com/v1/users' \
--header 'X-API-KEY: <api-key>' \
--header 'X-API-SECRET: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "user@example.com",
"name": "string",
"phone": "string",
"notify_by_email": true,
"notify_by_whatsapp": false
}'{
"success": true,
"verification_required": true,
"message": "User created. Email verification is required before case registration.",
"verification_delivery": {
"channel": "ntfy",
"sent": true
},
"user": {
"id": 1,
"email": "user@example.com",
"name": "John Doe",
"phone": "+1-555-123-4567",
"email_verified_at": null,
"notify_by_email": true,
"notify_by_whatsapp": false,
"status": "inactive",
"created_at": "2026-04-20 14:21:57",
"updated_at": "2026-04-20 14:21:57",
"preferred_language": "en"
}
}