Fetch User
Retrieve details of a specific user.
Request schema
Path parameters
user_id
integerrequired
ID of the user
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Http + 1.1
GET
https://app.getcensus.com/api/v1/users/{user_id}
GET /api/v1/users/{user_id} HTTP/1.1 Authorization: Bearer REPLACE_BEARER_TOKEN Host: app.getcensus.com
Responses
200
success
404
not found
200
status
stringrequired
The outcome of the request
enum:
data
objectrequired
id
integerrequired
Unique identifier for the user.
email
stringrequired
User's email address.
example:
created_at
stringrequired
Timestamp of user account creation.
format:
example:
role
stringrequired
User's role in the organization.
enum:
property name *
undefined
additional property
404
status
integerrequired
Resource not found
enum:
{ "status": "success", "data": { "id": 0, "email": "john.doe@example.com", "created_at": "2023-08-20T10:00:00Z", "role": "admin" } }