---
title: "Create credential"
method: POST
path: "/api/v1/credential"
tags: ["Credentials (v1)"]
---

# Create credential

`POST /api/v1/credential`

## Request

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

Use this endpoint to create an additional user credential using the given profile ID and details.

The following parameters are required in the request body:

`account` — Account ID and name.

`label` — Credential label.

`profileId` — Credential profile ID.

## Request body

- AddCredentialRecurringDcoRequest
  - `account` Account, required
    - `id` string, required: DigiCert One Account ID
    - `name` string
  - `label` string, required
  - `mobile` string
  - `profileId` string, required
  - `reuseExistingSecret` boolean

## Response `200`

Credential details

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