Data ModelsUser

User Object

The User object represents a user within Replyke, containing essential properties for identification, authentication, and metadata storage.

Properties

PropertyTypeDescription
idstringUnique identifier for the user in Replyke.
referenceIdstring | nullUnique identifier for the user in an external user system.
emailstring | nullUser’s email address.
namestring | nullUser’s display name.
usernamestring | nullUser’s unique username.
avatarstring | nullURL to the user’s avatar image.
biostring | nullUser’s bio (limited to 300 characters).
birthdateDate | nullUser’s birthdate.
reputationnumberManaged by Replyke based on user activity.
location{ type: "Point", coordinates: [number, number] } | nullOptional GeoJSON location with longitude and latitude.
metadataRecord<string, any>Custom metadata (max size: 10KB).
secureMetadataRecord<string, any>Secure custom metadata (max size: 10KB), excluded from entities and comments.
suspension{ isSuspended: boolean, reason: string | null, startDate: Date | null, endDate: Date | null }Suspension status, reason, and duration (null for indefinite).
createdAtDateUser creation date.

This table provides a structured view of the User object, ensuring consistency across different client integrations. The metadata fields allow for extensibility, while location and suspension provide additional contextual data when applicable.