---
title: "Zvaliduje dáta voči definícii formulára"
method: POST
path: "/api/eform/validate"
tags: ["Zasielanie podaní"]
---

# Zvaliduje dáta voči definícii formulára

`POST /api/eform/validate`

## Request

- Base URL: `https://fix.slovensko-sk-api.staging.slovensko.digital`
- URL: `https://fix.slovensko-sk-api.staging.slovensko.digital/api/eform/validate`
- Auth: HTTP bearer

Zvaliduje dáta voči definícii formulára.

## Query parameters

- `identifier` string, required
- `version` string, required

## Request body

- object
  - `form` string, xml, required: Dáta formulára vo formáte XML.

## Response `200`

Úspešne zvalidované dáta voči definícii formulára.

- object
  - `valid` boolean, required
  - `errors` string[]

## Changes

- **2021-01-22** `39464695fc7b`: 4 breaking, 1 info
  - added the new required `query` request parameter `identifier`
  - added the new required `query` request parameter `version`
  - request body became required
  - removed the media type `application/x-www-form-urlencoded` from the request body
  - …1 more
- **2020-02-19** `8702b6a8aae8`: 3 warning, 1 info
  - deleted the `query` request parameter `data`
  - deleted the `query` request parameter `identifier`
  - deleted the `query` request parameter `version`
  - added optional request body
- **2019-09-02** `13363364a402`: 2 info
  - the endpoint scheme security `API Token` was added to the API
  - the endpoint scheme security `API token` was removed from the API
- **2019-03-12** `790927c8b0f2`: 1 info
  - for the `query` request parameter `version`, the format was generalized from `JWT` to no format
- **2019-03-06** `486329dc1cf6`: 1 info
  - the endpoint scheme security `API + OBO token` was removed from the API

[Operation history](https://skmtc.dev/slovensko-digital/apis/slovensko-sk-api/changes/api/eform/validate/post.md)

---

[API](https://skmtc.dev/slovensko-digital/apis/slovensko-sk-api.md) - [All operations](https://skmtc.dev/slovensko-digital/apis/slovensko-sk-api/llms.txt) - [OpenAPI document](https://skmtc.dev/slovensko-digital/apis/slovensko-sk-api/revisions/e8ab6a2875b7?raw)
