Twilio number provisioning

Hi,

I’m getting an error back from Twilio when trying to provision a number. Their API docs state that either a phone number OR area code are required fields. That’s fine, but they don’t seem to be accepting either. The call is really straight-forward. Is there something that you see that I’m missing in my set-up?

Thanks!

Try changing phonenumber to PhoneNumber and changing the body type to Form-Data

1 Like

Thank you. I could’ve sworn that I tried that combination but it worked. Thank you, sir.

1 Like

Literally spent an entire day trying to initialize my API call for Twilio, and it would give me an error, but I switched from body type “json” to “form-data” and it worked! You are godsend, sir. Thank you!