Skip to content

List Customer Photos

Required scope: customer_file:read

Lists a customer’s photos, newest first. Without pageSize (1 to 100) the first 100 return; when nextCursor is set, send it back as cursor with the same filters for the next page.

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

Lists customer photos, newest first. Without page_size the first 100 return with a next_cursor when more exist.

Request ListCustomerPhotosRequest
Response ListCustomerPhotosResponse

ListCustomerPhotosRequest

Field Type Description
customer_id string
visibility CustomerFileVisibility
page_size int32 Rows per page, 1 to 100. Zero uses 100. Without page_size the first 100 return with a next_cursor when more exist.
cursor string Opaque next_cursor from the previous page; keep the other filters the same. The preferred way to read every row.

ListCustomerPhotosResponse

Field Type Description
photos repeated CustomerPhoto
next_cursor string Pass as cursor to read the next page. Empty on the last page.
{
"customerId": "be85f4d1-b680-4964-bf62-9828fdf4ce04",
"visibility": "PUBLIC_CUSTOMER_FILE_VISIBILITY_INTERNAL"
}