# Headless connect (/growsocmed/docs/developers/headless-connect)

Send clients straight from your own app to a platform's login, without showing GrowSocmed's connect page.

With headless connect, each connect link also returns one start URL per platform. Your app shows its own buttons ("Connect Instagram", "Connect TikTok"…) and sends the client to the start URL, which goes straight to the platform's login. The client never sees a GrowSocmed page.

## Turn it on [#turn-it-on]

Headless connect needs a GrowPaces admin to allow it for your workspace:

1. Ask for it: [`POST /connect-settings/headless`](/growsocmed/docs/api-reference/connect-links/request-headless-connect) (paid plans).
2. [`GET /connect-settings`](/growsocmed/docs/api-reference/connect-links/get-connect-settings) shows `headless_requested` and, once allowed, `headless_approved: true`.

## Use it [#use-it]

[Create a connect link](/growsocmed/docs/developers/connect-links) as usual, with a `redirect_url` on an allowed origin. Once headless connect is allowed, `start_urls` is filled:

```json
{
  "url": "https://socmed.growpaces.com/c/…",
  "expires_at": "2026-11-20T10:30:00.000Z",
  "start_urls": {
    "instagram": "https://socmed.growpaces.com/api/public/connect-links/…/start/instagram",
    "tiktok": "https://socmed.growpaces.com/api/public/connect-links/…/start/tiktok"
  }
}
```

Open the start URL in the client's browser (a redirect or a new window). After the platform's login the client returns to your `redirect_url` with the same parameters as a normal connect link (`status`, `account_ids`, `state`…). Errors before the login, such as an expired link or a platform the link does not allow, also go to your `redirect_url` with `status=error`.

The start URLs belong to the link: they also work 30 minutes and only until the link is used.