POST
/
match
/
text
Compare two text strings
curl --request POST \
  --url https://rest-api.argosidentity.com/v3/modules/match/text/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
}

Authorizations

x-api-key
string
header
required

Body

application/json
textSet
object
required
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.

Example:

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

Response

Successful text comparison

similarity
number

Similarity percentage between the two texts

Example:

70