GET
/api/public/v1/legal-entities/{legalEntityId}Get a legal entity
Retrieve a single legal entity by ID.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
legalEntityId | string | Required | Legal entity ID. |
GETExample request
curl
curl -X GET "https://www.pxb.app/api/public/v1/legal-entities/{legalEntityId}" \
-H "X-Organization-Id: your_org_id" \
-H "X-API-Key: your_api_key"200Example response
json
{
"message": "Legal entity retrieved successfully!",
"content": {
"legalEntity": {
"id": "le_abc",
"name": "Acme Holdings",
"type": "LLC"
}
}
}