Skip to main content
Active Contributor II
May 3, 2023
Solved

Filtering SMS Campaigns Using Klaviyo API

  • May 3, 2023
  • 3 replies
  • 147 views

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 

    This topic has been closed for replies.
    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
    Klaviyo Alum
    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
    Klaviyo Employee
    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') 

     

    Active Contributor II
    August 1, 2023

    Thanks you for the update.