API referenceResources
Download files
Download files generated by services during verification processes. It always returns a file from the latest session if the request is ambiguous. Combine the file label with only one of the next IDs - session ID, flow ID or person ID. Specifying multiple IDs in a query string may cause an error. Returns the file as a binary stream.
GET
/resources/filecurl -X GET "https://demo.verigram.kz/resources/file?label=bestframe&flow_id=01KMWYGEEVW2TH4Q4SFFFFFFF5-F" \
-H "X-Verigram-Api-Key: $IDENTIFICATION_SAAS_API_KEY" \
-H "X-Verigram-Api-Version: 2.0.0"Авторизация
X-Verigram-Api-KeystringheaderобязательноAPI key in the X-Verigram-Api-Key header
Параметры
labelenum<string>queryобязательноFilter by file label.
Одно из:bestframebf_zoom_inbf_zoom_outbf_turn_leftbf_turn_rightliveness_videoliveness_alt_videoliveness_framesliveness_carddoc_face_picturedoc_signature_picturedoc_original_front_imgdoc_original_back_imgdoc_original_imgface_enroll_imgface_verif_imgegov_doc_pdfkisc_piikisc_raw_contentkisc_raw_headerssigned_docsigned_docscertificatecert_statusesign_original_docclient_cardsigned_doc_ticketdoc_builder_templatedoc_builder_datadoc_builder_pdfdoc_builder_pdfsperson_idstringqueryFilter by person_id.
session_idstringqueryFilter by session_id.
flow_idstringqueryобязательноFilter by flow_id.
X-Verigram-Api-VersionstringheaderобязательноRequired API version header.
Значение по умолчанию:2.0.0
Ответ
application/octet-stream
A file requested by identifier and/or labels
string<binary>
string