---
title: "Create hash timestamp"
method: POST
path: "/csc/v0/signatures/timestamp"
tags: ["CSC (v0)"]
---

# Create hash timestamp

`POST /csc/v0/signatures/timestamp`

## Request

- Base URL: `https://one.digicert.com/documentmanager`
- URL: `https://one.digicert.com/documentmanager/csc/v0/signatures/timestamp`
- Auth: one of:
  - API key in header `X-API-Key`
  - OAuth 2
    - Client credentials
    - Token URL: `/imauth/oauth2/token` scopes: `service`
  - OAuth 2
    - Authorization code: `/imauth/oauth2/authorize`
    - Token URL: `/imauth/oauth2/token` scopes: `service`
- TypeScript: <https://skmtc.dev/digicert/apis/digicert-content-trust-manager/docs/csc/v0/signatures/timestamp/post.ts> (a function with typed inputs; its response is checked against the schema)

Use this endpoint to get a base64-encoded timestamp token (as defined in RFC 3161 [2] and updated in RFC 5816 [10]) for a given hash string value.

The following parameters are required in the request body fields:

`hash` — Hash string value.

`hashAlgo` — Hashing algorithm.

## Request body

- TimeStampTokenRequest
  - `nonce` string: Specifies a large random number with a high probability that it is generated by the Signature Application only once.
  - `clientData` string: Arbitrary data from the Signature Application. It can be used to handle a transaction identifier or other application-specific data.
  - `hash` string, required: The Base64-encoded hash value to be time stamped. The Remote Service uses the input value to encode the MessageImprint.hashedMessage value.
  - `hashAlgo` string, required: Specifies the OID of the algorithm used to calculate the hash value. The Remote Service uses the input value to encode the MessageImprint.hashAlgorithm value.

## Response `200`

Timestamp token details

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