---
title: "Get Connection"
method: GET
path: "/v2/identities/{identifier}/connections/{id}"
tags: ["Connection"]
---

# Get Connection

`GET /v2/identities/{identifier}/connections/{id}`

## Request

- The document declares no server URL.
- Auth: HTTP basic

Returns a connection of the provided identity by connection id.

## Path parameters

- `identifier` string, required
- `id` string, required

## Response `200`

ok

- GetConnectionResponse
  - `id` string, required
  - `userID` string, required
  - `issuerID` string, required
  - `createdAt` string, required
  - `credentials` Credential[], required
    - `id` string, required
    - `proofTypes` string[], required
    - `revoked` boolean, required
    - `schemaHash` string, required
    - `vc` object
    - `encryptedVC` EncryptedVC
      - `id` string, required
      - `data` object, required
      - `proof` object, required
      - `context` string, required
      - `type` string, required
      - `expirationDate` string
      - `issuanceDate` string, required
      - `credentialStatus` object, required

## Other responses

- `400`: Bad Request
- `500`: Internal Server error

## Changes

- **2025-10-20** `cccd00a496da`: 3 info
  - added the optional property `credentials/items/encryptedVC/expirationDate` to the response with the `200` status
  - added the required property `credentials/items/encryptedVC/credentialStatus` to the response with the `200` status
  - added the required property `credentials/items/encryptedVC/issuanceDate` to the response with the `200` status
- **2025-10-15** `593bd7e21102`: 1 breaking
  - the `credentials/items/encryptedVC/data` response's property format changed from `json` to no format for status `200`
- **2025-10-13** `1b654d2d8139`: 1 breaking
  - the `credentials/items/encryptedVC/data` response's property type changed from `string` to `object` for status `200`
- **2025-10-13** `04191088c904`: 1 breaking, 1 info
  - the response property `credentials/items/vc` became optional for the status `200`
  - added the optional property `credentials/items/encryptedVC` to the response with the `200` status
- **2024-12-02** `a71b9e9bd838`: 1 warning, 1 info
  - removed the optional property `credentials/items/encryptedVC` from the response with the `200` status
  - the response property `credentials/items/vc` became required for the status `200`

[Operation history](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer/changes/v2/identities/:identifier/connections/:id/get.md)

---

[API](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer.md) - [All operations](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer/llms.txt) - [OpenAPI document](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer/revisions/8ea65174fe46?raw)
