Skip to content
Last updated

Get welcome details for the authenticated user, including organization information for onboarding.

GET/v1/user/welcomedetails

Returns

FieldTypeDescription
namestringOrganization name or user's name
logostring | nullOrganization logo URL (null if not set)
emailstring | nullContact 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
Bash
curl -X GET \
  "https://api.aitronos.com/v1/user/welcomedetails" \
  -H "X-API-Key: $FREDDY_API_KEY"

Response:

{
  "name": "Aitronos",
  "logo": "https://aitronos.com/logo.png",
  "email": "admin@aitronos.com"
}