---
title: "Create Connect Session"
method: POST
path: "/v1/sources/nango/connect-session"
tags: ["sources"]
---

# Create Connect Session

`POST /v1/sources/nango/connect-session`

Create a Nango connect session for the frontend OAuth flow.

The frontend uses this token to open Nango's Connect UI, which handles
the OAuth flow and creates the connection. Nango sends a webhook when
the connection is complete.

## Request body

- ConnectSessionRequest
  - `workspace_id` string, uuid, required
  - `user_id` string, required
  - `user_email` string, nullable
  - `user_display_name` string, nullable
  - `integration_id` string, nullable

## Response `200`

Successful Response

- ConnectSessionResponse
  - `token` string, required
  - `expires_at` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ontora/apis/ontora-api.md) · [All operations](https://skmtc.dev/ontora/apis/ontora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ontora/ontora-api/revisions/7f57037fd94b/schema)
