You are reading the docs for API v2.0, an older version.

Go to v2.1

Validate name data

POSThttps://api.foxentry.com/name/validate

Foxentry allows you to check the validity and real existence of names and their combinations. At least one parameter is required in the query. You can either write down the name separately or use nameSurname as connected parameter.

Pay attention to the query options. Especially validationDepth, which determines how strict the validation should be based on your use case. For example you'd want minimal validationDepth for web forms since you usually don't want to disturb the user too much with error messages and suggestions.

Foxentry validator is able not only to evaluate the validity of the inputed information but it also can fix various typos, errors and missing data. Foxentry can also suggest more suitable alternatives to the data sent in query. Please pay attention to the result, resultCorrected and suggestions in the response.

Always check result.proposal in the response for a proposed solution by Foxentry how you should process the response in your form or application.

Headers

Api-Versionstring
API version the request is sent to. Without it the latest version is used.
Authorizationstringrequired
Your API key, sent as a Bearer token. Same key as in the key box on the right.

Body params

requestobjectrequired
Custom ID assigned by you if you need so.
queryobjectrequired
Parameters you want to validate or search for. Use one of the forms: Separate field for name and surname or One field for name and surname.
First name.
Last name / family name.
Name and surname together.
optionsobject
Options that change how the endpoint behaves.
clientobject
Information about your user, to make results more relevant.

Empty fields use the example value shown in grey. Everything you type here is written into the request on the right, and the other way round.

Responses