curl --location 'https://us-prod.notte.cc/functions/5f1e6ff3-35ba-4aa3-936f-6b1285c41191/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "5f1e6ff3-35ba-4aa3-936f-6b1285c41191",
"variables": {
"date_from": "today",
"date_to": "today+30"
}
}'
{
"count": 0,
"events": [
{
"url": "<string>",
"title": "<string>",
"venue": {
"name": "<string>",
"listing": {
"url": "<string>",
"title": "<string>",
"url_path": "<string>",
"primary_category": {
"primary": true,
"category_id": 0,
"category_name": "<string>",
"subcategory_id": 0,
"subcategory_name": "<string>"
}
},
"coordinates": {
"latitude": 0,
"longitude": 0
}
},
"images": [
{
"url": "<string>",
"media_type": "<string>",
"sort_order": 0
}
],
"end_date": "<string>",
"url_path": "<string>",
"record_id": "<string>",
"categories": [
{
"id": "<string>",
"name": "<string>"
}
],
"recurrence": {
"text": "<string>",
"type_id": 0
},
"start_date": "<string>",
"end_date_source": "<string>",
"occurrence_date": "<string>",
"occurrence_source": "<string>",
"start_date_source": "<string>"
}
],
"date_to": "<string>",
"timezone": "<string>",
"date_from": "<string>"
}