---
updatedAt: 2026-04-20T21:43:36.000Z
agentTools:
  projectIndex: https://docs.dinari.com/llms.txt
---

# Get Entity by ID

Get a specific customer `Entity` of your organization by their ID.

# OpenAPI definition

```json
{
  "info": {
    "description": "**Dinari API for enterprise usage.**\n\nDinari's dShares let businesses offer tokenized access to stocks to their customers through an easy-to-use API.\nIntegrate Dinari's API and offer over a hundred stocks and ETFs to your customers.\n",
    "contact": {
      "email": "hello@dinari.com"
    },
    "license": {
      "name": "Contact us"
    },
    "termsOfService": "https://dinari.com/terms",
    "title": "Dinari Enterprise API",
    "version": "v20261112-5d6c9df"
  },
  "servers": [
    {
      "url": "https://api-enterprise.sbt.dinari.com",
      "description": "Production"
    },
    {
      "url": "https://api-enterprise.sandbox.dinari.com",
      "description": "Sandbox"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyId": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key-Id",
        "description": "The API key ID provided on the [Partners Dashboard](https://partners.dinari.com)."
      },
      "ApiSecretKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Secret-Key",
        "description": "API Secret Key that is only shown once at API Key creation."
      }
    },
    "schemas": {
      "BaseOpenApiError": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "description": "HTTP status code"
          },
          "message": {
            "type": "string",
            "description": "Human-readable message"
          },
          "error_id": {
            "type": "string",
            "description": "Reference Id for Dinari support"
          },
          "error": {
            "description": "Additional context and information"
          }
        },
        "required": [
          "error_id",
          "message",
          "status"
        ],
        "additionalProperties": false
      },
      "EntityType": {
        "type": "string",
        "enum": [
          "INDIVIDUAL",
          "ORGANIZATION"
        ]
      },
      "Entity1": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Unique ID of the `Entity`."
          },
          "is_kyc_complete": {
            "type": "boolean",
            "description": "Indicates if `Entity` completed KYC."
          },
          "entity_type": {
            "enum": [
              "INDIVIDUAL",
              "ORGANIZATION"
            ],
            "description": "Type of `Entity`. `ORGANIZATION` for Dinari Partners and `INDIVIDUAL` for their individual customers.",
            "$ref": "#/components/schemas/EntityType"
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of `Entity`."
          },
          "nationality": {
            "type": [
              "string",
              "null"
            ],
            "description": "Nationality or home country of the `Entity`."
          },
          "reference_id": {
            "type": [
              "string",
              "null"
            ],
            "minLength": 1,
            "maxLength": 100,
            "description": "Case sensitive unique reference ID that you can set for the `Entity`. We recommend setting this to the unique ID of the `Entity` in your system."
          }
        },
        "required": [
          "entity_type",
          "id",
          "is_kyc_complete"
        ],
        "description": "Information about an `Entity`, which can be either an individual or an organization."
      }
    },
    "responses": {
      "DEFAULT_ERROR": {
        "description": "Default error response",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseOpenApiError"
            }
          }
        }
      }
    }
  },
  "paths": {
    "/api/v2/entities/{entity_id}": {
      "get": {
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Entity1"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "tags": [
          "Entities"
        ],
        "summary": "Get Entity by ID",
        "description": "Get a specific customer `Entity` of your organization by their ID.",
        "operationId": "getEntityById",
        "security": [
          {
            "ApiKeyId": [],
            "ApiSecretKey": []
          }
        ]
      },
      "parameters": [
        {
          "in": "path",
          "name": "entity_id",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ]
    }
  },
  "tags": [
    {
      "name": "Entities",
      "description": "**`Entities` represent a business or organization that uses the API, and their customers.**\n\nDinari Partners are represented as an organization `Entity` in the API, with their own accounts.\nIndividual customers of Partner `Entities` are also represented as `Entities` in the API, which are managed by the Partner `Entity`."
    }
  ],
  "openapi": "3.1.0"
}
```