Create a user
Changed onCreate a user
You should create a user in your Sendbird application to initiate conversations in channels. A user is identified by its unique user ID, and additionally have a changeable nickname, profile image, and so on. Users are at the core of all conversations. Sendbird applications are made up of users who chat in either Open Channels or Group Channels. Using this API, it is possible to have fine grained control over your users and what those users can do. To learn more about users, see User overview.
https://sendbird.com/docs/chat/platform-api/v3/user/creating-users/create-a-user#1-create-a-user
Request
- Base URLhttps://api-APP_ID.sendbird.com
- Authnone declared
Headers
Request body
Response
Successful response
Example response
{
"metadata": "{}",
"is_active": true,
"preferred_languages": [
"preferred_languages",
"preferred_languages"
],
"require_auth_for_profile_image": true,
"unread_channel_count": 6,
"discovery_keys": [
"discovery_keys",
"discovery_keys"
],
"profile_url": "profile_url",
"is_created": true,
"created_at": 9,
"has_ever_logged_in": true,
"locale": "locale",
"unread_message_count": 8,
"access_token": "access_token",
"is_shadow_blocked": true,
"user_id": "user_id",
"nickname": "nickname",
"phone_number": "phone_number",
"is_online": true,
"state": "",
"is_hide_me_from_friends": true,
"last_seen_at": 9
}Changes
- info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the
request property default valuewas added
- info
- warning
deleted the
headerrequest parameterApi-Token - info
api operation id
createUserremoved and replaced withcreateAUser - info
added the new optional
headerrequest parameterapi-token
- warning