Skip to content

List profile photos

GET
/api/v1/reviews/media
curl --request GET \
--url https://digize.com/api/v1/reviews/media \
--header 'x-api-key: <x-api-key>'

Photos and videos on the Google Business Profile, from the business and its customers, the newest first.

Needs the reviews:read permission.

Done

Media typeapplication/json
object
rows
required
Array<object>
object
id
required
string
kind
required
string
Allowed values: photo video
category
required
string
Allowed values: cover logo exterior interior product food_drink at_work team
description
required
string
fileName
required
string
size
required
number
width
required
number
height
required
number
duration
required
number | null
source
required
string
Allowed values: owner customer
addedBy
required
string
addedAt
required
string format: date-time
views
required
number
status
required
string
Allowed values: live processing rejected
rejection
required
string | null
reported
required
boolean
previewUrl
required
string | null
videoKey
required
string | null
takedownUrl
required

Google’s form for reporting a customer’s photo.

string | null
pushState
required
Any of:
string
Allowed values: sending failed
total
required
number

Example

{
"rows": [
{
"kind": "photo",
"category": "cover",
"source": "owner",
"status": "live",
"pushState": "sending"
}
]
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}