To retrieve the selfie or Identity images, use the /getTempUrl endpoint with either of the two parameters enabled (boolean):

photoID
photoSelfie

This will display only the images that are enabled (the rest of the report content will not generate)

Additionally, to retrieve images through the webhook, use the /fetchApplicantPhoto endpoint with the corresponding URL to access the images.

The endpoint streams images like any direct link to an image, so they should be processed in the same way that a normal link ending with ".jpg" or its derivatives are processed.

"photoUrls": {
      "front-id-photo": "https://rentify-rc.herokuapp.com/api/v1/fetchApplicantPhoto/1676565937-ac7a51c8-a7a2-410c-bc5e-87fbe24f6182/front-id-photo",
      "back-id-photo": "https://rentify-rc.herokuapp.com/api/v1/fetchApplicantPhoto/1676565937-ac7a51c8-a7a2-410c-bc5e-87fbe24f6182/back-id-photo",
      "face-photo": "https://rentify-rc.herokuapp.com/api/v1/fetchApplicantPhoto/1676565937-ac7a51c8-a7a2-410c-bc5e-87fbe24f6182/face-photo",
      "face-photo-left": "https://rentify-rc.herokuapp.com/api/v1/fetchApplicantPhoto/1676565937-ac7a51c8-a7a2-410c-bc5e-87fbe24f6182/face-photo-left",
      "face-photo-right": "https://rentify-rc.herokuapp.com/api/v1/fetchApplicantPhoto/1676565937-ac7a51c8-a7a2-410c-bc5e-87fbe24f6182/face-photo-right"
    }