# WhatsApp个人号

## 1. 功能说明

### 1.1 whatsapp App账号授权绑定功能

#### 1.1.1 通过验证码方式授权（暂时关闭）

{% hint style="info" %}
该方式暂时关闭，请转至[1.1.2](#id-1.1.2-tong-guo-sao-ma-fang-shi-shou-quan)
{% endhint %}

* 选择通过验证码方式授权

<figure><img src="/files/BXE6dtJ52XqKg08355wH" alt=""><figcaption></figcaption></figure>

* 点击 Add Account按钮

<figure><img src="/files/tw9ieQvzpzf3fbGVOfsX" alt=""><figcaption></figcaption></figure>

* 输入已经注册为whatsapp账号的手机号。点击next 将会触发获取验证码的流程。

<figure><img src="/files/7l1hgRIe0jG5R1WPTLbU" alt=""><figcaption></figcaption></figure>

* 当手机上收到whatsapp验证码，然后在该输入框进行输入验证码动作

<figure><img src="/files/BZeXEa9F4cD7TyNdCUdZ" alt=""><figcaption></figcaption></figure>

* 当手机上的验证码在平台上输入以后 ，手机上的whatsapp将会退出，且平台上会出现新的whatsapp账号信息。

#### 1.1.2 通过扫码方式授权

扫码方式授权原手机端不需要登出，可以多设备共存。

* 点击扫描方式授权，弹出二维码

<figure><img src="/files/B7efKBbfNTqove7aOZrU" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/lXgF3kyhn35xvdHOQcGZ" alt=""><figcaption></figcaption></figure>

* 通过whatsapp 手机端扫该二维码，授权同意绑定新设备。
* 绑定成功后，就可以用Inbox 和API接口与客户进行对话

### 1.2 分配whatsapp App账号给坐席（可选操作）

<figure><img src="/files/fGPEdOPfVR3WHOnxoqEM" alt=""><figcaption></figcaption></figure>

* 在whatsapp App账号列表选择齿轮操作按钮。

<figure><img src="/files/NvkUxxjhK8Eg0e0GHrJN" alt=""><figcaption></figcaption></figure>

* 点击 Add Agents按钮后在弹出框里选择子账号。保存后该子账号将获得该whatsapp App账号的使用权限。

### 1.3 Innopaas平台的inbox聊天界面

<figure><img src="/files/cIXZr2t0BeoPwkJ8OnOz" alt=""><figcaption></figcaption></figure>

### 1.4 URL链接方式打开聊天界面

<https://www.innopaas.com/control/whatsapp/inline-chat?to=******>

to参数后面跟目标客户的whatsapp账号 ，手机号可双方约定一个加密方式进行传输

在未登录状态下提示登录

<figure><img src="/files/xKZn2BtwIcCTCtxzhtjD" alt=""><figcaption></figcaption></figure>

#### 1.4.1 URL链接方式聊天界面使用说明

* 登录状态下，可以直接进入与目标客户的聊天界面

<figure><img src="/files/cAxZUWG1Om2nOI2LZwo5" alt=""><figcaption></figcaption></figure>

* 顶部下拉框可以切换客户whatsapp账号

<figure><img src="/files/vISItOtKUOPBTz2OEgYA" alt=""><figcaption></figcaption></figure>

### 1.5 子账号管理（客服账号管理）

<figure><img src="/files/lupb0NDUJJ91z9k5Bhrt" alt=""><figcaption></figcaption></figure>

* 进入Users 用户功能界面，点击Add User 按钮将进入添加子账号

<figure><img src="/files/4dHHmrC5onOxCQnu7TqA" alt=""><figcaption></figcaption></figure>

* 输入邮箱和密码，且选择一个角色，即可创建成功

## 2. 技术对接方案

### 2.1 URL嵌入式页面方式对接

[https://www.innopaas.com/control/whatsapp/inline-chat?to=**\*\*\*\*\*\***](https://www.innopaas.com/control/whatsapp/inline-chat?to=******)

to参数后面跟目标客户的whatsapp账号 ，whatsapp手机号可双方约定一个加密方式进行传输。

在未登录状态下将会跳转到登录界面，可以用子账号进行登录。

### 2.2 API方式对接

同时提供API方式对接，需自行开发客服聊天界面。

\
飞书链接：<https://rkzav3pcv4.feishu.cn/wiki/C9jxwoTscic5R5kasXiccSOXnCd?from=from_copylink>

密码：i6\@95722<br>

## 3. 视频Demo

{% file src="/files/XNW82w2TmxkLqOahHUIa" %}


---

# Agent Instructions: 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:

```
GET https://docs.innopaas.com/whatsapp-chan-pin/whatsapp-ge-ren-hao.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
