Skip to main content
The timestamp_format property controls how dates and times appear in the deliverable’s audit log. It uses MomentJS format tokens. If not specified, the account’s default timestamp format is used. Set your account default in the dashboard settings.

Setting the timestamp format for an envelope

// POST https://api.signatureapi.com/v1/envelopes
// X-API-Key: key_test_...
// Content-Type: application/json

{
  "title": "Service Agreement",
  "timestamp_format": "MM/DD/YYYY HH:mm:ss",
  "documents": [
    //...
  ],
  "recipients": [
    //...
  ]
}

Format tokens

Use these tokens to build a timestamp format string:
TokenDescription
YYYYYear (four digits)
MMMonth (two digits)
DDDay (two digits)
HHHour (24-hour clock)
hhHour (12-hour clock)
mmMinutes
ssSeconds
Supported date separators: /, -, ., or a space. Supported time separators: : or ..

Common formats

FormatExample outputCommon usage
MM/DD/YYYY HH:mm:ss12/31/2025 23:59:59United States
DD/MM/YYYY HH:mm:ss31/12/2025 23:59:59Europe, Australia
YYYY-MM-DD HH:mm:ss2025-12-31 23:59:59ISO 8601
MM/DD/YYYY hh:mm:ss12/31/2025 11:59:59 PMUnited States (12-hour)
DD.MM.YYYY HH:mm.ss31.12.2025 23:59.59Germany, Eastern Europe