---
title: "Get a credential"
method: GET
path: "/api/credentials/{credentialId}"
tags: ["credential-controller"]
---

# Get a credential

`GET /api/credentials/{credentialId}`

Return the specified credential.

## Path parameters

- `credentialId` string, required

## Response `200`

OK

- Credential
  - `cancelledDtm` TimestampRes
    - `date` integer
    - `day` integer
    - `hours` integer
    - `minutes` integer
    - `month` integer
    - `nanos` integer
    - `seconds` integer
    - `time` integer
    - `timezoneOffset` integer
    - `year` integer
  - `correlationId` string
  - `createdDtm` TimestampRes
    - `date` integer
    - `day` integer
    - `hours` integer
    - `minutes` integer
    - `month` integer
    - `nanos` integer
    - `seconds` integer
    - `time` integer
    - `timezoneOffset` integer
    - `year` integer
  - `credentialProviderId` string
  - `credentialProviderName` string
  - `credentialTypeId` string
  - `credentialTypeName` string
  - `extId` string
  - `href` string
  - `id` string
  - `issueStatus` string
  - `jwt` string
  - `permittedOperations` string[]
  - `revokedDtm` TimestampRes
    - `date` integer
    - `day` integer
    - `hours` integer
    - `minutes` integer
    - `month` integer
    - `nanos` integer
    - `seconds` integer
    - `time` integer
    - `timezoneOffset` integer
    - `year` integer
  - `statusCheckCount` integer
  - `usageRecord` UsageRecord
    - `checkpointPresentations` object
    - `checkpointTypePresentations` object
    - `presentations` integer
  - `usePolicy` CredentialUsePolicy
    - `checkpointPolicy` 'TIME_BASED' | 'VALIDATION_COUNT_BASED'
    - `checkpointTypePolicy` 'TIME_BASED' | 'VALIDATION_COUNT_BASED'
    - `numberOfCheckpointTypeValidations` integer
    - `numberOfCheckpointValidations` integer
    - `numberOfValidations` integer
    - `policy` 'TIME_BASED' | 'VALIDATION_COUNT_BASED'

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Unexpected error in processing the request.

---

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