Yeah it would be using MQTT (AFAIK) because that's a streaming protocol. API isn't a stream and rather a push/pull type service.
Ryan / Meraki SE
If you found this post helpful, please give it Kudos. If my answer solved your problem click Accept as Solution so others can benefit from it.