Conheça a nossa nova rota CNH_EVALUATION para validação automatizada de CNH!
{
"webhook": {
"url": "https://seu-servidor.com/webhook",
"fallbackUrl": "https://seu-servidor.com/webhook-fallback",
"authorization": {
"headers": [
{
"name": "nomeCabecalho1",
"value": "valorCabecalho1"
},
{
"name": "nomeCabecalho2",
"value": "valorCabecalho2"
}
],
"queryStrings": [
{
"name": "nomeQs1",
"value": "valorQs1"
},
{
"name": "nomeQs2",
"value": "valorQs2"
}
],
"mtls": false
}
},
"fileUrl": "https://www.exemplo.com/documento.pdf",
"returnImage": false,
"returnedImageQuality": 75,
"tags": [
"std-type=personal-document"
]
}curl --location 'https://mostqiapi.com/process-image/content-classification/async' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data '{
"webhook": {
"url": "https://seu-servidor.com/webhook",
"fallbackUrl": "https://seu-servidor.com/webhook-fallback",
"authorization": {
"headers": [
{
"name": "nomeCabecalho1",
"value": "valorCabecalho1"
},
{
"name": "nomeCabecalho2",
"value": "valorCabecalho2"
}
],
"queryStrings": [
{
"name": "nomeQs1",
"value": "valorQs1"
},
{
"name": "nomeQs2",
"value": "valorQs2"
}
],
"mtls": false
}
},
"fileUrl": "https://www.exemplo.com/documento.pdf",
"returnImage": false,
"returnedImageQuality": 75,
"tags": [
"std-type=personal-document"
]
}'{
"result": {
"processId": "10f24e40-7a06-4365-8757-bc5a471b5ebd",
"resultKey": "...56/Bbs8vU1uug6obazMLYZo="
},
"requestId": "RyFePOc04I9pSmlOaNDsX",
"elapsedMilliseconds": 475,
"status": {
"message": "Ok",
"code": "200",
"errors": []
}
}