# Get NDA template

URL: /en/docs/api/v1/nda-templates/id/get
Last Updated: 2026-07-30T21:15:30.240Z

## Description
No description available.

## Available Actions
- Execute GET request
- View request parameters
- View response schema
- Get code examples
- Navigate to related topics
- View step-by-step instructions
- Get best practices

## Content
### GET /api/v1/nda-templates/{id}

**Get NDA template**

Retrieve a specific NDA template by ID

**Authentication:** Bearer token (`Authorization: Bearer <token>`)

**Path parameters:**

| Name | Type | Required | Description |
|---|---|---|---|
| `id` | string (uuid) | Yes | Template ID |

**Query parameters:**

| Name | Type | Required | Description |
|---|---|---|---|
| `include_versions` | boolean | No | Include version information in the response |
| `version` | string (uuid) | No | Specific version ID to retrieve |

**Responses:**

- `200` - Successful response
  - `template` (NdaTemplate (object))
    - `id` (string (uuid)): Unique identifier for the template
    - `tenant` (string (uuid)): Tenant ID
    - `title` (string): Template title
    - `type` (enum: standard | bilateral | unilateral | multilateral): Agreement type
    - `content_markdown` (string): NDA content in markdown format
    - `status` (enum: draft | published | archived): Template status
    - `language` (enum: en-US | de-DE | fr-FR): Template language
    - `validity_in_months` (integer): Validity period in months
    - `hasActiveVersion` (boolean): Whether this template has an active version
    - `date_created` (string (date-time)): Creation timestamp
    - `date_updated` (string (date-time)): Last update timestamp
    - `user_created` (string): User who created the template
    - `user_updated` (string): User who last updated the template
  - `activeVersion` (DirectusVersion (object)): The currently active version
    - `id` (string (uuid)): Version ID
    - `key` (string): Version key (e.g., "v1", "draft_1706189400000")
    - `name` (string): Version name (e.g., "v1", "v2")
    - `collection` (string): Collection name ("nda_templates")
    - `item` (string (uuid)): Template ID this version belongs to
    - `hash` (string): Version hash
    - `delta` (object): Version-specific data overrides
      - `title` (string): Template title (if different from base)
      - `type` (enum: standard | bilateral | unilateral | multilateral): Agreement type (if different from base)
      - `content_markdown` (string): NDA content (if different from base)
      - `language` (enum: en-US | de-DE | fr-FR): Template language (if different from base)
      - `validity_in_months` (integer): Validity period (if different from base)
      - `status` (enum: draft | published): Version status
      - `is_active` (boolean): Whether this is the active version
    - `date_created` (string (date-time)): Version creation timestamp
    - `date_updated` (string (date-time)): Version last update timestamp
    - `user_created` (string): User who created the version
    - `user_updated` (string): User who last updated the version
  - `versions` (array of DirectusVersion (object)): All versions of this template (if include_versions=true)
    - `id` (string (uuid)): Version ID
    - `key` (string): Version key (e.g., "v1", "draft_1706189400000")
    - `name` (string): Version name (e.g., "v1", "v2")
    - `collection` (string): Collection name ("nda_templates")
    - `item` (string (uuid)): Template ID this version belongs to
    - `hash` (string): Version hash
    - `delta` (object): Version-specific data overrides
      - `title` (string): Template title (if different from base)
      - `type` (enum: standard | bilateral | unilateral | multilateral): Agreement type (if different from base)
      - `content_markdown` (string): NDA content (if different from base)
      - `language` (enum: en-US | de-DE | fr-FR): Template language (if different from base)
      - `validity_in_months` (integer): Validity period (if different from base)
      - `status` (enum: draft | published): Version status
      - `is_active` (boolean): Whether this is the active version
    - `date_created` (string (date-time)): Version creation timestamp
    - `date_updated` (string (date-time)): Version last update timestamp
    - `user_created` (string): User who created the version
    - `user_updated` (string): User who last updated the version
  - `currentVersion` (DirectusVersion (object)): The specific version being viewed (if version param provided)
    - `id` (string (uuid)): Version ID
    - `key` (string): Version key (e.g., "v1", "draft_1706189400000")
    - `name` (string): Version name (e.g., "v1", "v2")
    - `collection` (string): Collection name ("nda_templates")
    - `item` (string (uuid)): Template ID this version belongs to
    - `hash` (string): Version hash
    - `delta` (object): Version-specific data overrides
      - `title` (string): Template title (if different from base)
      - `type` (enum: standard | bilateral | unilateral | multilateral): Agreement type (if different from base)
      - `content_markdown` (string): NDA content (if different from base)
      - `language` (enum: en-US | de-DE | fr-FR): Template language (if different from base)
      - `validity_in_months` (integer): Validity period (if different from base)
      - `status` (enum: draft | published): Version status
      - `is_active` (boolean): Whether this is the active version
    - `date_created` (string (date-time)): Version creation timestamp
    - `date_updated` (string (date-time)): Version last update timestamp
    - `user_created` (string): User who created the version
    - `user_updated` (string): User who last updated the version
  - `hasPublishedVersion` (boolean): Whether the template has any published versions

  Example (Basic template response):
  
  ```json
  {
  "template": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "tenant": "123e4567-e89b-12d3-a456-426614174000",
    "title": "Standard Bilateral NDA",
    "type": "bilateral",
    "content_markdown": "# Non-Disclosure Agreement\n\nThis agreement...",
    "status": "published",
    "language": "en-US",
    "hasActiveVersion": true,
    "date_created": "2024-01-15T10:30:00Z",
    "date_updated": "2024-01-15T10:30:00Z"
  },
  "hasPublishedVersion": true
}
  ```

  Example (Template with versions):
  
  ```json
  {
  "template": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "tenant": "123e4567-e89b-12d3-a456-426614174000",
    "title": "Standard Bilateral NDA",
    "type": "bilateral",
    "content_markdown": "# Non-Disclosure Agreement\n\nThis agreement...",
    "status": "published",
    "language": "en-US",
    "hasActiveVersion": true,
    "date_created": "2024-01-15T10:30:00Z",
    "date_updated": "2024-01-15T10:30:00Z"
  },
  "activeVersion": {
    "id": "0d5340f6-8095-47e7-946b-5fad86710e96",
    "key": "v2",
    "name": "v2",
    "delta": {
      "status": "published",
      "is_active": true
    }
  },
  "versions": [
    {
      "id": "4f7e8a9b-1234-5678-9abc-def012345678",
      "key": "v1",
      "name": "v1",
      "delta": {
        "status": "published",
        "is_active": false
      }
    },
    {
      "id": "0d5340f6-8095-47e7-946b-5fad86710e96",
      "key": "v2",
      "name": "v2",
      "delta": {
        "status": "published",
        "is_active": true
      }
    },
    {
      "id": "7c8d9e0f-4321-8765-fedc-ba0987654321",
      "key": "draft_1706189400000",
      "name": "v3",
      "delta": {
        "status": "draft",
        "is_active": false
      }
    }
  ],
  "hasPublishedVersion": true
}
  ```
- `401` - Unauthorized
  - `error` (string): Error message
- `404` - Not found
  - `error` (string): Error message
- `500` - Internal server error
  - `error` (string): Error message

**Code samples:**

Get NDA Template:

```cURL
curl -X GET https://app.orbiqhq.com/api/v1/nda-templates/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer $TRUST_CENTER_API_KEY"

```

