Retrieves multiple users by their IDs from X.

This function fetches multiple users from X using their unique IDs. It allows for optional expansions to include additional data in the response. The function returns a promise that resolves to an object containing an array of user data and optional error information.

post/getByIds

Request body

Response

Successful response with user data

Changes