---
title: "Gets a credential or verifiable credential by ID. To get a credential that does not have credential.id set but has an associated credentialId value, pass credentialId instead."
method: GET
path: "/credentials/{id}"
tags: ["Credentials"]
---

# Gets a credential or verifiable credential by ID. To get a credential that does not have credential.id set but has an associated credentialId value, pass credentialId instead.

`GET /credentials/{id}`

## Parameters

- `./components/parameters/path/ObjectId.yml` — unresolved $ref

## Response `200`

Credential retrieved

- VerifiableCredentialResponse — unresolved $ref

## Other responses

- `400` — Bad Request
- `401` — Not Authorized
- `404` — Credential not found
- `410` — Gone! There is no data here
- `418` — I'm a teapot - MUST not be returned outside of pre-arranged scenarios between both parties

## Changes

- **2025-09-23** `466d8897863d` — 1 breaking
  - added `#/components/schemas/VerifiableCredentialResponse` to the response body `oneOf` list for the response status `200`
- **2025-09-23** `474599254bb9` — 1 info
  - removed `#/components/schemas/VerifiableCredentialResponse` from the response body `oneOf` list for the response status `200`

[Change history](https://skmtc.dev/w3c/apis/verifiable-credential-api-for-lifecycle-management/changes/credentials/:id/get.md)

---

[API](https://skmtc.dev/w3c/apis/verifiable-credential-api-for-lifecycle-management.md) · [All operations](https://skmtc.dev/w3c/apis/verifiable-credential-api-for-lifecycle-management/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/w3c/verifiable-credential-api-for-lifecycle-management/revisions/a52f8ca5b671/schema)
