# Get Welcome Details Get welcome details for the authenticated user, including organization information for onboarding. ## Returns | Field | Type | Description | | --- | --- | --- | | `name` | string | Organization name or user's name | | `logo` | string | null | Organization logo URL (null if not set) | | `email` | string | null | Contact email (organization owner's email) | ## Priority Logic 1. Returns organization matching user's email domain (e.g., user `john@acme.com` gets Acme Corporation) 2. If no match, returns first organization in user's list 3. If no organizations, returns user's own details Request ```bash curl -X GET \ "https://api.aitronos.com/v1/user/welcomedetails" \ -H "X-API-Key: $FREDDY_API_KEY" ``` ```python import requests response = requests.get( "https://api.aitronos.com/v1/user/welcomedetails", headers={"Authorization": f"Bearer {FREDDY_API_KEY}"} ) ``` ```javascript const response = await fetch('https://api.aitronos.com/v1/user/welcomedetails', { method: 'GET', headers: { 'Authorization': `Bearer ${FREDDY_API_KEY}` } }); ``` **Response:** 200 OK ```json { "name": "Aitronos", "logo": "https://aitronos.com/logo.png", "email": "admin@aitronos.com" } ``` 200 OK - No Logo ```json { "name": "Startup Inc", "logo": null, "email": "founder@startup.io" } ``` 200 OK - User Fallback ```json { "name": "John Doe", "logo": null, "email": "john.doe@gmail.com" } ``` 401 Unauthorized ```json { "success": false, "error": { "code": "AUTHENTICATION_REQUIRED", "message": "Authentication is required to access this resource.", "status": 401 } } ```