---
title: "Returns user by id"
method: GET
path: "/accounts/users/{contact_id}"
tags: ["accounts"]
---

# Returns user by id

`GET /accounts/users/{contact_id}`

## Request

- Base URL: `http://trackfront-app.local/api/v1`
- URL: `http://trackfront-app.local/api/v1/accounts/users/{contact_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/trackfront/apis/trackfront-v1/docs/accounts/users/:contact_id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `contact_id` integer, required

## Response `200`

successful operation

- User
  - `id` integer
  - `first_name` string
  - `last_name` string
  - `email` string
  - `name` string
  - `organization_name` string
  - `role` Role
    - `id` integer
    - `user_role_id` integer
    - `account_id` integer
    - `name` string
    - `machine_name` string
    - `permission` MachineName[]
      - `id` integer
      - `name` string
      - `machine_name` string
      - `permission` boolean

---

[API](https://skmtc.dev/trackfront/apis/trackfront-v1.md) - [All operations](https://skmtc.dev/trackfront/apis/trackfront-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/trackfront/apis/trackfront-v1/revisions/46087eaf6f2a?raw)
