Skip to main content

Canonical Contact

The CanonicalContact model represents a user’s profile in the ContactsManager ecosystem. This is the server-side representation of a user that can be used for social features, recommendations, and cross-device syncing.

Properties

Identity

  • id: String - Unique identifier for the user
  • organizationId: String? - Organization the user belongs to
  • organizationUserId: String - User identifier within the organization

User Information

  • fullName: String - User’s full name
  • email: String? - User’s email address
  • phone: String? - User’s phone number
  • avatarUrl: String? - URL to user’s profile image

Status

  • isActive: Bool? - Whether the user account is active
  • createdAt: Date? - When the user profile was created
  • updatedAt: Date? - When the user profile was last updated

Metadata

  • contactMetadata: [String: Any]? - Custom metadata for the user profile

Usage Example