---
title: "Get metadata of a document"
method: GET
path: "/document/{document_id}/metadata"
---

# Get metadata of a document

`GET /document/{document_id}/metadata`

## Request

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

This endpoint allows API users to retrieve metadata for a selected document.

## Response `200`

Metadata of the document.

- object
  - `content` object: Metadata as key-value pairs.
  - `updated` string: Unix timestamp of the last update, as a string. `0` if the metadata was never updated.
  - `application_id` string: Internal ID of the application that added the metadata.

## Other responses

- `400`: * Request with bearer token from another user. * Invalid token.
- `404`: Request with `document_id` that doesn’t match the pattern `[a-z0-9]{40}`.

---

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