---
title: "Enhance document hashes to AES(Advanced electronic signature) compliant hashes"
method: POST
path: "/api/v1/hashes"
tags: ["Advanced electronic signature"]
---

# Enhance document hashes to AES(Advanced electronic signature) compliant hashes

`POST /api/v1/hashes`

## Request

- Base URL: `https://one.digicert.com/documentmanager`
- URL: `https://one.digicert.com/documentmanager/api/v1/hashes`
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/digicert/apis/digicert-content-trust-manager/docs/api/v1/hashes/post.ts> (a function with typed inputs; its response is checked against the schema)

Use this endpoint to enhance document hashes to a specified type of Advanced electronic signature compliant hashes

## Request body

- EnhanceHashRequest
  - `credential_id` string
  - `hashes` string[]
  - `sign_algo` string
  - `advanced_electronic_signature` 'PAdES-B' | 'PAdES-T' | 'CAdES-B' | 'CAdES-T' | 'CAdES-LT'

## Response `200`

Enhanced hashes

- EnhanceHashResponse
  - `hashes` string[]

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `500`: Internal Server Error

---

[API](https://skmtc.dev/digicert/apis/digicert-content-trust-manager.md) - [All operations](https://skmtc.dev/digicert/apis/digicert-content-trust-manager/llms.txt) - [OpenAPI document](https://skmtc.dev/digicert/apis/digicert-content-trust-manager/revisions/8dec322a0e2b?raw)
