Identify PDF
POST
/identify
const url = 'http://localhost:8080/identify';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8080/identifyChecks whether a PDF was produced by this API and returns its document UUID if found.
Responses
Section titled “ Responses ”Identification result
Media type application/json
object
documentId
string
Example generated
{ "documentId": "example"}PDF content is empty or invalid
Failed to read PDF