We provide a developer-friendly test environment, for anyone who wants to check out the usage of our WhatsApp API. The WhatsApp API allows for direct-like access to the WhatsApp Business API.
Sandbox Base Path: https://waba-sandbox.mindbehind.com
Sandbox Phone number: +90 850 241 7606
Because of security reasons, each phone number in the sandbox environment has its own Test MB-API-KEY, and you are able to test sending messages only to your phone number.
In order to get a TEST API Key you can either:
1. send a WhatsApp message from your phone to our Sandbox Phone number with the content MB-API-KEY
2. you can use this link: https://wa.me/908502417606?text=MB-API-KEY
As a response, you will receive your Test MB API KEY. This API Key is connected with your phone (WhatsApp) number. You should then be able to use the MindBehind WhatsApp API. You can set your own Webhook or send an unlimited number of messages.
What you can't do with the Test MB-API-KEY:
In order to send a message you need to follow up the steps in the next article:
Please be aware that you can only send a message to the number you used to generate the MB-API-KEY. Please don't forget to use this key in the header.
If you want to test how you will receive messages on your backend, you need to setup a webhook using the following article:
Whenever you send a message from your phone number you will receive a notification on the webhook you defined.
Please note that in case of Sandbox account you can only use WhatsApp APIs to set the webhook or to send a message. You will get an error if you tried to use any other WhatsApp API.
For further explanation, you can check this diagram and the following postman collection link.