> For the complete documentation index, see [llms.txt](https://doc.youverify.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.youverify.co/api-reference/api-reference/entity-management/get-entity-using-id.md).

# Get Entity using ID

This endpoint allows you to retrieve an entity using the entity ID, this can either be a business or an individual.

<mark style="color:blue;">`GET`</mark> `{{baseurl}}/v2/api/entities/:entityId`

#### Headers

| Name                                    | Type   | Description      |
| --------------------------------------- | ------ | ---------------- |
| token<mark style="color:red;">\*</mark> | String | API secret token |

#### Parameter

| Field                                      | Type   | Description                    |
| ------------------------------------------ | ------ | ------------------------------ |
| entityId<mark style="color:red;">\*</mark> | String | Id of the entity being fetched |

{% tabs %}
{% tab title="Get Entity Sample Response (Individual)" %}

```json
{
     "success": true,
    "status_code": 200,
   "message": "Entity fetched successfully!",
    "data": {
      "_id": "685c73c8519d82bd21a42fae",
          "businessId": "61d880f1e8e15aaf24558f1a",
          "firstName": "Jack",
          "lastName": "Frost",
          "entityType": "individual",
          "dateOfBirth": "1999-10-02",
          "phone": "07030000001",
          "taxId": null,
          "gender": "male",
          "status": "not_approved",
          "profileStatus": "pending",
          "createdBy": "61f162ec1fd251c3a63f31c2",
          "isOnboarded": true,
          "potentialEntityMatch": null,
          "createdAt": "2025-06-25T22:10:16.862Z",
          "lastModifiedAt": "2025-06-25T22:10:16.862Z",
          "_createdAt": "2025-06-25T23:10:1616+01:00",
          "_lastModifiedAt": "2025-06-25T23:10:1616+01:00",
          "object": "entity",
          "id": "ent_685c73c8519d82bd21a42fae"
    },
    },
  "links": []
}
```

{% endtab %}

{% tab title="Get all Entities Sample Response (Business)" %}

```json
{
  "success": true,
  "status_code": 200,
  "message": "Entity fetched successfully!",
  "data": {
        "parentId": null,
        "businessId": "61d880f1e8e15aaf24558f1a",
        "entityType": "business",
        "incorporationNumber": "RC00000000",
        "incorporationName": "John Doe Inc",
        "incorporationDate": "2017-06-09T01:00:00.000+01:00",
        "incorporationSubmissionDate": "2017-05-31T11:22:07.713+00:00",
        "vatNumber": "00000000-0001",
        "dateDisolved": null,
        "address": "1ST FLOOR,SUM HOUSE,Fake Street",
        "businessType": "PRIVATE COMPANY LIMITED BY SHARES",
        "sharesValue": "0.01 NGN",
        "shareCapitalInWords": "TEN MILLION NAIRA",
        "description": "Information service activities",
        "companyStatus": "ACTIVE",
        "paidShareCapital": "10000000",
        "subscribedShareCapital": "10000000",
        "phone": "+1 000 000 0000",
        "sharesIssued": "10000000",
        "email": "johnfakedoe@gmail.com",
        "incorporationCity": "YABA",
        "incorporationState": "LAGOS",
        "formerIncorporationName": null,
        "taxId": "00000000-0001",
        "jtbTin": null,
        "status": "not_approved",
        "profileStatus": "pending",
        "nationality": "Nigeria",
        "incorporationCountry": "NG",
        "createdBy": "61f162ec1fd251c3a63f31c2",
        "isOnboarded": true,
        "isUbo": false,
        "companyContactPersons": [
            {
                "contacts": {
                    "email": [
                        "jeneki2000@yahoo.co.uk"
                    ],
                    "phone": [
                        "08034926354"
                    ]
                },
                "name": "Eboikpomwen  Eki "
            }
        ],
        "potentialEntityMatch": null,
        "createdAt": "2022-11-03T14:16:54.235Z",
        "lastModifiedAt": "2022-11-03T14:16:54.235Z",
        "ubos": [
            {
                "mappingId": "68752fe4cb5d385786d32d00",
                "sharePercentage": 0,
                "sharesCount": 9990000,
                "designation": "SHAREHOLDER",
                "principalOwner": false,
                "entityId": "68752fe4cb5d385786d32cfc",
                "firstName": "DOE",
                "lastName": "JANE",
                "email": null,
                "phone": null,
                "dateOfBirth": null
            },
            {
                "mappingId": "68752fe4cb5d385786d32cfe",
                "sharePercentage": 0,
                "sharesCount": null,
                "designation": "PERSONS WITH SIGNIFICANT CONTROL",
                "principalOwner": true,
                "entityId": "68752fe3cb5d385786d32cfa",
                "firstName": "DOE",
                "lastName": "JOHN",
                "email": null,
                "phone": null,
                "dateOfBirth": null
            },
            {
                "mappingId": "68752fe3cb5d385786d32cf8",
                "sharePercentage": 0,
                "sharesCount": null,
                "designation": "WITNESS",
                "principalOwner": false,
                "entityId": "68752fe3cb5d385786d32cec",
                "firstName": "DOE",
                "lastName": "PETER",
                "email": "",
                "phone": "",
                "dateOfBirth": null
            },
            {
                "mappingId": "68752fe3cb5d385786d32cf6",
                "sharePercentage": 0,
                "sharesCount": null,
                "designation": "SECRETARY_COMPANY",
                "principalOwner": false,
                "entityId": "68752fe3cb5d385786d32cea",
                "firstName": "DOE",
                "lastName": "SUSAN",
                "email": "",
                "phone": "",
                "dateOfBirth": null
            },
            {
                "mappingId": "68752fe3cb5d385786d32cf3",
                "sharePercentage": 0,
                "sharesCount": null,
                "designation": "DIRECTOR",
                "principalOwner": false,
                "entityId": "68752fe3cb5d385786d32ce8",
                "firstName": "DOE",
                "lastName": "MICHAEL",
                "email": null,
                "phone": null,
                "dateOfBirth": null
            },
            {
                "mappingId": "68752fe3cb5d385786d32cf2",
                "sharePercentage": 0,
                "sharesCount": 9990000,
                "designation": "SHAREHOLDER",
                "principalOwner": false,
                "entityId": "68752fe3cb5d385786d32ce6",
                "incorporationName": "JANE DOE  INC",
                "incorporationCountry": "UNITED STATES",
                "email": null,
                "phone": null
            },
            {
                "mappingId": "68752fe3cb5d385786d32cee",
                "sharePercentage": 0,
                "sharesCount": null,
                "designation": "PERSONS WITH SIGNIFICANT CONTROL",
                "principalOwner": true,
                "entityId": "68752fe3cb5d385786d32ce2",
                "incorporationName": "JOHN DOE INC",
                "incorporationCountry": "UNITED STATES",
                "email": null,
                "phone": null
            },
            {
                "mappingId": "68752fe3cb5d385786d32cef",
                "sharePercentage": 0,
                "sharesCount": 10000,
                "designation": "SHAREHOLDER",
                "principalOwner": false,
                "entityId": "68752fe3cb5d385786d32ce4",
                "firstName": "DOE",
                "lastName": "JOHN",
                "email": null,
                "phone": null,
                "dateOfBirth": null
            }
        ],
        "id": "ent_68752fe2cb5d385786d32cde",
        "object": "entity"
      },
   "links": []
 }
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.youverify.co/api-reference/api-reference/entity-management/get-entity-using-id.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
