API LEXLOGOS

Reconnaissance de documents

OCRisation - API

JSON XML

Entête HTTP

Content-Type Obligatoire
application/json
application/xml
Accept Obligatoire
application/json
application/xml
POST

ENDPOINT

Exemple de requête avec curl

curl "https://staging.api.ocr.lexlogos.fr/v1/ocr" \
    -X POST \
    -H "Accept: application/json" \
    -H "Content-Type: application/json" \
    -H "Accept-Charset: UTF-8" \
    -d "{\"application_id\":\"Votre application ID\",\"api_key\":\"Votre API Key\",\"custom_id\":\"llhXtopSAmHMJ\",\"webhook\":\"http:\\/\\/raymond.com\\/aut-consequatur-totam-quo-nam\",\"pdf_base_64\":\"VkdYcEtDMk9RekhXTDNpYlJidkFqRmR0ZnZuTzlNVFJyUzVCbVlkbXhFcVBlMlpOa1MwcER5Nk02OHczZ3RRY3VzSkxaNWFqNFlBOXdFcmNvcWgxSTFlVXU3RkdpVE5uUDc4WA==\"}"

curl "https://staging.api.ocr.lexlogos.fr/v1/ocr" \
    -X POST \
    -H "Accept: application/xml" \
    -H "Content-Type: application/xml" \
    -H "Accept-Charset: UTF-8" \
    -d "Votre application IDVotre API KeyFyZPVE44soaZ8http://www.diaz.com/excepturi-aut-aperiam-dolorum-quameWx4MGdCV3BkT1QzTnFuVWtmSEdlc0xDb01RREtVejJOZDA5clpqNlM2d3RGd0JFMUQ4YWpXSlBjUTVpWEE1cUMxSHlob2s5QXR2M3BNUHJ4dmY0T2MyUlhSdXNsYVRLN0U0Yg=="

            

Reconnaissance de documents

application_id string obligatoire
ApplicationID de l'utilisateur
api_key string obligatoire
Clé API de l'utilisateur
custom_id string obligatoire
Identifiant de suivi de l'utilisateur
webhook string obligatoire
URL de webhook
pdf_base_64 string obligatoire
fichier PDF en base 64

Exemple

                    
{
    "application_id": "Votre application ID",
    "api_key": "Votre API Key",
    "custom_id": "mJPPt3D1JqPwV",
    "webhook": "https:\/\/www.duval.com\/odit-ipsum-tenetur-totam-voluptas-sint",
    "pdf_base_64": "a3VXVGZxY3ZDY01INmpybjdSQkpLcTZlTWlyU2JWMHRLMWtUbG1GcEpOb2ZJaFpWR25IeEU0WDhEVTl3MllRV3ZMdDJhZTlwMGRkamk1YURDdTNFUFJBNWxnM2JQc1FZendvNw=="
}                    
                    

Votre application IDVotre API KeyRfPTePr0RkTbihttps://www.carre.fr/tempora-rerum-veritatis-qui-quod-nostrum-ut-eaWmo5TTNLaWpWUzJBcGUxSEZQWHdVcHY1UmhPTDF0clhMRkhOSU1aSVVZV2JnVDdRNjdkUmlFQ2ZnWVFOZkpENHFscmRrQmFKOXRudXN2NHVvbWFjVjh6cUEwbGUzaEcwa29DUA==
                    
                

Réponse API

error boolean obligatoire
Présence d'erreur(s) ou non
error_message string Message d'erreur lorsqu'une erreur est produite

Exemple

                    
{
    "error": true,
    "error_message": "Vel reprehenderit unde enim velit."
}                    
                    

Sequi minus et eaque cum.