---
title: "Normalize Date"
method: POST
path: "/normalize/date"
tags: ["Normalization"]
---

# Normalize Date

`POST /normalize/date`

## Request

- Base URL: `https://us.app.zuva.ai/api/v2`
- URL: `https://us.app.zuva.ai/api/v2/normalize/date`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/zuva/apis/zuva-docai/docs/normalize/date/post.ts> (a function with typed inputs; its response is checked against the schema)

Normalize dates found within a string, returning an array of date values (day, month, year).

## Request body

- NormalizeDateRequestBody
  - `text` string, required

## Response `200`

See response body for status of request.

- NormalizeDateResponseBody
  - `request_id` string, required
  - `text` string, required
  - `sha-256` string, required
  - `date` DateValues[], required
    - `day` integer, required
    - `month` integer, required
    - `year` integer, required

## Other responses

- `400`: Malformed request, missing/invalid body.

## Changes

- **2022-12-13** `7cace20deba7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zuva/apis/zuva-docai/changes/normalize/date/post.md)

---

[API](https://skmtc.dev/zuva/apis/zuva-docai.md) - [All operations](https://skmtc.dev/zuva/apis/zuva-docai/llms.txt) - [OpenAPI document](https://skmtc.dev/zuva/apis/zuva-docai/revisions/7397ad071d55?raw)
