List legal persons
Changed onReturns a paginated list of all legal persons for the given organization.
By default, results are sorted descending by created-at (newest first). To sort ascending by created-at, provide a ?sort=created-at query parameter.
Request
- Base URLhttps://api.griffin.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
For each legal person returned, include its latest verification (if one exists), any roles in companies (significant control or directorship), and/or its latest risk rating (if one exists) in the response under the included attribute.
Return only legal persons with the given legal-person-status.
Return only legal persons with the given application-status.
Return only legal persons with the given attributes.
A base64 encoded opaque string returned in paginated responses.
A base64 encoded opaque string returned in paginated responses.
Response
OK
Example response
{
"legal-persons": [
{
"latest-decision": {
"verification-url": "/v0/verifications/vn.IHZlcmlmaWNhdGlvbi1pZA",
"decision-user-url": "/v0/users/ur.ICAgICAgICAgdXNlci1pZA",
"decision-user-username": "user@example.com"
},
"latest-risk-rating-url": "/v0/risk-ratings/rr.ICByaXNrLXJhdGluZy1pZA",
"display-name": "Company name"
}
]
}Changes
- info
api operation id
get-organizations-organization-id-legal-personswas added
- info