---
title: "Get Attorney"
method: GET
path: "/attorneys/{attorney_id}"
tags: ["Attorneys", "Entities"]
---

# Get Attorney

`GET /attorneys/{attorney_id}`

## Request

- Base URL: `https://api.lexmachina.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.lexmachina.com/attorneys/{attorney_id}`
- Auth: HTTP bearer

Gets data for a single attorney.

- **attorney_id**: the Lex Machina attorneyId

## Path parameters

- `attorney_id` integer, required

## Response `200`

Success

- union
  - AttorneyData
    - `name` string, required
    - `attorneyId` integer, required
  - AttorneyReference: Indicates that the Lex Machina attorney id input was has changed, the inputId is the ID given that should map to the returned attorneyId.
    - `name` string, required
    - `attorneyId` integer, required
    - `url` string, required
    - `inputId` integer, required

## Other responses

- `401`: Invalid or expired token
- `404`: Not found
- `422`: Error - 422

---

[API](https://skmtc.dev/lexmachina/apis/lex-machina-api.md) - [All operations](https://skmtc.dev/lexmachina/apis/lex-machina-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lexmachina/apis/lex-machina-api/revisions/9ebaec5d3551?raw)
