Saltar al contenido principal
POST
/
match
/
text
Compare two text strings
curl --request POST \
  --url https://rest-api.argosidentity.com/v3/modules/match/text \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "textSet": {
    "originalText": "argos",
    "matchingText": "Arg0s"
  },
  "callbackUrl": "https://your-domain.com/callback"
}
'
{
  "similarity": 70
}
Para ejemplos detallados de respuesta para cada tipo de documento, consulte la sección Textify Templates.

Autorizaciones

x-api-key
string
header
requerido

Cuerpo

application/json
textSet
object
requerido
callbackUrl
string<uri>

The URL where the text comparison results will be sent upon completion. If a callbackUrl is provided, the process works asynchronously. If no callbackUrl is provided, the process operates synchronously.

Ejemplo:

"https://your-domain.com/callback"

Respuesta

Successful text comparison

similarity
number

Similarity percentage between the two texts

Ejemplo:

70