Skip to main content
Solved

Filtering SMS Campaigns Using Klaviyo API

  • May 3, 2023
  • 3 replies
  • 104 views

Forum|alt.badge.img+4

Hello Klaviyo Community,

I'm currently working with the Klaviyo API to manage and monitor my marketing campaigns, and I would like to filter SMS campaigns specifically. I've looked through the API documentation but couldn't find a clear solution for filtering based on the campaign type (e.g., just SMS campaigns).

I kindly request guidance from the Klaviyo team or experienced users on how to filter SMS campaigns using the API data. Is it possible to do so by applying specific parameters or through a particular API endpoint?

Please provide detailed instructions or code snippets to help me achieve this functionality.

Thank you in advance for your assistance and expertise.

Best regards,
Santiago 

Best answer by Brian Turcotte

Hi @santiagosanti!

 

At the moment, we don’t have full API support for SMS Campaigns. However, this is in active development by our Product Team, so I’ll update the thread when there’s more news!

 

Best,

Brian

3 replies

Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • May 3, 2023

Hi @santiagosanti!

 

At the moment, we don’t have full API support for SMS Campaigns. However, this is in active development by our Product Team, so I’ll update the thread when there’s more news!

 

Best,

Brian


Kim Strauch
Klaviyo Employee
Forum|alt.badge.img+9
  • Klaviyo Employee
  • 91 replies
  • August 1, 2023

We have full support for SMS Campaigns via API, as of the 2023-07-15 revision! See https://developers.klaviyo.com/en/reference/get_campaigns

You can filter to get just the SMS campaigns using a request like so: GET https://a.klaviyo.com/api/campaigns?filter=equals(messages.channel,'sms') 

 


Forum|alt.badge.img+4
  • Author
  • Active Contributor II
  • 25 replies
  • August 1, 2023

Thanks you for the update.