Upload location image
Uploads an image as multipart form data. The response is a text/event-stream with status events (queued, running, paused, waiting, complete, errored, or terminated); an error event may include a message. The image ID is also returned in the image-id response header. Wait for complete before using the image. A running event looks like data {"id":"opaque-image-id","status":"running"}.
Use cases
- Add a categorized site photo or branding image for location clients.
Related endpoints
- GET /locations/{locationId}/images — list image metadata and IDs.
- GET /locations/{locationId}/images/{imageId}/download — retrieve a PNG rendition.
Parameters
Header Parameters
API compatibility date in YYYY-MM-DD format. Must be a date after 2025-11-01.
"2025-11-02"^\d{4}-\d{2}-\d{2}$Routes the request to the organization named by this ID. The bearer token must be authorized for that organization.
"3b241101-e2bb-4255-8caf-4136c566a962"140Path Parameters
ID returned by POST /locations or GET /locations. It scopes location updates and image operations to one site.
"2ABCDEFGHJKLMNPQRSTU"140Request Body
Binary image content sent as the multipart file part.
Choose the label that best matches the image content:
| Category | Use for |
|---|---|
CHARGER |
Charger hardware. |
ENTRANCE |
The site entrance or access route. |
LOCATION |
A general view of the site. |
NETWORK |
Charging-network branding. |
OPERATOR |
The site or charging-station operator. |
OTHER |
Content that does not fit another category. |
OWNER |
The site owner. |
"CHARGER""ENTRANCE""LOCATION""NETWORK""OPERATOR""OTHER""OWNER"Responses
raw