Skip to content

Get Sites, Kiosks, and materials

Request

Retrieve all sites, kiosks, and materials for a specific hauler

Security
apiKey
Query
haulerIdstring, (uuid)required

Unique identifier for the hauler

Example:haulerId=123e4567-e89b-12d3-a456-426614174000
curl -i -X GET \
  'https://docs.haulerhero.com/_mock/site/scale-hero/v1/sites?haulerId=123e4567-e89b-12d3-a456-426614174000' \
  -H 'API-KEY: YOUR_API_KEY_HERE'

Responses

Sites, kiosks, and materials retrieved successfully

Bodyapplication/json
successbooleanrequired

Whether the request was successful

Example:true
dataobject(SiteData)required
Response
{ "success": true, "data": { "sites": [], "kiosks": [], "materials": [] } }