User lookup by IDs
GET
/2/usersThis endpoint returns information about users. Specify users by their ID.
Request
Query Params
ids
array[string]
required
Required. A list of User IDs, comma-separated. You can specify up to 100 IDs.
Example:
2244994945,6253282,12
expansions
array[string]
optional
A comma separated list of fields to expand.
tweet.fields
array[string]
optional
A comma separated list of Tweet fields to display.
user.fields
array[string]
optional
A comma separated list of User fields to display.
Request samples
Responses
The request was successful(200)
500(500)
The request was successful
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: 2 years ago