---
title: "Get user"
description: "Use GET /users/{user} to retrieve one user. The current public operation is User.find.users_user."
canonical: https://docs.ordering.co/api-reference/guides/get-user/
---

# Get user

> **API operation:** [Open the endpoint in Scalar](https://docs.ordering.co/api-reference/#tag/users/GET/users/{user})

Use `GET /users/{user}` to retrieve one user. The current public operation is `User.find.users_user`.

The archived route named its final integer parameter `user_id`; the current route and controller use `user` in the same position. The HTTP method and fixed resource path are otherwise identical.

Administrators and agents can retrieve other users. Other callers may be limited to their own user record; business-manager access can depend on role permissions.

Use `params` only for fields and relations supported by the current operation.

![Legacy API explorer example](https://docs.ordering.co/assets/images/75d85e781b50fbbd128f2ab16b7be61709ee4dff6fdaaac790e7bff4c4f7cfa1-395dceef35f9d4689a5aeed2309c4a26.png)

## Legacy SDK example

```javascript
const response = await ordering.users(userId).get();
```

Confirm the SDK package and version before using this historical helper.

## OpenAPI reference

**Operation:** `GET /users/{user}`

**Path parameters**

| Name   | Type    | Required | Description |
| ------ | ------- | -------- | ----------- |
| `user` | integer | Yes      | —           |

**Query parameters**

| Name                  | Type   | Required | Description                                                                                                                |
| --------------------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------- |
| `params`              | string | No       | Comma-separated list of fields. It is intersected with the model’s $fillable; an empty or invalid list returns all fields. |
| `delivery_block_from` | string | No       | —                                                                                                                          |
| `delivery_block_to`   | string | No       | —                                                                                                                          |

**Responses**

| Code | Description                           |
| ---- | ------------------------------------- |
| 200  | OK (UserResponse)                     |
| 400  | Bad Request (ErrorResponse)           |
| 401  | Unauthorized                          |
| 404  | Not Found                             |
| 429  | Too Many Requests (ErrorResponse)     |
| 500  | Internal Server Error (ErrorResponse) |
| 503  | Service Unavailable (ErrorResponse)   |

[Open this operation in the API reference](https://docs.ordering.co/api-reference/#tag/users/GET/users/{user})
