# Fetch entity detail

```http
GET https://api.bookkeep.com/v1/entities/:id
```

Retrieves the details of an entity that has previously been created. Supply the unique entity ID that was returned from your previous request, and Bookkeep will return the corresponding entity information.

## Request

### Path Parameters

**id** string required  
Unique identifier for the object.

## Responses

- **200**  
Returns an entity
  
    - application/json
  
    - Schema  
    - Example (auto)
  
**Schema**

**object**

**Default value:** `entity`

**Example:** `entity`

**id** string  
Unique identifier for the Entity object.

**Example:** `qLxe2xNDvgND`

**name** string nullable  
Name of Entity.

**Example:** `Ron's Flowers`

**reports** string[] nullable  
Array of report names for this entity.

**Example:** `[
  "square_summary",
  "square_deposit"
]`

```json
{
  "object": "entity",
  "id": "qLxe2xNDvgND",
  "name": "Ron's Flowers",
  "reports": [
    "square_summary",
    "square_deposit"
  ]
}
```

Returns an error if an invalid identifier was provided.

- **401**
- **404**

- application/json

- Schema  
- Example (auto)

**Schema**

**error** object

**message** string  
**Example:** `Unrecognized request URL`

**type** string  
**Example:** `invalid_request_error`

```json
{
  "error": {
    "message": "Unrecognized request URL",
    "type": "invalid_request_error"
  }
}
```

#### Authorization: http

```plaintext
name: basic_authtype: http
description: The Bookkeep API uses API keys to authenticate requests. 
Your API keys carry many privileges, so be sure to keep them secure!
```

```curl
curl -L -X GET 'https://api.bookkeep.com/v1/entities' \
  -H 'Authorization: Basic ZGlsaXAuYmFpcmFnaUBib29ra2VlcC5jbzpXLlM4NVZGbkJyeEY2QmI='
```

**Authentication Requirements**

- All API requests must be made over HTTPS. Calls made over plain HTTP will fail. 
- API requests without authentication will also fail.
