---
title: "Create a credential type"
method: POST
path: "/credentials/v1/credential-type"
tags: ["Credentials"]
---

# Create a credential type

`POST /credentials/v1/credential-type`

## Request

- Base URL: `https://api.mitti.com`
- URL: `https://api.mitti.com/credentials/v1/credential-type`
- Auth: HTTP bearer

## Request body

- S12UserdocumentsV1CreateDocumentTypeRequest
  - `document_category` 'DOCUMENT_CATEGORY_LICENSES_AND_CREDENTIALS': - DOCUMENT_CATEGORY_LICENSES_AND_CREDENTIALS: Licenses and credentials for users
  - `type_attributes` S12TypefieldV1CreateTypeAttributes
    - `name` string: Required. Name of the type.
    - `description` string: Description of the type.
    - `id` string: ID of the type.

## Response `200`

A successful response.

- S12UserdocumentsV1CreateDocumentTypeResponse
  - `id` string: The unique identifier of the created credential type.

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/safetyculture/apis/safetyculture-api.md) - [All operations](https://skmtc.dev/safetyculture/apis/safetyculture-api/llms.txt) - [OpenAPI document](https://skmtc.dev/safetyculture/apis/safetyculture-api/revisions/eb6bb843bf18?raw)
