cURL
curl --request POST \ --url https://public-api.cambio-ai.com/extract_pii \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "file_content": "<string>", "file_type": "pdf" }'
{ "json": {}, "pageCount": 123 }
This API endpoint extracts PII from the uploaded file and returns the content in json format.
Your API key.
The base64 encoded content of the file to be parsed.
The type of the file. Supported values are 'pdf' and 'docx'.
pdf
docx
PII extracted successfully
The extracted PII in json format.
The number of pages processed.