Skip to content

Get Customer Photo Download Link

Required scope: customer_file:read

Generated Reference
POST /public-api/publicapi.v1.Customer/GetCustomerPhotoDownloadLink

Returns a short-lived download URL for a customer photo.

Request GetCustomerPhotoDownloadLinkRequest
Response GetCustomerPhotoDownloadLinkResponse

GetCustomerPhotoDownloadLinkRequest

Field Type
customer_id string
photo_id string
visibility CustomerFileVisibility

GetCustomerPhotoDownloadLinkResponse

Field Type
download_url string
expires_at int64
{
"customerId": "be85f4d1-b680-4964-bf62-9828fdf4ce04",
"photoId": "cba8fef4-4fd2-4be6-af77-326e716ef130",
"visibility": "PUBLIC_CUSTOMER_FILE_VISIBILITY_INTERNAL"
}