Cisco Meraki provides several methods for network and device reporting, including Syslog, API, and SNMP.
For API-based reporting, the Meraki Dashboard API is an interface for software to interact directly with the Meraki cloud platform and Meraki-managed devices. The API contains a set of tools known as "endpoints" for building software and applications that communicate with the Meraki dashboard.
But, there isn't a specific API endpoint for Meraki firewall logs. Instead, you can monitor the event log available on the Meraki dashboard.
For Syslog-based reporting, a syslog server can be configured to store messages for reporting purposes from MX security appliances, MR access points, and MS switches.
If you're interested in learning more about these methods, I recommend checking out the Cisco Meraki Dashboard API documentationand the [Meraki Device Reporting - Syslog, SNMP, and API documentation.
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.