---
title: "Get a connection"
method: GET
path: "/v3/connections/{connectionId}"
tags: ["Resources"]
---

# Get a connection

`GET /v3/connections/{connectionId}`

## Path parameters

- `connectionId` string, uuid, required

## Response `200`

The connection.

- Connection — A data warehouse connection. Credentials are never returned — secret fields are stripped from `config`.
  - `id` string, uuid
  - `name` string
  - `provider_id` string
  - `user_id` string
  - `account_id` string
  - `privacy` 'private' | 'shared'
  - `config` object
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401` — The token is missing, malformed or expired.
- `403` — The token doesn't grant access to this resource.
- `404` — The resource doesn't exist.

---

[API](https://skmtc.net/gitbookio/apis/carto-api.md) · [All operations](https://skmtc.net/gitbookio/apis/carto-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitbookio/carto-api/revisions/019f79ecdd6c/schema)
