Skip to main content
GET
/
v0
/
entities
/
{entity_id}
Get entity
curl --request GET \
  --url https://api.getlemma.com/v0/entities/{entity_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "entity_k7mXp2vR9nTfBw4s",
  "name": "Riverside Family Medicine",
  "structure": "professional_llc",
  "npi": "1234567890",
  "lockbox_address": {
    "name": "ATTN: ABC123",
    "line1": "2261 Market St",
    "line2": "Ste 1234",
    "city": "San Francisco",
    "state": "CA",
    "postalCode": "94114"
  }
}
Returns detailed information about a single entity, including the mailing address for their lockbox.

Path parameters

entity_id
string
required
The ID of the entity. You can find entity IDs using the List entities endpoint.

Response

Returns an entity object.
id
string
Unique identifier for the entity.
name
string
The name of the entity or practice.
structure
string
The entity’s legal structure. One of professional_corporation, professional_llc, llc, partnership, sole_prop, mso, or nonprofit.
npi
string | null
The entity’s 10-digit National Provider Identifier.
lockbox_address
object
The mailing address for the entity’s lockbox.
Use the lockbox address to direct payers to send checks and correspondence for this entity. Mail sent to this address is automatically scanned and available via the mail endpoint.
{
  "id": "entity_k7mXp2vR9nTfBw4s",
  "name": "Riverside Family Medicine",
  "structure": "professional_llc",
  "npi": "1234567890",
  "lockbox_address": {
    "name": "ATTN: ABC123",
    "line1": "2261 Market St",
    "line2": "Ste 1234",
    "city": "San Francisco",
    "state": "CA",
    "postalCode": "94114"
  }
}