Skip to Content
GrowSocmedDocsSocial media command center

Connect links

Let a client connect their own social accounts into your workspace, without a GrowSocmed login.

A connect link is a one-time page where your client connects their accounts into one of your workspaces. They never need a GrowSocmed account, and you never need their passwords. Connect links are part of the paid plans.

curl -X POST https://socmed.growpaces.com/api/v1/connect-links \
  -H "Authorization: Bearer gs_..." \
  -H "X-Workspace: 3f1c…" \
  -H "Content-Type: application/json" \
  -d '{"platforms":["instagram","facebook"],"redirect_url":"https://app.example.com/connected","state":"client-77"}'
{ "url": "https://socmed.growpaces.com/c/…", "expires_at": "2026-11-20T10:30:00.000Z", "start_urls": {} }
Field
platformsWhich platforms the client may connect: instagram, facebook, threads, tiktok, youtube, linkedin, x, pinterest, discord. Default: every platform available.
redirect_urlWhere the client goes when done. Its origin must be allowed in the connect settings first (422 with code: redirect_origin_not_allowed otherwise).
stateYour 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, to connect accounts and press Done. GrowSocmed stores only a hash of it, so it cannot be shown again.

When the client is done

The client may connect several accounts, one platform after another, then presses Done. Each account fires the account.connected webhook.

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

Parameter
statusconnected, or none when nothing was connected
account_idsthe connected accounts, comma separated
stateyour state

A platform's error (for example access_denied, no_accounts, account_in_other_workspace, plan_account_limit) is shown on the link's page, where the client can try again. GET /connect-links lists the latest links with their status (open, used, expired), the accounts connected through them and the last error.

Connect settings

Owners and admins set them with PATCH /connect-settings:

  • brand_name: the name shown on the connect page (up to 60 characters; default: the workspace name).
  • redirect_origins: the origins a redirect_url may use, https:// only, up to 20.

To skip GrowSocmed's page entirely, see Headless connect.