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\":\"jd2xlOCmEAEj0\",\"webhook\":\"http:\\/\\/www.riviere.fr\\/voluptatem-dolores-fuga-alias-eligendi-odit-veniam\",\"pdf_base_64\":\"Y2VJZW05VUF2UmFuS0J1MzRINGtmTVJnMXNrbHFGcFNEbDVqc203QmJ5R3J3S043d0NISTlYOEVQcWRFaVliVE5KWDgwdFZKNUcwYVN1TDI2ZlZwZG4xZ1BDenJGVFpEM1UyWQ==\"}"

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 KeyLpfB1G4ansGJnhttps://www.poulain.org/numquam-inventore-qui-excepturi-abUjhWUWNoaWU2cjNxaGExa1VUWFl1TE0xZFhFWTI1czVLbGZvTzRCR045Y0xieVN6WklieG1QcUtNUzZ2cnlIMFpDUHBHajBkRFZnd1czQWVDdWxXeDhVSTRuT0JmbWpGdndBeg=="

            

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": "wUrkV3KkKqYG1",
    "webhook": "http:\/\/cohen.net\/voluptatibus-rerum-ea-cupiditate-excepturi-hic-perspiciatis-officiis",
    "pdf_base_64": "QUdMMVRYTmNzMjJQeERhYmRNMUNZcTN3elJpdVRPdnk1dFdNc2dWVWNtSDdFeERDOTZRS2hQQnJvNEJTZnJqSzZTbTM4aWRJbHdoSkVRTm81NElGdkhiV1pKT3BwZ0ZlYWp1VQ=="
}                    
                    

Votre application IDVotre API Key9cIgBbVgZyINahttp://royer.net/cupiditate-nisi-expedita-quae-aut-dolor-vitae-in-enimeXAzSWN3T1hsWWZ2aUh4TWZTZ0dEWU5heU12UjBEYTFaUXR3MFQ4WlNPUjRVaWxOekZQdVE3ZTlKdFVtaGRLY0FXc2tqTDNFdVdLQkNQZ2JGODdtcFg0bmRoanNWOWJHQW82TA==
                    
                

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": "Incidunt corporis ratione porro ratione accusamus."
}                    
                    

Eligendi ea quae debitis odio.