Skip to main content
Contributor I
May 28, 2024
Solved

Unable to set Profile SMS to SUBSCRIBED

  • May 28, 2024
  • 4 replies
  • 514 views

I am successfully adding new Profiles to Klaviyo via the API. I am getting the Profiles added to a List and also success in having the Email status as “Subscribed”. But I can’t get the same for SMS.

 

I am including this in my request body:
"subscriptions": {
                                "email": {
                                    "marketing": {
                                        "consent": "SUBSCRIBED"
                                    }
                                },
                                "sms": {
                                    "marketing": {
                                        "consent": "SUBSCRIBED"
                                    }
                                }
                            }

 

If double-opt in is the issue, I am getting no email/text for confirming the opt in either.
 

 

    This topic has been closed for replies.
    Best answer by KeviSunshine

    Hi @MaxT,

    I left a comment with a working version of the bulk subscription endpoint that was subscribing SMS profiles here: 

     

    Beyond double opt-in (as you mentioned), another thing to check is whether you’re testing with a profile that has already unsubscribed from SMS. I don’t know if this is still the case, but at one point in order to re-subscribe a profile to SMS you needed to add them to a list with the name “SMS Subscribers.” I can’t find documentation for this or my old support thread, but this was definitely the case and we still subscribe all SMS people to this list.

    Hope that helps.

     

    Cheers,

    Kevin.

    4 replies

    MaxTAuthor
    Contributor I
    May 28, 2024
    KeviSunshine
    Expert Problem Solver III
    Expert Problem Solver III
    May 28, 2024

    Hi @MaxT,

    I left a comment with a working version of the bulk subscription endpoint that was subscribing SMS profiles here: 

     

    Beyond double opt-in (as you mentioned), another thing to check is whether you’re testing with a profile that has already unsubscribed from SMS. I don’t know if this is still the case, but at one point in order to re-subscribe a profile to SMS you needed to add them to a list with the name “SMS Subscribers.” I can’t find documentation for this or my old support thread, but this was definitely the case and we still subscribe all SMS people to this list.

    Hope that helps.

     

    Cheers,

    Kevin.

    MaxTAuthor
    Contributor I
    June 12, 2024

    Thank you regarding the SMS subscription status issue. However, now I have a new problem.

     

    Previously with all my testing the above code was creating/updating Profiles and successfully marking them as Email “Subscribed” I was using the February 2024 Revision throughout all my testing.

    Now today I noticed all of the Profiles are coming into Klaviyo as Email status “Never subscribed”.

    The only code I changed is I recently updated to the latest GA revision May 2024. But I see no change log notes related to this.

    Please HELP as there are only a few weeks left to this new API deadline! thank you.

     

    Kim Strauch
    Klaviyo Employee
    Klaviyo Employee
    June 12, 2024

    Hey @MaxT, I just answered what seems like a related question here: 


    Please lmk if that unblocks you / solves your problem!