Welcome
Identity Verification Product Guide
Identity Verification SDK
Mobile SDK
No Code (Portal)
Face Comparison
Face Search
DBS / RTW
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Retrieve images
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
In order to retrieve document images from the resources container, we'll want to look for the relevant media ID inside the ID document pages.
For security reasons, Yoti does not include personally identifiable information within the standard response to a session retrieval request. Yoti will provide IDs to media associated with the session, which can be stored and retrieved separately.
Node.js
Java
PHP
Python
C#
idvClient.getMediaContent(sessionId, pageMediaId).then(media => { const buffer = media.getContent(); const base64Content = media.getBase64Content(); const mimeType = media.getMimeType(); // handle base64content or buffer}).catch(error => { console.log(error) // handle error})Retrieve the document ID photo
In order to retrieve a specific portrait ID document image from the resources container, we'll want to look for the relevant media ID inside of the ID document container.
Node.js
Java
PHP
Python
C#
idvClient.getMediaContent(sessionId, documentPhotoId).then(media => { const buffer = media.getContent(); const base64Content = media.getBase64Content(); const mimeType = media.getMimeType(); // handle base64content or buffer}).catch(error => { console.log(error) // handle error})Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Redacted imagesGot a question? Contact us here.
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message