User16119012
User16119012

Reputation: 957

Nexmo - how to send messages to US/Canada based mobile numbers

I am trying to send SMS to the people all over the world using a non-registered short codes, but the sms cannot be delivered to US or Canada. How do I achieve this?

Is there an API to get information of the country using a phone number, so that I can know if the current number is of US or Canada's?

Upvotes: 1

Views: 934

Answers (1)

Thomas Soulez
Thomas Soulez

Reputation: 46

(Disclaimer: I work at Nexmo.)

To identify US vs CA numbers you can use Nexmo's Number Insight API. Besides the country you can also get lots of info, landline or mobile, carrier, reachable or not, etc.

If you you want to send to the US using short codes without needing a short code yourself, you can also use our US Short Codes API. If your use case fits into what we support (two-factor authentication, alerts, or marketing).

Upvotes: 3

Related Questions