Hi @Mineral-CR and welcome to the Community!
At this time, there’s no way to filter between email and SMS via API, but I agree that it would be a helpful feature so I will certainly submit a request with our product team on your behalf. The only way to distinguish would be to query the revenue data attributed to a specific campaign and then manually check if the campaign was email or SMS. Here’s a detailed Community post about fetching revenue data via API:
As far as fetching Form Stats via API, I will check with our Product team and see if this is already in the works, and if not, I will be happy to submit a request.
I hope this helps to clarify, and thanks for using the Community!
- Brian