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>" } ] }
API Key Authentication Provide your API key as a Bearer token in the Authorization header.
The id of the person
Successfully retrieved person data
The response is of type object.
object