Skip to main content

User overview

A user is an app user who holds a valid access token and connects to the Nexconn messaging service. This page covers user registration, management, and related concepts.

Register a user

Your app server provides a user ID to the Server API and receives an access token in return. This process is called user registration and must be done through the Server API.

The client app must have a valid access token to connect to the messaging service. When the app sends a connection request, the server verifies the token against its records.

Registration limits:

  • Development environment: Up to 100 registered users.
  • Production environment: Unlimited registered users with Starter or Pro plan.

Delete a user

Deleting a user removes a test user from the development environment only. This operation is not available in the production environment.

Deactivate a user

Deactivating a user removes all user data from the service. Use this for account deletion features to meet compliance requirements.

After deactivation, all data associated with the user ID is deleted. You can query all deactivated user IDs and reactivate a deactivated user ID if needed (user data cannot be recovered).

These operations are available through the Server API only.

User profiles

You can call the related profile APIs to store user profiles (name, avatar, group nickname, and so on) on the Nexconn server. Nexconn does not automatically import your app-side user data, so your app remains responsible for writing and maintaining that data through these APIs.

Friendships

You can call the related friendship APIs to maintain friend relationships in Nexconn. The messaging service does not automatically import or sync friendship data from your app server, so your app server must create and maintain that data through these APIs.

Without friendship management, your app server must enforce any additional direct-message restrictions on its own.

With friendship management enabled, non-friends can still send messages by default. To restrict messaging to friends only, enable Restrict direct messaging to friends in the Console under Chat > Chat settings > Friend.

User management APIs

FeatureClient APIServer API
Register a userNot availableRegister user
Delete a userNot availableNot available
Expire tokensNot availableExpire token
Deactivate a userNot availableDeactivate user
Query deactivated usersNot availableQuery deactivated users
Reactivate a userNot availableReactivate user
Get user info (server)Not availableGet info
Update user info (server)Not availableUpdate info
Block a userNot availableBlock, Unblock, Query blocked
Check online statusNot availableCheck online