Skip to main content

Retrieving identification results in JSON format

The usual next step after an OnFinal webhook and the getStatus request is the getIdentData request with the subsequent logic.

If required, your account can be configured to return the data encrypted.

Requirements

The order must be finally processed. For a list of final status see the List of Status Codes.

Method and URL

[GET] https://customer.identity.tm/api/2.10/getIdentData/[OrderID]
[GET] https://customer.identity.tm/api/2.10/getIdentData/[OrderID]/IncludeInitialData
[GET] https://customer.identity.tm/api/2.10/getIdentData/[OrderID]/IncludeIdentifyMethod
[GET] https://customer.identity.tm/api/2.10/getIdentData/[OrderID]/IncludeIdentifier
[GET] https://customer.identity.tm/api/2.10/getIdentData/[OrderID]/Signed
[GET] https://customer.identity.tm/api/2.10/getIdentData/[OrderID]/crypt
[GET] https://customer.identity.tm/api/2.10/getIdentData/[OrderID]?fullDocumentsList=true

Variants

VariantDescription
DefaultNormal variant, response as described below
IncludeInitialDataInclude initial data as given to the putOrder request
IncludeIdentifyMethodInclude an additional element in the response "IdentifyMethod"
IncludeIdentifierInclude the internal user ID of the identifier
SignedReturn signed and encrypted version of the identification data for later re-use
cryptEncrypt response content using AES-256/GCM/NoPadding and a 23 byte long IV prefixed to the encrypted content.
This variant can be used in combination with the other variants.
IncludeEidJwtInclude transaction attestation for the identitfication by eID (JWT)
fullDocumentsListQuery parameter (?fullDocumentsList=true). When set, the IDCard element is replaced by a Documents array containing all documents scanned during the Reader process.

Response Data

Note: To include the images in the response, your account needs to be configured accordingly. Contact IDnow to change your configuration. This setting has an impact on the data format -- if images are included, the element IdentData will be an object otherwise an array.

ElementParentTypeLenOccDescription
Identitfied[ROOT]DTSYTime of identification

The typo in the name is kept for backward compatibility
IdentifyMethod[ROOT]SDepMethod of identification used for this order; one of: Shop, Video, eID, Giro, AutoID, SmartID.

Only if specifically requested
Identifier[ROOT]S/NDepInternal user ID of user who conducted the identification

Only if specifically requested
UserIp[ROOT]SDepIP address of user while conducting the identification. Will only be collected and returned, if configured on your account.
OcrStatus[ROOT]NDepIn case of POS ident orders, this field tells about OCR processing status:

0 no OCR processed
1 OCR and manual images processed
2 only OCR processed
eIdUsed[ROOT]BDepIn case of POS ident orders, this field tells if eID has been conducted or not
SecurityCheckFailed[ROOT]BDepIn case of POS ident orders, this field is true in case the on-device security check failed
FraudAttempt[ROOT]BDepTrue indicates a potential fraud attempt.

Only if fraud attempt has been flagged by an agent.
eidJwt[ROOT]SDepTransaction attestation for the identitfication by eID (JWT)

Only if specifically requested
IdentDataIdentDataO/AYType (object or array) depends on whether images are included in response or not
TypeIdentDataNDep1 Checked data
2 Initial data from putOrder
FirstnameIdentDataS50Y
SurnameIdentDataS50Y
StreetIdentDataS100Y
ZipCodeIdentDataS5Y
CityIdentDataS100Y
CountryIdentDataSDepOnly if noted on identity document
BirthdateIdentDataDSY
BirthplaceIdentDataS100Y
BirthnameIdentDataS75DepOnly if requested
NationalityIdentDataS50DepOnly if noted on identity document
TitleIdentDataS50DepOnly if noted on identity document
ArtistnameIdentDataS50DepOnly if noted on identity document
GenderIdentDataSDepfemale/male/diverse
MobileIdentDataS50DepOnly if verified with TAN
EmailIdentDataS100DepOnly if verified with TAN
IDCardIdentDataODepIn case of a license check without ID, this field will not be included
CardNoIDCardS50DepIn case of an eID-only identification, will field will not be included
eidRestrictedIdentifierIDCardSDepRestricted Identifier (dienste- und kartenspezifisches Kennzeichen - DKK); only if eID was used to identity user
extDocumentTypeIDCardNDepSpecifies the document(s) used.

If multiple documents have been used, the individual values will be or'ed bitwisely.

0 Custom document
1 ID Card
2 Passport
4 Residence permit
8 Driver's license
16 German eID-Card for EU citizens

All other values are reserved for future use. New values may be added at any time.
PlaceOfIssueIDCardS100DepIn case of an eID-only identification, will field will not be included
CountryOfIssueIDCardS3DepDepends on customer specific requirements and document
DateOfIssueIDCardDSDepIn case of an eID-only identification, will field will not be included
ValidUntilIDCardDSDepDepends on customer specific requirements
TypeIDCardSDepIDCard/Passport or LegitimationDocument provided in putOrder
DocumentsIdentDataADepArray of all documents scanned during the Reader process. Present only when query parameter fullDocumentsList=true is passed. Replaces the IDCard element.
TypeDocumentsSDepDocument type. One of: IdCard, Passport, ResidencePermit, ResidencePermitSticker, DriversLicense, EidCard, Visa, CrewMemberCertificate
FirstnameDocumentsS50Dep
SurnameDocumentsS50Y
StreetDocumentsS100Dep
ZipCodeDocumentsS5Dep
CityDocumentsS100Dep
BirthdateDocumentsDSY
BirthplaceDocumentsS100Dep
NationalityDocumentsS3YISO 3166-1 alpha-3
GenderDocumentsSDepfemale/male/diverse
CardNoDocumentsS50Y
IssuingStateOrOrganizationDocumentsS3YISO 3166-1 alpha-3
PlaceOfIssueDocumentsS100Dep
DateOfIssueDocumentsDSDep
ValidUntilDocumentsDSDep
TypeOfPermitDocumentsSDepType of residence permit. Only present for residence permit documents (ResidencePermit, ResidencePermitSticker).
RemarksOfPermitDocumentsSDepRemarks on the residence permit. Only present for residence permit documents (ResidencePermit, ResidencePermitSticker).
SourcesDocumentsODepMachine-readable source data extracted from the document
MrzSourcesODepParsed MRZ (Machine Readable Zone) data. Present only when an MRZ was successfully read and parsed.
RawMrzSYRaw MRZ string
DocumentCodeMrzSY
IssuingStateOrOrganizationMrzS3YISO 3166-1 alpha-3
SurnameMrzSY
FirstnameMrzSDep
CardNoMrzSY
NationalityMrzS3YISO 3166-1 alpha-3
BirthdateMrzSY
GenderMrzSYfemale/male/diverse
ValidUntilMrzSY
CheckDigitsMrzODepCheck digit validation results. Contains one entry each for CardNo, Birthdate, ValidUntil, and Overall (all optional). Each entry has Extracted (S), Calculated (S), and IsValid (B).
DriverLicenceIdentDataODepIf enabled in putOrder
LicenceNoDriverLicenceS50DepIf enabled in putOrder
ClassesDriverLicenceS50Dep
DateOfIssueDriverLicenceDSDep
AdditionalIdentDataDepIf set in putOrder
<detail>AdditionalS150NIf set in putOrder
ImagesIdentDataADepIf enabled on your account
ImageImagesSBase64 encoded Data
FilenameImagesS100Filename for the data

HTTP Codes

200 OK, JSON document in response body

400 Bad request, error description in body

401 Authentication failed, please check username and password

404 Order not found

Example Request

[GET] https://customer.identity.tm/api/2.10/getIdentData/99921269855041/IncludeInitialData

Example Response

{
"Identitfied": "2018-09-05T11:06:21+02:00",
"IdentData": [
{
"Type": 1,
"Firstname": "Erika",
"Surname": "Mustermann",
"Street": "Heidestr. 17",
"ZipCode": "43000",
"City": "Köln",
"Birthdate": "1964-08-12",
"Birthplace": "Berlin",
"Nationality": "DE",
"Gender": "female",
"Mobile": "+4915114084205",
"IDCard": {
"CardNo": "T22000129",
"PlaceOfIssue": "Stadt Köln",
"ValidUntil": "2020-10-31",
"Type": "IDCard"
}
},
{
"Type": 2,
"Firstname": "Erika",
"Surname": "Mustermann",
"Street": "Heidestr. 17",
"ZipCode": "43000",
"City": "Köln",
"Birthdate": "1964-08-12",
"Birthplace": "Berlin",
"Nationality": "DE",
"IDCard": {
"CardNo": null,
"PlaceOfIssue": null,
"ValidUntil": "1970-01-01"
}
}
]
}