# Connect links (/growseller/docs/developers/connect-links)

Let a client connect their own store, email account or WhatsApp number into your account, without a GrowSeller login.

**What it's for:** letting a client connect their store or account into yours without a GrowSeller login (**Developer** → **Connector Link**).

A connect link is a one-time page where your client connects their TikTok Shop or Shopee store, an email account or a WhatsApp Business number into your GrowSeller account. They never need a GrowSeller account, and you never need their passwords. What they connect is yours to work and counts against your plan, as if you had connected it.

Make links in the dashboard (**Developer** → **Connector Link** for every option, or **Ask someone else to connect** in any Add Connector window for one platform in one click), through the API or from an AI agent over [MCP](/growseller/docs/developers/mcp).

## Make a link [#make-a-link]

First allow the address your client returns to: add its origin to the link settings (`redirect_origins`, see [Link settings](#link-settings)), once, or a `redirect_url` on it is refused.

```bash
curl -X PATCH https://seller.growpaces.com/api/v1/connect-links/settings \
  -H "Authorization: Bearer gsk_..." \
  -H "Content-Type: application/json" \
  -d '{"redirect_origins":["https://app.example.com"]}'
```

Then make the link:

```bash
curl -X POST https://seller.growpaces.com/api/v1/connect-links \
  -H "Authorization: Bearer gsk_..." \
  -H "Content-Type: application/json" \
  -d '{"platforms":["tiktok_shop","shopee"],"redirect_url":"https://app.example.com/connected","state":"client-77"}'
```

```json
{ "success": true, "data": { "id": "…", "url": "https://grow.lu/sc…", "status": "open", "expires_at": "…" } }
```

| Field | |
| --- | --- |
| `platforms` | What the client may connect: `tiktok_shop`, `shopee`, `email`, `whatsapp`. Only what your plan allows now (`403 PLAN_LIMIT` otherwise). Default: every one your plan allows. |
| `redirect_url` | Where the client goes when done (`https://`). Its origin must be allowed in the link settings first (`422 REDIRECT_ORIGIN_NOT_ALLOWED` otherwise). |
| `state` | Your own value (up to 200 characters), sent back on the redirect. |

Send the client the `url`. It must be opened within **30 minutes** and works **once**: the browser that opens it keeps the link for 24 hours, so a TikTok Shop connect that waits for TikTok's activation email can finish later. Only a fingerprint of the link is kept, so it cannot be shown again. ([`POST /connect-links`](/growseller/docs/api-reference/connect-links/post-connect-links))

## What the client does [#what-the-client-does]

The page shows your brand name and the platforms you allowed, then the same steps as the dashboard:

- **TikTok Shop**: add the address GrowSeller gives as a member in TikTok Seller Center (or import the store's cookies), and solve TikTok's security check if one comes.
- **Shopee**: import the Seller Centre cookies.
- **Email**: the account's SMTP and IMAP settings.
- **WhatsApp**: Meta's signup, in the same tab, then back to the link's page.

## When the client is done [#when-the-client-is-done]

The client may connect several stores or accounts of the link's platforms, one after another, then presses **Done**. Each one fires the [`store.connected`](/growseller/docs/developers/webhooks) webhook, with the platform, the id and the link's id.

Without `redirect_url`, **Done** shows a "connected" page. With it, the client returns to your address with:

| Parameter | |
| --- | --- |
| `status` | `connected`, or `none` when nothing was connected |
| `connected` | what was connected, as `platform:id`, comma separated |
| `state` | your `state` |

[`GET /connect-links`](/growseller/docs/api-reference/connect-links/get-connect-links) lists your links, newest first, with their status (`open`, `used`, `connected`, `failed` or `expired`) and `connections` (each with the `platform` and `id` it connected). Filter with `status=…`, page with `page` and `limit` (at most 100); the answer carries `page`, `limit`, `total` and `has_more`.

## Link settings [#link-settings]

[`PATCH /connect-links/settings`](/growseller/docs/api-reference/connect-links/patch-connect-links-settings) (or **Developer** → **Connector Link** → **New connect link** → **Link settings** in the dashboard):

- `brand_name`: the name the page shows (up to 60 characters; default: your name).
- `redirect_origins`: the origins a `redirect_url` may use, `https://` only, up to 20.