---
title: "Find a configuration"
description: "Use GET /configs/{config} to obtain one configuration by its numeric identifier."
canonical: https://docs.ordering.co/api-reference/guides/get-config/
---

# Find a configuration

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

Use `GET /configs/{config}` to obtain one configuration by its numeric identifier. The operation is `Config.find`.

The archived path named the final parameter `config_id`; the current contract names it `config`. Both represent the same configuration identifier in the same path position.

The route is restricted to server or administrator access. A protected configuration can be returned with its `value` replaced by `PROTECT`. Treat that marker as withheld data, not as the stored configuration value.

Use optional field selection when you need a smaller response.

## Legacy SDK example

```javascript
const response = await ordering.configs(configId).get()
```

Confirm the SDK package and version before using this helper.

## OpenAPI reference

**Operation:** `GET /configs/{config}`

**Path parameters**

| Name     | Type    | Required | Description |
| -------- | ------- | -------- | ----------- |
| `config` | 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. |

**Responses**

| Code | Description                           |
| ---- | ------------------------------------- |
| 200  | OK (Envelope)                         |
| 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/configs/GET/configs/{config})
