---
title: "Mint a one-time link the FOUNDER opens in their own browser to connect a source. A machine credential never completes third-party OAuth consent, so this returns url (hand it over), poll_token, poll_after_seconds and expires_at, and poll_connection reports the outcome. The link lasts 15 minutes. Scope 'write', but free and unmetered: no LLM call, no paid API, no email, no external write. At most one live link per (product run, provider): a second start while one is pending answers 409."
method: POST
path: "/api/v1/connections/start"
---

# Mint a one-time link the FOUNDER opens in their own browser to connect a source. A machine credential never completes third-party OAuth consent, so this returns url (hand it over), poll_token, poll_after_seconds and expires_at, and poll_connection reports the outcome. The link lasts 15 minutes. Scope 'write', but free and unmetered: no LLM call, no paid API, no email, no external write. At most one live link per (product run, provider): a second start while one is pending answers 409.

`POST /api/v1/connections/start`

## Request

- Base URL: `https://afterlaunch.io`
- URL: `https://afterlaunch.io/api/v1/connections/start`
- Auth: HTTP bearer

## Request body

- object
  - `provider` 'ga4' | 'gsc' | 'gbp' | 'linkedin' | 'reddit', required: Which connector to connect. Providers shut on this account are refused with a written reason rather than handed a link that dead-ends.

## Response `200`

The one-time consent link, its expiry, and the poll token to follow it with.

- object
  - `data` object, required
  - `meta` object, required
    - `enrollment_id` string, uuid, required
    - `generated_at` string, date-time, required

## Other responses

- `400`: Unknown provider.
- `401`: Missing, invalid or revoked API key.
- `403`: The key does not carry the scope this endpoint requires.
- `409`: A link for this provider is already waiting for the founder. Poll the token you hold, or retry after it expires.
- `429`: Per-key rate limit exceeded. Honour Retry-After.
- `503`: Agent-initiated connections are not enabled on this deployment yet.

---

[API](https://skmtc.dev/afterlaunch/apis/afterlaunch-public-api.md) · [All operations](https://skmtc.dev/afterlaunch/apis/afterlaunch-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/afterlaunch/apis/afterlaunch-public-api/revisions/d67a599194a4?raw)
