# Get file properties

Returns the properties of a specific template file, including the assigned document class and its metadata values. Does not include the file content.

Endpoint: GET /api/v1/organizations/{organizationId}/templates/{templateId}/files/{fileId}
Version: v1
Security: Bearer, PersonalAccessToken

## Security:

  - `Bearer` (unknown)
    http bearer JWT

  - `PersonalAccessToken` (unknown)
    apiKey in header Personal-Access-Token

## Path parameters:

  - `organizationId` (string, required)
    Unique identifier of the organization

  - `templateId` (string, required)
    Unique identifier of the template

  - `fileId` (string, required)
    Unique identifier of the file

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `documentClass` (object)
    Response containing the document class assigned to a template file.

  - `documentClass.id` (string, required)
    The assigned document class ID.

  - `documentClass.name` (string)
    The document class name, or null if none is assigned.

  - `documentClass.metadata` (array, required)
    The metadata field values for this file.

  - `documentClass.metadata.id` (string, required)

  - `documentClass.metadata.name` (string)

  - `documentClass.metadata.value` (string)
    The text value, or null if not set.

  - `documentClass.metadata.value` (number)
    The numeric value, or null if not set.

  - `documentClass.metadata.value` (string)
    The date value, or null if not set.

  - `documentClass.metadata.value` (string)
    The ID of the selected option, or null if not set.

  - `restrictedVisibilityRecipientIds` (array)
    The IDs of recipients with restricted visibility to this file, or null if not set.

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 400 fields (application/json):

  - `errors` (array, required)

  - `errors.errorId` (string, required)

  - `errors.field` (string)

  - `errors.message` (any, required)

  - `errors.messageEn` (any, required)

  - `errors.additionalData` (object)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `errors` (array, required)

  - `errors.errorId` (string, required)

  - `errors.field` (string)

  - `errors.message` (any, required)

  - `errors.messageEn` (any, required)

  - `errors.additionalData` (object)

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `errors` (array, required)

  - `errors.errorId` (string, required)

  - `errors.field` (string)

  - `errors.message` (any, required)

  - `errors.messageEn` (any, required)

  - `errors.additionalData` (object)

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `errors` (array, required)

  - `errors.errorId` (string, required)

  - `errors.field` (string)

  - `errors.message` (any, required)

  - `errors.messageEn` (any, required)

  - `errors.additionalData` (object)

## Response 422:

  - `422` (unknown)
    Unprocessable Content

## Response 422 fields (application/json):

  - `errors` (array, required)

  - `errors.errorId` (string, required)

  - `errors.field` (string)

  - `errors.message` (any, required)

  - `errors.messageEn` (any, required)

  - `errors.additionalData` (object)

## Response 500:

  - `500` (unknown)
    Internal Server Error

## Response 500 fields (application/json):

  - `errors` (array, required)

  - `errors.errorId` (string, required)

  - `errors.field` (string)

  - `errors.message` (any, required)

  - `errors.messageEn` (any, required)

  - `errors.additionalData` (object)

