Solved

Is it possible to access SMS campaigns and templates through API?

  • 14 October 2021
  • 2 replies
  • 272 views

Badge +2

It’s quite clear here as to how to access email campaigns and templates via API calls.
https://apidocs.klaviyo.com/reference/campaigns#get-campaign-info
Is it not possible to do the same for SMS campaigns and templates?

If I do a GET to the `/campaign/{ID}` endpoint and use an email campaign ID, it works just fine.  But if I change the ID to an SMS campaign ID, I get a `404`?  Is that by design?

If so, can anyone on the Klaviyo team give some kind of sensible answer as to why this isn’t possible to do, when your competitors make this pretty straightforward?

https://www.twilio.com/docs/usage/api

icon

Best answer by Taylor Tarpley 14 October 2021, 18:14

View original

2 replies

Userlevel 7
Badge +60

Hi @RachelLexima

 

Welcome to the Community! We’re glad you’re here!

 

You are correct, while it is very possible to use API calls to access for email campaigns using the GET endpoint, unfortunately, we do not currently support fetching SMS campaigns via API at this time. We are still expanding our  SMS capabilities and will share this feedback with our product team to explore implementing and building this out! I’m very sorry for the inconvenience, but will circle back if I have an update! 

 

In the meantime, if you are interested in leveling up you SMS skills, I’d recommend checking out these Community Posts and Help Center documentation to gain more mastery of this field!

​​​​​​

Thanks for being a member in the Community!

-Taylor 

Badge +2

@RachelLexima Wanted to let you know we now support SMS campaigns as of our 07-15 release! You’ll be able to pull existing SMS campaign information, as well as create and send them through our APIs. Check here - https://developers.klaviyo.com/en/docs/changelog_#revision-2023-07-15 

Reply