User lookup by ID
GET
/2/users/{id}This endpoint returns information about a user. Specify user by ID.
Request
Path Params
id
string
required
Required. A User ID.
Example:
2244994945
Query Params
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