validate

Validate a value

Check whether a value is format-valid. Identify the check by validator id (see /validators) or by spec (a country field like de.account, tr.id).

get/validate

Request

  • Base URL: https://sampuli.site/api/v1
  • URL: https://sampuli.site/api/v1/validate
  • Auth: none declared

Query parameters

valuestring required

The value to check.

validatorstring

Validator id (see /validators).

specstring

Country field spec, e.g. de.account or tr.id.

Response

The result.

valueunknown
specstring
validatorstring
labelstring
validboolean nullable
errorstring

Changes

No recorded changes to this operation across all 1 revision of this API.