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

# Creates a credential type

`POST /credentials/v1/credential-type`

## 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.net/safetyculture/apis/safetyculture-api.md) · [All operations](https://skmtc.net/safetyculture/apis/safetyculture-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/safetyculture/safetyculture-api/versions/5be91df61ded/schema)
