# Retrieve the document category configuration template

`GET /lokta-lms/api/v1/documentcategories/template`

Returns the entity types that support document categories and the active category and tag values.

What could be configured: the entity types that support classification, and every active value of the
DocumentCategory and DocumentTags codes.

Not to be confused with GET {entityType}/{entityId}/documents/template, which answers the narrower question of
what one entity's documents may actually be filed as.

## Responses
- `200`: OK

## Response fields
- `documentCategoryOptions` (array of DocumentClassificationValueData)
- `documentTagOptions` (array of DocumentClassificationValueData)
- `entityTypeOptions` (array)

## Example request (cURL)
```bash
curl -X GET \
  'https://default.lokta.tech/lokta-lms/api/v1/documentcategories/template' \
  -u '{username}:{password}' \
  -H 'Tenant-Identifier: default'
```

## Example response
```json
{
  "documentCategoryOptions": [
    {}
  ],
  "documentTagOptions": [
    {}
  ],
  "entityTypeOptions": [
    "string"
  ]
}
```

Interactive: https://developer.lokta.ai/reference#operation/template
