Retrieve a specific legal entity
Retrieves details for a legal entity by ID.
Helpful resources
Required Scopes
- legal-entities.read
Request
Path Parameters
ID of the resource to return
Query Parameters
Expanding objects
Include one or more of these fields in the expand parameter to return nested data.
Fields:parent, company
Responses​
- 200
- 400
- 401
- 403
- 404
Successful response
- application/json
- Schema
- Example (from schema)
Schema
Matches one or more of these formats:
- Format 1
- Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1
Matches one or more of these formats:
- Format 1
- Format 2value objectnullablePossible values: [null]
- Format 1
id stringrequiredIdentifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
parent_legal_entity_id stringThe company's ultimate holding entity.
parent_legal_entity objectnullable
The company's ultimate holding entity.legal_entities_id string[]requiredA list of the company's entities.
legal_entities object[]nullablerequiredA list of the company's entities.
Expandable field
physical_address object
The physical address of the holding entity.type stringThe classification of the address.
Possible values: [HOME,WORK,OTHER]formatted stringThe formatted mailing address.
street_address stringThe full street address component, which may include house number, street name, P.O. box, and multi-line extended street address information, pursuant to SCIM RFC 7643 4.1.2..
locality stringThe city or locality component.
region stringThe state or region component, pursuant to SCIM RFC 7643 4.1.2.
postal_code stringThe zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
country stringThe country component, pursuant to SCIM RFC 7643 4.1.2.
Possible values: [AF,AX,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BQ,BA,BW,BV,BR,IO,BN,BG,BF,BI,CV,KH,CM,CA,KY,CF,TD,CL,CN,CX,CC,CO,KM,CG,CD,CK,CR,CI,HR,CW,CY,CZ,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,SZ,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HM,VA,HN,HK,HU,IS,IN,ID,IQ,IR,IE,IM,IL,IT,JM,JP,JE,JO,KZ,KE,KI,KR,XK,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,MK,MP,NO,OM,PK,PW,PS,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,RO,RU,RW,RE,BL,SH,KN,LC,MF,PM,VC,WS,SM,ST,SA,SN,RS,SC,SL,SG,SX,SY,SK,SI,SB,SO,ZA,GS,SS,ES,LK,SD,SR,SJ,SE,CH,TW,TJ,TZ,TH,TL,TG,TK,TO,TT,TN,TR,TM,TC,TV,UG,UA,AE,GB,US,UM,UY,UZ,VU,VE,VN,VG,VI,WF,EH,YE,ZM,ZW]primary_email stringThe email address used when registering this company.
legal_name stringThe legal name of the company.
doing_business_as_name stringThe doing business as name for the company.
phone stringThe phone number for the company.
name stringrequiredThe name of the company.
- Format 2value objectnullablePossible values: [null]
- Format 1
__meta object
redacted_fields object[]
The name for the redacted field
The reason for the redaction
Identifier field
Record creation date
Record update date
The tax identifier for the legal entity.
country object
The code of the country.
The legal name of the legal entity.
The legal entity's level in a hierarchy. * PARENT: The legal entity is considered the ultimate holding entity. * SUBSIDIARY: The legal entity is considered a subsidiary, fully or partially held by another. * BRANCH: The legal entity is considered a branch, associated with a parent legal entity.
The registration date of the entity.
mailing_address object
The classification of the address.
The formatted mailing address.
The full street address component, which may include house number, street name, P.O. box, and multi-line extended street address information, pursuant to SCIM RFC 7643 4.1.2..
The city or locality component.
The state or region component, pursuant to SCIM RFC 7643 4.1.2.
The zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
The country component, pursuant to SCIM RFC 7643 4.1.2.
physical_address object
The classification of the address.
The formatted mailing address.
The full street address component, which may include house number, street name, P.O. box, and multi-line extended street address information, pursuant to SCIM RFC 7643 4.1.2..
The city or locality component.
The state or region component, pursuant to SCIM RFC 7643 4.1.2.
The zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
The country component, pursuant to SCIM RFC 7643 4.1.2.
The parent legal entity.
parent objectnullable
The legal entity management type in the case of an employer of record (EOR) or professional employment organization (PEO). * PEO: The legal entity is considered a Professional Employment Organization (PEO). * EOR: The legal entity is considered an Employer of Record (EOR).
The company or organization associated with the legal entity
company objectnullable
{
"__meta": {
"redacted_fields": [
{
"name": "date_of_birth",
"reason": "Insufficient entitlements"
}
]
},
"id": "string",
"created_at": "string",
"updated_at": "string",
"tax_identifier": "string",
"country": {
"code": "AF"
},
"legal_name": "string",
"entity_level": "PARENT",
"registration_date": "string",
"mailing_address": {
"type": "HOME",
"formatted": "string",
"street_address": "string",
"locality": "string",
"region": "string",
"postal_code": "string",
"country": "AF"
},
"physical_address": {
"type": "HOME",
"formatted": "string",
"street_address": "string",
"locality": "string",
"region": "string",
"postal_code": "string",
"country": "AF"
},
"parent_id": "string",
"parent": {},
"management_type": "PEO",
"company_id": "string",
"company": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"parent_legal_entity_id": "string",
"parent_legal_entity": {},
"legal_entities_id": [
"string"
],
"legal_entities": [
"string"
],
"physical_address": {
"type": "HOME",
"formatted": "string",
"street_address": "string",
"locality": "string",
"region": "string",
"postal_code": "string",
"country": "AF"
},
"primary_email": "string",
"legal_name": "string",
"doing_business_as_name": "string",
"phone": "string",
"name": "string"
}
}
The request failed validation. The response body describes the error.
- application/json
- Schema
- Example (from schema)
Schema
A human-readable explanation of why the request failed.
{
"detail": "string"
}
Authentication is required or the supplied credentials are invalid.
- application/json
- Schema
- Example (from schema)
Schema
Matches one or more of these formats:
- Format 1ok booleanrequired
Whether the request succeeded. Always false for an authentication error.
Possible values: [false]error stringrequiredA human-readable explanation of why authentication failed.
- Format 2detail stringrequired
A human-readable explanation of the authentication error.
- Format 1
{
"ok": false,
"error": "Incorrect authentication credentials."
}
{
"detail": "string"
}
The caller is not authorized to perform this action.
- application/json
- Schema
- Example (from schema)
Schema
A human-readable explanation of why the request failed.
{
"detail": "string"
}
The requested resource was not found.
- application/json
- Schema
- Example (from schema)
Schema
A human-readable explanation of why the request failed.
{
"detail": "string"
}