CDR API API Reference
Use the Content Disarm and Reconstruction API to remove security risks from documents by tearing them down, removing unsafe content and rebuilding them.
API Endpoint
https://api.cloudmersive.com
Terms of Service: https://portal.cloudmersive.com/terms-of-service
Schemes: https
Version: v1
Authentication
Apikey
API Key Authentication
type
apiKey
name
Apikey
in
header
Paths
Content Disarm and Reconstruction on a File
Processes the input file via CDR to produce a secured output file. Input content is parsed, disarmed, and then reconstructed into a new output file with the same file format as the input.
InputFile:
file
in formData
Input document, or photos of a document, to extract data from
Code Example:
200 OK
OK
type
string
(binary)
400 Bad Request
Bad Request
401 Unauthorized
Unauthorized
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (binary)"
Response Example (400 Bad Request)
{
"type": "string",
"title": "string",
"status": "integer (int32)",
"detail": "string",
"instance": "string"
}
Response Example (401 Unauthorized)
{
"type": "string",
"title": "string",
"status": "integer (int32)",
"detail": "string",
"instance": "string"
}
Content Disarm and Reconstruction on a File with PDFA Output
Processes the input file via CDR to produce a secured PDF/A output file. Input content is parsed, disarmed, and then reconstructed into a new PDF/A output file.
InputFile:
file
in formData
Input document, or photos of a document, to extract data from
Code Example:
200 OK
OK
type
string
(binary)
400 Bad Request
Bad Request
401 Unauthorized
Unauthorized
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (binary)"
Response Example (400 Bad Request)
{
"type": "string",
"title": "string",
"status": "integer (int32)",
"detail": "string",
"instance": "string"
}
Response Example (401 Unauthorized)
{
"type": "string",
"title": "string",
"status": "integer (int32)",
"detail": "string",
"instance": "string"
}
Schema Definitions
ProblemDetails: object
- type: string
- title: string
- status: integer (int32)
- detail: string
- instance: string
Example
{
"type": "string",
"title": "string",
"status": "integer (int32)",
"detail": "string",
"instance": "string"
}