Skip to main content
Contributor I
December 29, 2022
Solved

Invalid or unsupported phone number when I call api

  • December 29, 2022
  • 3 replies
  • 401 views

I try to call an API to create a profile, in field “phone_number” i have an error (Invalid or unsupported phone number).

My country code is +84 (Vietnam) and my phone number is 0986427842.

According to the documentation => “phone_number”:“+84976427833” but it invalid.

Here I try on postman:

Thanks for help.

    Best answer by Ashley I.

    Hi @tungnk !

     

    I’d recommend first checking the How to collect SMS consent via API article to ensure that you have met all requirements. 

     

    In regards to the ‘Invalid or unsupported phone number’ error you are receiving, it is possible this is displayed because you may be unable to appropriately collect consent from a Vietnam phone number; even in testing. At the time of this post, Klaviyo is only enabled to collect SMS consent and send text messages in the United States, Canada, United Kingdom, and Australia. You can read more about that here.

     

    You may choose to try testing with a phone number from one of the above listed countries to confirm if this is the issue.

     

    Hope this is helpful!

    3 replies

    Ashley I.
    Partner - Platinum
    Ashley I.Answer
    2025 Champion
    December 29, 2022

    Hi @tungnk !

     

    I’d recommend first checking the How to collect SMS consent via API article to ensure that you have met all requirements. 

     

    In regards to the ‘Invalid or unsupported phone number’ error you are receiving, it is possible this is displayed because you may be unable to appropriately collect consent from a Vietnam phone number; even in testing. At the time of this post, Klaviyo is only enabled to collect SMS consent and send text messages in the United States, Canada, United Kingdom, and Australia. You can read more about that here.

     

    You may choose to try testing with a phone number from one of the above listed countries to confirm if this is the issue.

     

    Hope this is helpful!

    Ashley Ismailovski, Klaviyo Champion & Director of Email Marketing at SmartSites https://www.smartsites.com/
    tungnkAuthor
    Contributor I
    December 29, 2022

    Hi @AshCRO!

    Your answer is really helpful, thanks for your help.

    GabbyEsposito
    Community Manager
    Community Manager
    May 19, 2026

    Sharing an update in case it helps others who land here. Klaviyo now handles some mixed-validity API requests more gracefully: if a valid email is present alongside an invalid phone number, the valid data can still be processed instead of the full request being rejected. That said, this does not expand SMS availability to unsupported regions, so the original guidance in this thread still applies for phone numbers in unsupported countries.

    Gabby