# Get a carrier

> GET /api/public/v1/carriers/{id}, scope directory.read. Techvia TMS public API v1 reference.

Source: https://techvia.software/docs/tms/reference/carriers/get-a-carrier/

`GET /api/public/v1/carriers/{id}`

**Scope:** `directory.read`. **MCP tool:** `get_carrier`. Rules and edge cases: [Carriers guide](/docs/tms/guides/directory/).

## Parameters

| Name | In | Type | Required | Notes |
|---|---|---|---|---|
| `id` | path | string (uuid) | yes |  |

## Responses

| Status | Meaning | Body |
|---|---|---|
| `200` | OK | `PublicCarrier` |
| `404` | Not Found | `ProblemDetails` |

### `200` body

| Field | Type | Notes |
|---|---|---|
| `id` | string (uuid) |  |
| `name` | string |  |
| `mcNumber` | string |  |
| `dotNumber` | string |  |
| `status` | enum CarrierStatus | One of `Active`, `Inactive` |
| `insuranceExpiry` | string (date) |  |
| `phone` | string |  |
| `email` | string |  |
| `scac` | string |  |
| `rowVersion` | integer |  |

Errors are RFC 7807 problem details; see [Errors](/docs/tms/concepts/errors/).

**Example request**

**curl**

```bash
curl "https://tms-api.techvia.software/api/public/v1/carriers/$ID" \
  -H "Authorization: Bearer $TMS_KEY"
```

**JavaScript**

```js
const id = '...'; // from a list or read call
const res = await fetch(`https://tms-api.techvia.software/api/public/v1/carriers/${id}`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.TMS_KEY}`,
  },
});
if (!res.ok) throw new Error(await res.text());
console.log(await res.json());
```

**Python**

```python

id = "..."  # from a list or read call
res = requests.request(
    "GET",
    f"https://tms-api.techvia.software/api/public/v1/carriers/{id}",
    headers={"Authorization": f"Bearer {os.environ['TMS_KEY']}"},
)
res.raise_for_status()
print(res.json())
```

**Example response** `200`

```json
{
  "id": "01a20943-7a10-7c11-8a2e-000000000040",
  "name": "Ironhorse Transport",
  "mcNumber": "992344",
  "dotNumber": "2841937",
  "status": "Active",
  "insuranceExpiry": "2027-03-31",
  "phone": "214-555-0188",
  "email": "dispatch@ironhorse.example",
  "scac": "IRHT",
  "rowVersion": 512
}
```

<p class="ep-caption">Illustrative values.</p>
