This guide shows how to get started with core Sendbird developer concepts, including how to create, update, and delete users. These activities are fundamental to Sendbird integration, and a good stepping stone to comprehensive Sendbird development mastery.
We’ll cover how to:
Let’s get started!
At the center of the Sendbird experience are users — entities that connect to Sendbird Chat or Calls via Sendbird’s client-side SDK. A few important things to know about creating users:
With these tips in mind, here’s a little bit more about the Sendbird SDK and user objects.
SDK and user objects
When starting on Sendbird development, users can be logged in without authentication. In production, best practice is to use authentication (access/session tokens).
User Access permissions are controlled via Sendbird Dashboard > Settings > Security
From the SDK, by default, a user can update:
Sendbird also offers the ability to restrict the above preferences to only allow updates to come from the Platform API.
Ready to create users? Keep reading.
Platform API
Create users by Platform API call (how to)
SDK
Pro Tip! When starting out, create 10 users manually in the dashboard, using sequential IDs. User nicknames should be identical to User IDs. |
Users Table
Users are listed in order of newest to oldest created. Click on any User ID to drill down for more details.
User Search
You can also search for users using the User ID, User Nickname or Nickname startswith.
Pro Tip! By default, a list of all users in an application can be fetched 100 at a time via SDK. It’s also possible to categorize the users via their metadata, then fetch categorized users with a metadata filter. However, this default action can be turned off if your security policy prohibits users from being able to fetch all other users. |
Dashboard
Select user’s ID in order to view and update a user’s profile.
SDK
A user can update only their profile image and nickname via Sendbird’s SDKs.
Platform API
All aspects of a user object (profile) can be updated via Platform API including:
Dashboard
It’s possible to delete users one by one or many at a time via the Dashboard. Once a user is deleted, the same user ID can be used to create another user.
SDK
Sendbird’s SDKs do not provide a “delete user” option.
Platform API
Deleting users one by one via Platform API is also possible.
Hopefully, this tutorial has given you a solid grounding in how to create and work with users via the Sendbird SDK. These basics should create a great foundation for your development efforts.
Thanks for using Sendbird to create great chat and messaging applications and helping to better connect people.