---
title: "Create credential v2 flow supports credential creation with CertCentral, Trustlink, MPKI8 and Dcone CA"
method: POST
path: "/api/v2/credential"
tags: ["Delegated RA"]
---

# Create credential v2 flow supports credential creation with CertCentral, Trustlink, MPKI8 and Dcone CA

`POST /api/v2/credential`

## Request

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

The below API can be called to create a credential for a signer who was created in the Signer Creation API.

## Request body

- CreateCredentialRequestV2
  - `label` string, required: Label
  - `countryCode` string: Country code
  - `productName` string, required: Unique product name
  - `organization` Organization, required
    - `id` integer, required: Organization ID
    - `contacts` Contact[], required: This field contains list of organization contact (Authorized representative) details
      - `first_name` string: Organizational contact’s first_name
      - `last_name` string: Organizational contact’s last_name
      - `telephone` string: Organizational contact’s telephone number
      - `email` string: Organizational contact’s email
      - `job_title` string: Organizational contact’s job_title
      - `country` string: Organizational contact’s country
      - `city` string: Organizational contact’s city
      - `state` string: Organizational contact’s state
      - `zip` string: Organizational contact’s zip
      - `contact_type` 'VERIFIED_CONTACT' | 'ORGANIZATION_CONTACT', required: verified contact
      - `id` integer
  - `userId` string, required: User Identifier

## Response `200`

OK

- CredentialResponse
  - `id` string
  - `account_id` string
  - `userId` string
  - `credential_id` string
  - `name` string
  - `profile_id` string
  - `first_credential` boolean

## 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)
