Acceptable header values

The service makes use of request headers to make it configurable by specifying which forensic tests should be conducted. Only if/when an appropriate header has been specified and its corresponding value is set to True, will the appropriate check be conducted.

N.B: Note that the meta-data check will always be performed.

Headers

Header Name
Data Type
Description

Grayscale

Boolean

Denotes that the grayscale check should be performed.

SecurityZone

Boolean

Denotes that the security-zone check should be performed.

DocType

Boolean

If SecurityZone is specified and set to True, DocType will be taken into account which states what type of ID document is presented. At present, only Kenya is supported.

CountryCode

Boolean

Indicates the country of origin of the document.

Recapture

Boolean

Denotes that the recapture check should be performed.

Photocopy

Boolean

Denotes that scan/photocopy detection should be performed.

SpliceDetection

Boolean

Denotes that splice-detection should be performed.