# Verify phone number

**URL:** <https://awshq.com/t/verify-phone-number/5842>\
**Category:** AWS Cloud Talk\
**Created:** [May 24, 2018, 5:46pm UTC](https://awshq.com/t/verify-phone-number/5842 "2018-05-24T17:46:09Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![EgidioCaprino](https://awshq.com/letter_avatar_proxy/v4/letter/e/cab0a1/32.png) [@EgidioCaprino](https://awshq.com/u/EgidioCaprino)\
**Post date:** [May 24, 2018, 5:46pm UTC](https://awshq.com/t/verify-phone-number/5842/1 "2018-05-24T17:46:09Z")

</div>

Hi all,

We have an app which requires the user phone number and we are currently verifying it through a verification code sent via SMS.

Is there a cheaper way of doing it?

* * *

**Related discussions:**

- [The Evolution of AI from Assistant to Decision-Maker#EvolutionOfAI #ArtificialIntelligence #AIAgents #DecisionMakingAI #AgenticAI #AIRevolution #MachineLearning #DeepLearning #GenerativeAI #AutonomousAI #IntelligentAutomation #AIInnovation #FutureOfAI #AITechnology #SmartSystems #CloudComputing](https://awshq.com/t/the-evolution-of-ai-from-assistant-to-decision-maker-evolutionofai-artificialintelligence-aiagents-decisionmakingai-agenticai-airevolution-machinelearning-deeplearning-generativeai-autonomousai-intelligentautomation-aiinnovation-futureofai-aitechnology-sm/21737)
- [Why Traditional Degrees Are Losing Value in Tech](https://awshq.com/t/why-traditional-degrees-are-losing-value-in-tech/21751)
- [New UI rolling out, feels way faster!](https://awshq.com/t/new-ui-rolling-out-feels-way-faster/21690)
- [AWS re:Invent 2026 to Host Magic: The Gathering Sealed Event With Jon Finkel](https://awshq.com/t/aws-re-invent-2026-to-host-magic-the-gathering-sealed-event-with-jon-finkel/21777)
- [PHP critical updated](https://awshq.com/t/php-critical-updated/21653)

---

<div class="post-metadata">

**Author:** ![thyraon](https://awshq.com/letter_avatar_proxy/v4/letter/t/779978/32.png) [@thyraon](https://awshq.com/u/thyraon)\
**Post date:** [May 24, 2018, 6:22pm UTC](https://awshq.com/t/verify-phone-number/5842/2 "2018-05-24T18:22:53Z")

</div>

You could use the HLR API of Messagebird: [https://www.messagebird.com/en/lookup](https://www.messagebird.com/en/lookup)

---

<div class="post-metadata">

**Author:** ![EgidioCaprino](https://awshq.com/letter_avatar_proxy/v4/letter/e/cab0a1/32.png) [@EgidioCaprino](https://awshq.com/u/EgidioCaprino)\
**Post date:** [May 24, 2018, 6:45pm UTC](https://awshq.com/t/verify-phone-number/5842/3 "2018-05-24T18:45:22Z")

</div>

> [@thyraon](#):
>
> You could use the HLR API of Messagebird: [https://www.messagebird.com/en/lookup](https://www.messagebird.com/en/lookup)

I don’t see how it should help us to identify the user 😕

---

<div class="post-metadata">

**Author:** ![thyraon](https://awshq.com/letter_avatar_proxy/v4/letter/t/779978/32.png) [@thyraon](https://awshq.com/u/thyraon)\
**Post date:** [May 24, 2018, 7:39pm UTC](https://awshq.com/t/verify-phone-number/5842/4 "2018-05-24T19:39:08Z")

</div>

> [@EgidioCaprino](#):
>
> I don’t see how it should help us to identify the user 😕

Ah, I thought you just wanted to verify the validity of the phone number. If you’re trying to verify if the phone number belongs to your user than an SMS with a verification code is the only way I can think of to do that.

---

<div class="post-metadata">

**Author:** ![dh1760](https://awshq.com/letter_avatar_proxy/v4/letter/d/edb3f5/32.png) [@dh1760](https://awshq.com/u/dh1760)\
**Post date:** [May 25, 2018, 1:58am UTC](https://awshq.com/t/verify-phone-number/5842/5 "2018-05-25T01:58:01Z")

</div>

How many numbers do you need to verify? API-based SMS messaging services are pretty inexpensive. For example Twilio runs about $7.50 per 1000 text messages.

---

<div class="post-metadata">

**Author:** ![Razithel](https://awshq.com/letter_avatar_proxy/v4/letter/r/f04885/32.png) [@Razithel](https://awshq.com/u/Razithel)\
**Post date:** [May 25, 2018, 2:05am UTC](https://awshq.com/t/verify-phone-number/5842/6 "2018-05-25T02:05:06Z")

</div>

AWS Cognito has phone number verification

---

<div class="post-metadata">

**Author:** ![McGobs](https://awshq.com/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@McGobs](https://awshq.com/u/McGobs)\
**Post date:** [May 25, 2018, 2:58am UTC](https://awshq.com/t/verify-phone-number/5842/7 "2018-05-25T02:58:09Z")

</div>

So this is a complete shot in the dark as I have no idea how any of this works, if this still works, as I’m not a dev, but we used to send text message alerts to our on call techs by having them tell us what mobile carrier they used. The alert would be setup to send an email to [5555555555@verizon.net](mailto:5555555555@verizon.net) or something to that effect. If you had a dropdown where the user could choose their carrier and then input their phone number, you could send out an email which their carrier would turn into SMS for you.

[https://lifehacker.com/5506326/how-can-i-send-an-email-via-text-message](https://lifehacker.com/5506326/how-can-i-send-an-email-via-text-message)

You obviously can’t account for everyone, but you may just have an option for “not listed” which would just send a regular SMS.

---

<div class="post-metadata">

**Author:** ![EgidioCaprino](https://awshq.com/letter_avatar_proxy/v4/letter/e/cab0a1/32.png) [@EgidioCaprino](https://awshq.com/u/EgidioCaprino)\
**Post date:** [May 25, 2018, 6:49am UTC](https://awshq.com/t/verify-phone-number/5842/8 "2018-05-25T06:49:58Z")

</div>

> [@Razithel](#):
>
> AWS Cognito has phone number verification

Is that for free?

---

<div class="post-metadata">

**Author:** ![scottevil](https://awshq.com/letter_avatar_proxy/v4/letter/s/c6cbf5/32.png) [@scottevil](https://awshq.com/u/scottevil)\
**Post date:** [May 25, 2018, 12:58pm UTC](https://awshq.com/t/verify-phone-number/5842/9 "2018-05-25T12:58:35Z")

</div>

> [@EgidioCaprino](#):
>
> Is that for free?

nothing in life is free

---

<div class="post-metadata">

**Author:** ![Manju101](https://awshq.com/letter_avatar_proxy/v4/letter/m/f04885/32.png) [@Manju101](https://awshq.com/u/Manju101)\
**Post date:** [May 25, 2018, 7:56pm UTC](https://awshq.com/t/verify-phone-number/5842/10 "2018-05-25T19:56:32Z")

</div>

> [@EgidioCaprino](#):
>
> Is that for free?

There is free tier portion for Cognito. Check if it meets your volume requiment.  
[https://aws.amazon.com/cognito/pricing/](https://aws.amazon.com/cognito/pricing/)
