> ## Documentation Index
> Fetch the complete documentation index at: https://gowa-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Postman

> 导入 GOWA 的 OpenAPI 规格到 Postman 或 Insomnia 。

GOWA 运送一个 OpenAPI 3 spec，而不是Postman 收藏。导入它作为一个现成的请求获取每个端点。

1. 在 Postman中，选择 **导入 -> 链接** 并粘贴：
   ```text theme={null}
   https://raw.githubusercontent.com/aldinokemal/go-whatsapp-web-multidevice/main/docs/openapi.yaml
   ```
2. 打开生成的集合的 **Authorization** 标签，选择 **Basic Auth**，然后输入您的 `APP_BASIC_AUTH` 用户名和密码。请求设置为 **从父级**继承认证\*\* 。
3. 设置 `baseUrl` 收藏变量到您的服务器，例如`http://localhost:3000`。
4. 添加一个 `X-Device-Id` 头部(或收藏级别的预请求头)，带有您的设备 ID。

Insomnia、Bruno和Hoppscotch导入相同的文件。

与GOWA捆绑在一起的仪表板(在`/`上服务)是另一种快速尝试终点的方式。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.