Hi @AlexAIT,
Happy to answer both your questions! You mention that on your platform, people can consent to SMS, even if they don’t provide their phone number. While it’s totally fine to have that in your terms of service, and customers are allowed to agree to this, Klaviyo can’t provide SMS consent to somebody who doesn’t have a phone number. That’s not possible in our system at this time.
When you make this API call, are you subscribing people to a specific list, and including that list’s ID? Also, is that list double opt-in? If you’re subscribing people to a list that’s double opt-in, they’ll receive an email asking them to confirm their subscription before they are officially subscribed. That might be why you’re seeing this profile as Never subscribed. You can check if a list is double opt-in in the consent tab in that list’s settings.
Also, are 500 errors still occurring? These usually refer to errors on Klaviyo’s end, so they’re sometimes worth trying again, while making sure that your call is structured correctly, and you’re using an up-to-date revision.
If you have any follow-up questions regarding the above, please let me know!
-Byrne