curl --location 'https://us-prod.notte.cc/functions/5167fb09-0a1b-44a2-9ce1-87b60643f4bf/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "5167fb09-0a1b-44a2-9ce1-87b60643f4bf",
"variables": {
"suburb_location": "Melbourne VIC 3000",
"page": 1
}
}'
{
"page": 0,
"agents": [
{
"id": 0,
"name": "<string>",
"mobile": "<string>",
"agencyId": 0,
"hasEmail": true,
"jobTitle": "<string>",
"agentIdV2": "<string>",
"telephone": "<string>",
"agencyName": "<string>",
"profileUrl": "<string>",
"reputation": {
"numberOfReviews": 0,
"overallStarRating": 0,
"numberOfReviewsRecent": 0,
"overallStarRatingRecent": 0
},
"totalLeased": 0,
"profilePhoto": "<string>",
"totalForRent": 0,
"totalForSale": 0,
"agencyLogoUrl": "<string>",
"averageSoldPrice": 0,
"totalJointLeased": 0,
"totalSoldAndAuctioned": 0,
"averageSoldDaysOnMarket": 0,
"totalJointSoldAndAuctioned": 0
}
],
"suburb_slug": "<string>",
"total_pages": 0,
"total_agents": 0,
"results_count": 0,
"suburb_location": "<string>",
"location_profile": {
"id": "<string>",
"state": "<string>",
"urlSlug": "<string>",
"postcode": "<string>",
"suburbName": "<string>"
}
}