SMS Verification using Twilio

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

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

@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

HTTP

Curl also supports user and password in HTTP URLs, thus you can pick a file like:

curl http://name:passwd@machine.domain/full/path/to/file

or specify user and password separately like in

curl -u name:passwd http://machine.domain/full/path/to/file
2 Likes