---
title: "Returns credential details by credential name"
method: GET
path: "/api/v2/credential/{name}"
tags: ["Delegated RA"]
---

# Returns credential details by credential name

`GET /api/v2/credential/{name}`

## Request

- Base URL: `https://one.digicert.com/documentmanager`
- URL: `https://one.digicert.com/documentmanager/api/v2/credential/{name}`
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/digicert/apis/digicert-content-trust-manager/docs/api/v2/credential/:name/get.ts> (a function with typed inputs; its response is checked against the schema)

With this below API, details and the status of credential can be retrieved,

## Path parameters

- `name` string, required: Credential Name

## Query parameters

- `user_id` string: DTM user id

## Response `200`

OK

- CredentialsDetailsResponseV2
  - `created_by` string
  - `modified_on` string, date-time
  - `modified_by` string
  - `created_on` string, date-time
  - `id` string: Identifier
  - `name` string: Credential Name
  - `user_id` string: DTM user id
  - `account_id` string: DigiCert One Account ID
  - `profile_id` string: Credential Profile ID
  - `first_credential` boolean: This field identify if the credential is a first credential
  - `status` string: Credential Status (ACTIVE, PENDING_ISSUANCE, DEACTIVATED, REVOKED, SUSPENDED)
  - `cc_order_id` string: Cert central order id

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `500`: Internal Server Error

---

[API](https://skmtc.dev/digicert/apis/digicert-content-trust-manager.md) - [All operations](https://skmtc.dev/digicert/apis/digicert-content-trust-manager/llms.txt) - [OpenAPI document](https://skmtc.dev/digicert/apis/digicert-content-trust-manager/revisions/8dec322a0e2b?raw)
