Batch sync users
POST /stm/srvapi/v1/member/sync
Authentication: required (see Overview)
Pushes users from your system in batches, so that the meeting client can show them in its contact list and let people pick participants from it.
If you only use “Get a login-free token” to join meetings, you do not need to sync first: that endpoint creates the user on the spot when a display name is included.
Up to 1,000 users per request. Users are identified by user_id: a user who does not exist yet is created, and an existing one is updated, so both full and incremental pushes work.
For existing users, nickname, real_name, and department always take the values from the current request (omitting department clears it),
while avatar, mobile, password_hash / salt, and camera_disabled / share_disabled keep their current values when omitted.
Only one sync can run per app at a time. Concurrent calls are rejected with a “too frequent, please wait” error, so push the next batch after the previous one returns.
A failure on one user does not affect the others; results are split by user_id into the success and fail maps.
Request parameters
The request body is a JSON array. The fields of each element are listed below.
Mobile number. For display only and not used to identify the user, which relies solely on
user_id. Leave empty to keep the current value (max length 100)Pass only if the user also needs to sign in to the meeting page with an account and password: the lowercase hex of sha256(password + salt), sent together with
salt. Omit to leave unchanged (max length 100)Organization name, a flat string rather than a hierarchy (max length 100)
Example:
Procurement Dept. 1Disable sharing (screen and whiteboard)
Get a login-free token
POST /stm/srvapi/v1/member/grant
Authentication: required (see Overview)
Call this in real time when the user clicks “Join meeting” to get a login-free token. Add it to the meeting page URL and the user joins without signing in.
data is the token string itself.
When you include nickname and other profile fields, a user who does not exist is created on the spot and an existing one is updated, so you do not need to call “Batch sync users” first.
Just pass the latest display name and avatar each time. Passing only user_id for a user who has never been synced returns an error, because without a display name
the user would have no name in the meeting.
Request parameters
Mobile number. For display only and not used to identify the user, which relies solely on
user_id. Leave empty to keep it unchanged (max length 100)Disable sharing (screen and whiteboard)
Query users and online status
POST /stm/srvapi/v1/member/info
Authentication: required (see Overview)
Queries synced user profiles in batches by user_id. The response includes is_online, which you can use to show online status in your UI.
Nonexistent user_id values are omitted from the response.
Request parameters
Request example:
Sharing disabled
Delete users
POST /stm/srvapi/v1/member/remove
Authentication: required (see Overview)
Deletes users in batches by user_id (for example, when employees leave). A deleted user can no longer get a token to join meetings.
Nonexistent user_id values are ignored.
Request parameters
Request example:
data is null
Response example: