# 44 · Connected apps: connect a POS, CRM or shop with "Connect with Wsapme"

**Purpose:** connect another system (a POS, CRM, course platform, online shop) to your Wsapme workspace with one click, see every app that can use your workspace, and disconnect one at any time.

## Before you start

- You are an owner or admin of the workspace. Members and agents cannot connect or disconnect apps.
- Your plan includes the developer API (the same as API keys).
- The app shows a **Connect with Wsapme** button (or link). You do not need to copy any API key.

> The screenshots and the video use the demo workspace with Demo mode on and **Demo POS**, a made-up private app registered in that workspace for this guide (its page ran on the recording computer, `localhost`). It was connected, looked at and revoked; nothing was sent, and the app was deleted afterwards.

**Watch first (2:27, Malay narration):** [Connect an app with "Connect with Wsapme"](https://v3.wsapme.com/guide-media/video/44-connected-apps-malay.mp4). Settings → Connected apps, the **Connect with Wsapme** button in an app, the consent page (the app box, the workspace, unticking a permission, **Only some numbers**), Allow, the new row in Connected apps, the Audit log and **Revoke**; nothing is sent in the video.

## Part 1 · Connect an app

1. In the other system, click **Connect with Wsapme**. Your browser opens Wsapme. Sign in if you are asked to.
2. Check the box at the top: the app's **logo and name**, **who makes it** (the publisher), its website and privacy policy, and **Sends you back to**: the website you return to after you answer.
   - **Listed by Wsapme** means Wsapme reviewed the app. **Not reviewed by Wsapme** means the app is private to the workspace that made it: allow it only if you or your team built it.
   - **An app on this computer** means the app sends you back to your own computer (`localhost`): a developer testing their app. Allow it only if you started the connection yourself just now.

   ![The consent page: Demo POS by Demo POS Sdn Bhd, its website, privacy policy, "Sends you back to localhost", Not reviewed by Wsapme and An app on this computer](https://v3.wsapme.com/guide-media/img/partnerapps/44-02-consent-app.webp)
3. **Workspace**: choose the workspace the app may use. If you see "(connected now)", allowing again replaces the old connection.
4. **What the app may do**: every permission in plain words. Untick anything you do not want. A permission marked **Not in this workspace's plan** is never given.

   ![What Demo POS may do: Send messages, Read messages (unticked), Read contacts and webhooks](https://v3.wsapme.com/guide-media/img/partnerapps/44-03-permissions.webp)
5. **WhatsApp numbers** (optional): tick **Only some numbers** and choose them. The app then sees and uses only those numbers' chats and messages, and it cannot use webhooks or workspace-wide data. **Allow** stays grey until you tick at least one number.

   ![Only some numbers ticked: the workspace's numbers, each with a box](https://v3.wsapme.com/guide-media/img/partnerapps/44-04-only-some-numbers.webp)
6. Click **Allow**. You go back to the app, which is now connected. Click **Cancel** to refuse: nothing is shared.

Good to know:

- The app never sees your password. It gets a key that works for **one workspace only** and only with the permissions you allowed.
- Everything the app does goes through the same checks as an API key: permissions, numbers, your plan and its limits. Its calls show in **Developers → Request log** under the app's name.
- If the app creates webhooks (to hear about new messages, for example), they belong to the app and are deleted when you disconnect it.

## Part 2 · See and disconnect apps

1. Open **Settings → Connected apps**. With nothing connected it says "No apps are connected".

   ![Settings → Connected apps with no apps connected](https://v3.wsapme.com/guide-media/img/partnerapps/44-01-connected-apps-empty.webp)
2. Each row shows the app (or AI assistant, such as Claude or ChatGPT), its publisher, what it may do, which numbers, **who connected it, when, and when it was last used**.
   ![Connected apps: Demo POS, Private app, what it may do, All numbers, who connected it and when, last used, and Revoke](https://v3.wsapme.com/guide-media/img/partnerapps/44-05-connected-app.webp)
3. Click **Revoke**. Your browser asks "Disconnect Demo POS? It stops working with this workspace at once."; click **OK**. The app stops working with this workspace at once, and its webhooks are deleted. To connect it again, click **Connect with Wsapme** in the app.

Connecting and disconnecting are both written in **Settings → Audit log** (actions `oauth.app.connected` and `oauth.app.revoked`; the page shows one sentence for each, hidden when Demo mode is on).

## Part 3 · Put an app in the menu

1. In **Settings → Connected apps**, click **Add to menu** next to the app. (**Open** opens the app's site in a new tab.)
2. Change the **Name in the menu** if you like (up to 40 characters), and the **Link** if you want a certain page of the app, for example its dashboard. The link must be an https page on the app's own website.
3. Click **Add to menu**. The app shows under **Apps** in the sidebar for everyone in this workspace, with its logo. Clicking it opens the app in a new tab.

To change it, click **Edit menu shortcut**. **Remove from menu** takes it off the menu; the app stays connected. Revoking the app removes it from the menu too, and an app Wsapme suspended is hidden until it is allowed again. The read-only Client role does not see app shortcuts. A workspace can have up to 20.

**Use your apps from Claude or ChatGPT.** Some apps also add their own tools to the Wsapme connector for Claude and ChatGPT (for example a class app's *create a course*). When you connect the connector, tick **Use connected apps** on the Allow page. The tools then show with the app's name in front (for example `kelas_create_course`) for owners and admins. Before a tool changes or deletes something in the app, the assistant tells you what will change and waits for your yes. Revoking the app here removes its tools at once.

## Common problems

| Problem | What to do |
|---|---|
| "No workspace you can connect" | Only owners and admins can connect apps, and the workspace's plan must include the developer API. If the app is **not listed** yet, only the workspace that made it can connect it: ask the app's developer to submit it to Wsapme. |
| "The app sent a return address it did not register. For your safety Wsapme stopped here." | The app's settings are wrong (its redirect URI). Tell the app's developer; nothing was shared. |
| "This request expired. Start connecting again from the app." | You waited more than 15 minutes on the screen. Click **Connect with Wsapme** in the app again. |
| "This app was suspended by Wsapme." | Wsapme stopped the app. Contact the app's developer. Existing connections also stop working until Wsapme lifts it. |
| A permission says **Not in this workspace's plan** | Your plan does not include that feature (for example broadcasts). Upgrade under Settings → Billing, then connect the app again. |
| "This workspace already has 20 API keys and connected apps." | Revoke an old API key under Developers → API keys or an app under Settings → Connected apps, then try again. |
| The app says it lost access | Someone revoked it, it was connected again from another browser (a new connection replaces the old one), or it was not used for 30 days. Click **Connect with Wsapme** again. |
| **Add to menu** is grey | The app has no website yet, so there is nothing to open. Ask the app's developer to add a website or an Open app link. |
| "Use an https:// link on the app's own website" | The menu link can only point to the app's own site (the address shown). Leave **Link** empty to use the app's default page. |
| **Allow** is grey | Tick at least one permission, and if **Only some numbers** is ticked, tick at least one number (or untick Only some numbers). |
| The app needs webhooks but I limited it to some numbers | Number-limited connections cannot use webhooks. Connect it again without **Only some numbers**. |
