# SMS Verification using Twilio

**URL:** https://community.thunkable.com/t/sms-verification-using-twilio/1034201
**Category:** Questions about Thunkable X
**Created:** [December 12, 2020, 11:23pm UTC](https://community.thunkable.com/t/sms-verification-using-twilio/1034201 "2020-12-12T23:23:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![abdallask](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@abdallask](https://community.thunkable.com/u/abdallask)
#### Post date: [December 12, 2020, 11:23pm UTC](https://community.thunkable.com/t/sms-verification-using-twilio/1034201/1 "2020-12-12T23:23:45Z")

</div>

I want to use Twilio to send a generated number via text message(sms). I know that Twilio has a CURL api and it should work with the webapi component in Thunkable x but I dont know how to use the webapi component.  
here is an example of what I should post in the webapi component but I dont know where to write the account sid and auth token

```auto
curl -X POST https://verify.twilio.com/v2/Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Verifications \--data-urlencode "To=+15017122661" \--data-urlencode "Channel=sms" \-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN

```

---

<div class="post-metadata">

### Author: ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)
#### Post date: [December 13, 2020, 10:49am UTC](https://community.thunkable.com/t/sms-verification-using-twilio/1034201/3 "2020-12-13T10:49:44Z")

</div>

@abdallask,

Sorry, I skimmed you message and did not notice the question was about the -u curl setting.

I haven’t used a site with this setting, but here is a promising reference

[https://curl.se/docs/manual.html](https://curl.se/docs/manual.html)

> ### HTTP
> 
> Curl also supports user and password in HTTP URLs, thus you can pick a file like:
> 
> ```auto
> curl http://name:passwd@machine.domain/full/path/to/file
> 
> ```
> 
> or specify user and password separately like in
> 
> ```auto
> curl -u name:passwd http://machine.domain/full/path/to/file
> 
> ```

```auto

```

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:19pm UTC](https://community.thunkable.com/t/sms-verification-using-twilio/1034201/4 "2024-11-08T12:19:48Z")

</div>


