curl --location 'https://us-prod.notte.cc/functions/3ad2f565-4e49-429e-aa89-ba0a0fe939ed/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "3ad2f565-4e49-429e-aa89-ba0a0fe939ed",
"variables": {
"product_id": "30224",
"page": 1,
"page_size": 10
}
}'
{
"reviews": [
{
"id": 0,
"user": {
"user_id": 0,
"user_type": "<string>",
"display_name": "<string>",
"is_social_connected": 0
},
"score": 0,
"title": "<string>",
"content": "<string>",
"deleted": true,
"language": "<string>",
"votes_up": 0,
"sentiment": 0,
"created_at": "<string>",
"product_id": 0,
"votes_down": 0,
"verified_buyer": true,
"is_incentivized": true
}
],
"bottomline": {
"total_review": 0,
"average_score": 0,
"star_distribution": {},
"organic_average_score": 0,
"total_organic_reviews": 0
},
"pagination": {
"page": 0,
"total": 0,
"per_page": 0,
"total_pages": 0
},
"product_id": "<string>"
}