Filtering documents

Below is a list of attributes available for filtering documents.

Attribute
Type

type

string

See the Document object for the full list of supported values.

classification

string

See the Document object for the full list of supported values.

issuingCountry

string This will be the two-letter country ISO code.

Example - Get all documents for one type

In the example below, we will request to get all documents that are of type passport.

curl -X GET https://api.complycube.com/v1/documents?clientId={:clientId}&type=passport \
     -H 'Authorization: <YOUR_API_KEY>'