curl --location 'https://us-prod.notte.cc/functions/7676513d-12c7-45f9-8a3d-53571993e34e/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "7676513d-12c7-45f9-8a3d-53571993e34e",
"variables": {
"name": "",
"species": "",
"breed": ""
}
}'
{
"pets": [
{
"nid": 0,
"sex": "<string>",
"name": "<string>",
"breed": "<string>",
"campus": "<string>",
"photos": [
{
"id": 0,
"url": "<string>",
"name": "<string>",
"isCover": true
}
],
"species": "<string>",
"birthday": "<string>",
"location": "<string>",
"uniqueId": "<string>",
"adoptable": 0,
"age_group": {
"id": 0,
"name": "<string>",
"type": "<string>",
"age_to": 0,
"to_unit": "<string>",
"age_from": 0,
"duration": "<string>",
"from_unit": "<string>",
"legacy_id": 0,
"created_at": "<string>",
"shelter_id": 0,
"updated_at": "<string>",
"default_group": 0,
"age_to_in_days": 0,
"estimated_days": 0,
"age_from_in_days": 0,
"name_with_duration": "<string>"
},
"attributes": [
"<string>"
],
"public_url": "<string>",
"intake_date": "<string>",
"primary_color": "<string>",
"cover_photo_url": "<string>",
"secondary_breed": "<string>"
}
],
"source": "<string>",
"filters": {
"name": "<string>",
"breed": "<string>",
"species": "<string>"
},
"match_count": 0,
"total_available": 0
}