---
title: "POST /cnhchavedupla"
method: POST
path: "/cnhchavedupla"
tags: ["Chave Dupla V2"]
---

# POST /cnhchavedupla

`POST /cnhchavedupla`

## Request body

- object
  - `Consulta` object
    - `IdConsulta` string, required
    - `Cnh` string, required
    - `CpfCnpj` string, required

## Response `200`

Resposta da consulta:
* Código 1: Sucesso.
* Código 2 - Documento consultado não possui CNH.
* Código 3: Erro na consulta.

- RespostaCnhDupla
  - `CONSULTA` object
    - `CODIGORESPOSTA` string
    - `DATAHORA` string
    - `LOGON` string
    - `IDCONSULTA` string
  - `RESPOSTA` object
    - `CODIGO` string
    - `CNHCHAVETRIPLA` object
      - `REGISTRO_1` object
        - `CPF` string
        - `NUMEROFORMULARIORENACH` string
        - `CNH` string
        - `NOME` string
        - `DATANASCIMENTO` string
        - `NOMEMAE` string
        - `NOMEPAI` string
        - `CATEGORIAATUAL` string
        - `SITUACAO` string[]
        - `DATAVALIDADECNH` string
        - `DATAULTIMAEMISSAO` string
        - `UFHABILITACAOATUAL` string[]
        - `DATAPRIMEIRAHABILITACAO` string
        - `UFPRIMEIRAHABILITACAO` string[]

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/credify/apis/credify-api-auth.md) · [All operations](https://skmtc.net/credify/apis/credify-api-auth/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/credify/credify-api-auth/revisions/c8c11484ec88/schema)
