---
title: "Get Connection Metadata"
method: GET
path: "/v1/sources/nango/connection/{connection_id}"
tags: ["sources"]
---

# Get Connection Metadata

`GET /v1/sources/nango/connection/{connection_id}`

Fetch connection metadata from Nango, including the OAuth account email.

This is used to get the connected account's email for display name generation.

## Path parameters

- `connection_id` string, required

## Query parameters

- `provider_config_key` string, required

## Response `200`

Successful Response

- ConnectionMetadataResponse
  - `connection_id` string, required
  - `provider_config_key` string, required
  - `email` string, nullable
  - `display_name` string, nullable

## 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)
