# WhatsApp API

{% embed url="<https://www.youtube.com/watch?v=xBVFg3ggc70>" %}

### What is the Whatsapp API?

The WhatsApp API is an application programming interface that allows businesses to communicate with customers via WhatsApp in an automated way. It offers a variety of powerful features, such as bulk messaging, automated notifications, and even real-time customer service, all within the world's most popular messaging app.

### Benefits of making this connection to SprintHub

**Better response time for automations:** With the WhatsApp API it is possible to send messages to customers almost immediately through automations. On the Web there is a delay because Meta constantly tries to identify whether the message is coming from a bot or is spam, which can turn a 5-minute automation into 30–45 minutes.

In addition to enabling the use of message Templates and sending payment requests.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FAGvAdJ35gfiudnGTeHa3%2F18.png?alt=media&#x26;token=29bbea65-dfa2-4798-a7e8-a302c0f21da3" alt=""><figcaption></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FYIHy1iiPu4EEOgplTNkj%2F19.png?alt=media&#x26;token=df34c0dd-7272-4365-b1b7-142a03e932a5" alt=""><figcaption></figcaption></figure>

Now let's see how to make this connection in SprintHub.

### Step by step on how to connect the Whatsapp API

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Fu7czkI8r4YbWJK7U0njA%2F1.png?alt=media&#x26;token=09593c47-7bc3-4cc4-979e-9b6b010f080a" alt=""><figcaption></figcaption></figure>

**Integration Configuration in SprintHub**: After obtaining access to the WhatsApp API, access the system panel in SprintHub and navigate to the account configuration section. Look for the WhatsApp API option and follow the instructions to set up the integration.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FElp8fbYlgCVS1pe8nEoJ%2F2.png?alt=media&#x26;token=7ce4f5f6-7d6d-4f64-965b-30a4a6c5910d" alt=""><figcaption><p>System asks if you want to add a new account or reconnect an old one.</p></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F8ZqZhmCa8E98f51luuFQ%2F4.png?alt=media&#x26;token=87d3352a-8a83-43cc-b0a9-c1d1e60e99cb" alt=""><figcaption><p>Meta confirmation to link your account to SprintHub</p></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FIFYxxWdvqF2IyoTx6gGa%2F5.png?alt=media&#x26;token=70543d87-2be7-4b68-a7bf-72f82286fe8e" alt=""><figcaption><p>Meta explaining exactly what SprintHub will have access to; just click confirm and we will proceed to the actual settings.</p></figcaption></figure>

Right after the initial setup steps, we will actually start connecting our WhatsApp. It is important to note that you must have a Business Portfolio within your Meta admin page.

if you have questions about how to do this, here is the platform's own article below.&#x20;

{% embed url="<https://pt-br.facebook.com/business/help/1710077379203657?id=180505742745347>" %}

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FZSA56eZTSJSuMTweT3AY%2F6.png?alt=media&#x26;token=fcc767c7-0f9e-44eb-be89-b18edbee7b1c" alt=""><figcaption><p>On the first screen you have the option to choose and add your portfolio, name, website and company countries.</p></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F5FLwEtrwE4W4CtCdXYjL%2F7.png?alt=media&#x26;token=c62e53c7-5129-4818-87db-fd853af1958a" alt=""><figcaption><p>Shortly after Meta will give you the option to create a new account or select an existing one.</p></figcaption></figure>

Once the processes are done, we will actually give a name to our WhatsApp, both the account and the display name for support, as well as the category, of course.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FWY9qzmJFvZ5BiQU04Ltl%2F8.png?alt=media&#x26;token=c8b1d390-4c6d-48c7-83df-fd2af1cd84d9" alt=""><figcaption></figcaption></figure>

With the parameters set, we move to the next part where it will be confirmed whether the phone number already has a WhatsApp Business account or is new.&#x20;

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Fju9XaHPoHXhRFyqWWig4%2F9.png?alt=media&#x26;token=efeadf2a-034b-4c8b-93e0-a979010467b2" alt=""><figcaption><p>Screen asking whether you want the code sent by SMS or Call.</p></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F8fwLcTk3tMgMWmHm4SYW%2F26.png?alt=media&#x26;token=b40af213-06da-40ac-906c-135dc5c1ad8f" alt=""><figcaption><p>Verification Code screen</p></figcaption></figure>

After that, Meta will confirm again what SprintHub will have access to.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FjjsdhdqrcCVF5afftBxg%2F11.png?alt=media&#x26;token=35c025a7-657e-49f2-badb-cad5cfd92b4c" alt=""><figcaption><p>Screen asking if you truly agree with this connection.</p></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Fk7w4YpZrgOnozDlkJK3z%2F12.png?alt=media&#x26;token=307e7645-73e6-4f84-9e37-ac0572838b97" alt=""><figcaption><p>Process completion screen</p></figcaption></figure>

Done that, we can return to SprintHub and your account will already appear on the settings panel.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FGoTPdrMfch7ixAeHovWh%2F13.png?alt=media&#x26;token=51088cbf-150f-4223-8655-5bcadfbbe98e" alt=""><figcaption><p>Within the account settings, your recent connection will appear</p></figcaption></figure>

Shortly after, it is necessary to connect your API two-factor key.&#x20;

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FTss9XdYdpC8AQSug6bk8%2F14.png?alt=media&#x26;token=ef4275d0-db8a-4f88-8cfc-23dc2940af33" alt=""><figcaption><p>Two-factor screen.</p></figcaption></figure>

With the connection made, the integration with SAC 360 will be opened; by clicking the button it will do this automatically.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FYoC1Y8gV8BMJqWK97S6e%2F15.png?alt=media&#x26;token=d59b50e8-a8d8-4db2-98c6-de3fdf98f166" alt=""><figcaption></figcaption></figure>

Process completed, it is now possible to use your Whatsapp API account within SprintHub

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FPlBVMz5ek7ms2uUAXFei%2F16.png?alt=media&#x26;token=4efb7fe4-e38b-458c-83e9-05da8af1c5e1" alt=""><figcaption><p>Screen showing that everything is connected.</p></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FZTWkDb2ER1OEwrHgVbF3%2F17.png?alt=media&#x26;token=19412158-695d-49e4-9de8-92450f5e6997" alt=""><figcaption><p>Process completion.</p></figcaption></figure>

**Conclusion**

Connecting the WhatsApp API to SprintHub provides a powerful way to communicate with customers and improve the user experience. By following the steps above and taking advantage of the available features, you can offer exceptional service and keep your customers engaged and satisfied. If you need assistance during the integration process or have questions about how to make the most of the WhatsApp API in SprintHub, our support team is always available to help.
