GET
/
users
/
{user_id}
curl --request GET \
  --url https://app.getcensus.com/api/v1/users/{user_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "data": {
    "id": 123,
    "email": "john.doe@example.com",
    "created_at": "2023-08-20T10:00:00Z",
    "role": "admin"
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authorization using your Personal Access Token. Generate a new PAT on your user settings page.

Path Parameters

user_id
integer
required

ID of the user

Response

200 - application/json
status
enum<string>
required

The outcome of the request

Available options:
success
data
object
required