Skip to main content

Photo Object

When a photo.status.changed is emitted, the payload will contain the following:

Example Object

host: webhook.site
content-length: 349
hopdrive-event: photo_status_changed
user-agent: HopDrive-Webhooks/1.0.0
hopdrive-signature: t=1661284695424, v1=589d916b3a6b27a40c8fed05eaa77f045bb30c4c056f0ae18b3ebd4beb011bbf
content-type: application/json
accept: application/json, text/plain

{
"data": {
"id": "15a103eb-d44b-4e06-ba85-d2d6d7acbde3",
"move_id": 123456,
"name": "rear-interior",
"step_id": "rear-interior",
"url": "image-url",
"status": "done",
"time": "2024-07-20T03:00:48.548211+00:00",
"lat": 38.03299,
"lon": -78.44548
}
"id": "ee887f20-231d-11ed-9c17-d1a5eafd48b0",
"object": "event",
"version": "1.0.0"
}

Photo Object Fields

FieldDescription
idUnique identifier for the photo.
move_idMove Id that this photo belongs to.
nameName of the photo.
step_idWorkflow step Id that this photo belongs to.
urlURL where the photo is stored. Can be null.
statusCurrent status of the photo:
Pending A photo was taken by our driver and is pending upload
Done A photo has been uploaded
timeTimestamp when the photo was taken.
latLatitude coordinate where the photo was taken.
lonLongitude coordinate where the photo was taken.