> For the complete documentation index, see [llms.txt](https://docs.watzap.id/help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.watzap.id/help/integrations/menambahkan-nomor-wa-untuk-api.md).

# Menambahkan Nomor WA untuk API

Salah satu fitur canggih yang ada di WatZap adalah Rest API. Dengan fitur ini, Kamu bisa menghubungkan WatZap ke berbagai platform atau aplikasi. Untuk menggunakan fitur Rest API, tentu saja harus ada nomor yang di-Assign atau terhubung ke API.

Nantinya, nomor yang terhubung itulah yang akan digunakan untuk mengirimkan pesan otomatis ke berbagai aplikasi yang Kamu integrasikan.

Nah, cara assign atau menghubungkan nomor WhatsApp untuk API sebenarnya hampir sama saat [menghubungkan nomor Broadcast](/help/connect-to-whatsapp/cara-connect-nomor-whatsapp.md).&#x20;

Mula-mula, silahkan kamu masuk ke menu **WhatsApp**.

![Masuk ke Menu WhatsApp](/files/yfFz5c1eGzAjTgwr5DYU)

Selanjutnya, silahkan pindah ke tab **API**.

<figure><img src="/files/VGirAZRBtoU9hMpUmf7s" alt=""><figcaption><p>Pindah ke Tab API</p></figcaption></figure>

Lalu Kamu bisa klik tombol "**+ Add WhatsApp Number**".

<figure><img src="/files/S3YVibQm2DBLpT1WhMc1" alt=""><figcaption><p>Klik Add WhatsApp Number</p></figcaption></figure>

Kemudian Kamu tinggal klik tombol "**Generate QR Code**".

<figure><img src="/files/uvwidr88p85W1zbuKNWX" alt=""><figcaption><p>Klik Generate QR Code</p></figcaption></figure>

Silahkan scan QR Code yang muncul menggunakan nomor WhatsApp yang akan digunakan sebagai nomor API.

<figure><img src="/files/DyEcejI7CNyL79JcyhxR" alt=""><figcaption><p>Scan QR Code</p></figcaption></figure>

Tunggu proses Scan QR Code sampai muncul notifikasi "**WhatsApp is Connected**".

<figure><img src="/files/FSEzFnVj9cVZBZxMaC1R" alt=""><figcaption><p>Tunggu Hingga Muncul Notifikasi WhatsApp is Connected</p></figcaption></figure>

Jika sudah selesai, maka nomor siap digunakan sebagai API.

<figure><img src="/files/5gCy4OMxFqGcxZTsVFAG" alt=""><figcaption><p>Nomor Berhasil Ditambahkan ke API</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.watzap.id/help/integrations/menambahkan-nomor-wa-untuk-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
