Skip to main content
GET
/
v1
/
person
/
{person_id}
JavaScript
import Openregister from 'openregister';

const client = new Openregister({
  apiKey: 'My API Key',
});

const response = await client.person.getDetailsV1('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');

console.log(response.id);
{
  "id": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "date_of_birth": "<string>",
  "age": 123,
  "city": "<string>",
  "management_positions": [
    {
      "register_id": "<string>",
      "company_name": "<string>",
      "role": "<string>",
      "start_date": "<string>",
      "end_date": "<string>"
    }
  ]
}

Get person information

Authorizations

Authorization
string
header
required

API Key Authentication Provide your API key as a Bearer token in the Authorization header.

Path Parameters

person_id
string<uuid>
required

The id of the person

Response

Successfully retrieved person data

id
string
required

Unique person identifier. Example: cc78ab54-d958-49b8-bae7-2f6c0c308837

first_name
string
required

First name of the person.

last_name
string
required

Last name of the person.

date_of_birth
string<date-only> | null
required

Date of birth of the person. Format: ISO 8601 (YYYY-MM-DD) Example: "1990-01-01"

age
integer | null
required

Age of the person.

city
string
required

City of the person.

management_positions
object[]
required

Management positions of the person.

I