---
title: "Create doc group template from doc group"
method: POST
path: "/v2/document-groups/{doc_group_id}/document-group-template"
---

# Create doc group template from doc group

`POST /v2/document-groups/{doc_group_id}/document-group-template`

## Request

- Base URL: `https://api.signnow.com`
- URL: `https://api.signnow.com/v2/document-groups/{doc_group_id}/document-group-template`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/signnow/apis/signnow-api/docs/v2/document-groups/:doc_group_id/document-group-template/post.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows API users to create a document group template from a document group in any status. The result is one document group template and a separate template for each document in the group.

To collect signatures, create a document group from the template with [Create doc group from template](/docs/document-group-template/operations/post-v2-document-group-templates-unique-id-document-group), then send that group. For the full flow, see [Documents, doc groups, and templates](/docs/entities).

**Notes**

* The template is created asynchronously. It appears in the specified folder once processing is complete.
* The template must be saved to the **Templates** folder or any of its subfolders.

## Request body

- object
  - `name` string, required: Name for a new Document group template.
  - `folder_id` string: The folder where to save the new Document group template. Must be saved to a Templates folder or any of its sub-folders.

## Response `202`

The document group template creation has been scheduled. The response body is empty. The template appears in the specified folder once processing is complete.

## Other responses

- `400`: * Authorization issues: invalid token of user, expired token of user, empty header, authorization = null, authorization without value. * Incorrect type of name field. * Unsupported symbols in the name field. * Length of the name field is too long. * Incorrect type of folder_id field. * Incorrect value of folder_id field. * Empty name field. * With non-Template(or its sub-folder) folder_id.
- `403`: * Forbidden access to the document group. * Forbidden access to the provided folder.
- `404`: * Folder does not exist. * Document group does not exist or is deleted.

---

[API](https://skmtc.dev/signnow/apis/signnow-api.md) - [All operations](https://skmtc.dev/signnow/apis/signnow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/signnow/apis/signnow-api/revisions/1c9c30a6142b?raw)
