---
title: "Mark doc group as favorite"
method: POST
path: "/v2/document-groups/{document_group_id}/favorites"
---

# Mark doc group as favorite

`POST /v2/document-groups/{document_group_id}/favorites`

## Request

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

This endpoint allows API users to add a document group to favorites.

## Response `201`

The document group has been added to favorites. The response body is empty.

## Other responses

- `400`: * Invalid request with {document_group_unique_id} where user is not owner of document group (the user did not create the document group). * Request with incorrect or missing token. * Invalid request with {document_group_unique_id} when DG is placed not in the Documents folders(Archive, Shared or Trash).
- `403`: Invalid request with {document_group_unique_id} where user does not have access to the document group.
- `404`: Invalid request with non-existent document group unique id.

---

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