Twilio and backendless Api

I’m trying to implement Twilio with backendless, I read the documentation here

But when I try to follow the first step


The call return me that password value and email are required.

So in first step, I don’t want that email be required. So I put my phoneNumber as identity column. I sent the body with phoneNumber. Same error. I put the body with phoneNumber AND password, but he create me a user. I didn’t receive the transactionId. So my question is : is the documentation is up to date ? Are you sure that my first call should be users/register?

Thanks you for your response :slight_smile:

Hi @Indevers

We are looking to your question.

Regards,
Marina

@Indevers

You need to add the smsCodeAuth of type Boolean (default - null) to the Users table. When the users/register route is calling you need to pass the next fields:

{
  "phoneNumber":"xxxx",
  "password": "xxxx",
  "smsCodeAuth": true
}

Documentation will be updated in the nearest time. Thanks for letting us know about the issue. If you have any other issues, please text us.

Regards,
Marina

1 Like