# Get template

Returns a specific template.

Endpoint: GET /api/v1/organizations/{organizationId}/templates/{templateId}
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

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `id` (string, required)
    The template ID.

  - `name` (string)
    The template name.

  - `createdAt` (string, required)
    When the template was created.

  - `updatedAt` (string, required)
    When the template was last updated.

  - `expiration` (any)
    The expiration settings.

  - `expiration.expiresAt` (string)
    The exact expiration date and time.

  - `expiration.mode` (string, required)
    Enum: "Absolute"

  - `expiration.afterSendInSeconds` (integer)
    Seconds after sending before the envelope expires.

  - `expiration.mode` (string, required)
    Enum: "Relative"

  - `reminder` (object)
    Reminder configuration.

  - `reminder.enabled` (boolean, required)
    Whether reminders are enabled.

  - `reminder.firstReminderInDays` (integer, required)
    Days after sending before the first reminder.

  - `reminder.resendIntervalInDays` (integer, required)
    Days between subsequent reminders.

  - `reminder.beforeExpirationInDays` (integer, required)
    Days before expiration to send the last reminder.

  - `stages` (array, required)
    The stages of the template.

  - `stages.id` (string, required)
    The stage ID.

  - `stages.name` (string, required)
    The stage name.

  - `stages.sortOrder` (integer, required)
    The position of the stage in the sequence.

  - `files` (array, required)
    The files of the template.

  - `files.id` (string, required)
    The file ID.

  - `files.name` (string, required)
    The file name.

  - `files.sortOrder` (integer, required)
    The file sort order.

  - `qualifiedTimeStamp` (boolean, required)
    Whether all signatures in the template must use a qualified timestamp server.
    Example: true

  - `signatureFormat` (string, required)
    The signature format for an envelope or template.
    Enum: "Pades", "Cades"

  - `signatureReason` (string)
    The signature reason persisted on the template, or null.
    Example: Approved by Mario Rossi

  - `agreements` (array)
    The agreements per language, or null when no custom agreements are configured.

  - `agreements.language` (string, required)
    The BCP-47 language code for this agreement.
    Example: en

  - `agreements.title` (string)
    The agreement title, or null when not set.
    Example: Please review the agreement

  - `agreements.body` (string, required)
    The agreement body.
    Example: Please read and accept the agreement.

  - `fileRestrictedVisibility` (boolean, required)
    Whether file visibility is restricted per recipient.
    Example: false

  - `afterSendRedirectUrl` (string)
    The URL to redirect to after sending the envelope.
    Example: https://example.com/envelope-sent

## 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)

## Response 200 examples:

  - `PAdES, absolute expiration (default)` (unknown)

  - `PAdES, relative expiration` (unknown)

  - `CAdES` (unknown)

