Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

213
Views
Twillio : before building the app, what is the base URL?

I wrote Twillio code to get phone verification in frontend.

And here PRACTICE_BASE_URL was my IP address like below since I just test it on expo. Whenever IP address I changed it.

const PRACTICE_BASE_URL = "http://172.30.1.18:4000";



const sendCode = async () => {
    setPhoneInserted(true);
    setwaitMessage(true);
    // send verfication code to phone number
    await fetch(`${PRACTICE_BASE_URL}/verify/${phone}`, {
      method: "GET",
      headers: {
        "Content-Type": "application/json",
      },
    })
      .then((res) => res.json())
      .then((res) => {
        if (res.status === "pending") {
          setcheckedNumber(phone);
          setwaitMessage(false);
        }
      })
      .catch((err) => {
        setPhoneInserted(false);
        setwaitMessage(false);
        setphone("");
        console.log(err);
        setDisableConfirm(true);
        goDownY.start();
        setVeriBox(true);
        setVerimessage("잘못된 휴대전화번호입니다.");
        reset();
        setretry(true);
      });
  };

I want to build the app in real or beta version from expo now.

So how do I change BASE_URL here?

I searched but not found in Twillio homepage. please help me.

about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

The usual base URL for the Twilio API is:

https://api.twilio.com/2010-04-01/

The base URL for the Twilio Verify API is:

https://verify.twilio.com/v2/

about 4 years ago · Santiago Gelvez Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!