How to setup WhatsApp cloud API to configure your own sender’s number for WhatsApp login?

How to setup WhatsApp cloud API to configure your own sender’s number for WhatsApp login?



Follow the steps given below to setup Whatsapp cloud API to configure your own sender’s number for whatsapp login


  • Go to this link https://developers.facebook.com/ and click on the My Apps button on the top right corner. (You will need to log into your Facebook account)
  • Whatsapp login - Click My Apps button


  • Now, click on the Create App button.
  • Whatsapp login - Click create app button


  • You will be taken to the next page i.e., Select an app type page.
  • Choose the Business type under Select an app type and click on the Next button.
  • Whatsapp login - Select business and click next button


  • You will be taken to the next page i.e., Provided basic information page.
  • Enter the Display name of the app, it can be anything that you want.
  • If you have a Business Account you can select your business account otherwise you can leave as it is.
  • Now, click on the Create app button.
  • Whatsapp login - Click on the create app button


  • A pop-up appears asking for your facebook account password. Enter the password and click on the Submit button.
  • Whatsapp login - Re-enter password and click submit button

  • On the next page, scroll down to the bottom of the page and in the WhatsApp block click on Set up button. A pop-up to Create a WhatsApp Business Profile appears.
  • Whatsapp login - Select whatsapp app

  • Enter the WhatsApp Business profile display name.
  • Select the Timezone of your country.
  • Select Category and enter Business description otherwise you can leave it blank.
  • Click on the Next button.
  • Whatsapp login - Enter business display name and click next

  • Now, a Business information pop-up appears on your screen.
  • Enter your Legal Business name.
  • Select the Country and enter the Business Website address.
  • Click on the Next button.
  • Whatsapp login - Fill business information and click next

  • Click on the Continue button.
  • Whatsapp login - Whatsapp business platform API

  • Now, you can test the working of Whatsapp API. A temporary access token and a test phone number id is provided to you.
  • Click on the Manage phone number list.
  • Whatsapp login - Select a recipient phone number

  • Select your Country code and you have to add a Phone number to which you want to send a text message.
  • Click on the Next button.
  • Whatsapp login - Enter recipient phone number and click next

  • We have to verify that phone number with an OTP received on that number to receive text messages on WhatsApp.
  • Click on the Next button.
  • Whatsapp login - Enter verification code and click next

  • Now, you can click on the Send message button provided in the Step 2 section.
  • You will receive the test message on the WhatsApp phone number provided by you.
  • Whatsapp login - Click send message button

  • Now to add your sender’s phone number, click on the Add phone number button.
  • Whatsapp login - Click add phone number button

  • Select Country code and add your phone number from which you want to receive a text message. It will give an Error message if your number is registered to an existing whatsapp account so you can’t use the same number.
  • So in this case you will have to set up a new mobile number and you will have to use that new mobile number with the WhatsApp API.
  • Whatsapp login - Enter number and show error message

  • Enter the new mobile number and click on the Next button.
  • Sms messages with an OTP will be sent on this number to verify the mobile number.
  • Whatsapp login - Enter new mobile number

  • Enter the Verification code and click on the Next button.
  • Whatsapp login - Enter verification code

  • If you want to create a message template click here.
  • Whatsapp login - Create own message template

  • These are all the template messages.
  • Now, click on the Create Message Template button on the top right corner.
  • Whatsapp login - Message template page

  • Select template Category, Name your message template and select Languages.
  • Click on the Continue button.
  • Whatsapp login - Click continue button

  • On the next page, fill the Message Content.
  • Select the type of Header and enter the Header name.
  • Enter the Text for your message in the language that you have selected. You have to keep only one variable(use {{1}} as a variable) i.e., for OTP only. Please refer to the screenshot provided.
  • Click on the Submit button.
  • Whatsapp login - Enter message content and click submit

  • A pop-up Confirm Language appears. Then, click on the Confirm button.
  • Whatsapp login - Click confirm button

  • Your message template is successfully submitted. Click on the Done button.
  • Whatsapp login - Click on the done button

  • Your message template has gone for a review to Facebook and you can see the status as Pending review. It usually takes about 30 to 40 sec for the approval.
  • Once your message template is approved by Facebook you can use this template name to send OTP to the users on their WhatsApp number.
  • Whatsapp login - See template approval

  • To register your sender’s number, you need to configure the Register Sender’s Number form provided in the OTP Over Whatsapp plugin. Copy URL, Authorization Token provided in the step 2 of WhatsApp API configuration page.
  • Whatsapp login - Send message with the API

  • You fill the respective fields like Message Template Name(the name of the OTP template that you have created to send to users) and Message Template Language code (eg. for English (US) language code is en_US).
  • Click on the Save Settings button.
  • Whatsapp login - Click save settings button



If you are looking for anything which you cannot find, please drop us an email on 2fasupport@xecurify.com

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com