curl --request POST \
--url https://test.api.cxconnect.ai/language/substitute \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"document": {
"value": "<string>",
"mime_type": "<string>",
"language": "<string>",
"meta": {}
},
"substitutions": [
{
"source": "<string>",
"text": "<string>",
"target": "<string>",
"substitution": "<string>"
}
],
"meta": {
"foo": "bar"
}
}
'