---
title: "POST /api/v1/dian/authenticate"
method: POST
path: "/api/v1/dian/authenticate"
tags: ["dian-api-controller"]
---

# POST /api/v1/dian/authenticate

`POST /api/v1/dian/authenticate`

## Request body

- DianAuthRequestDTO
  - `identificationType` string, required
  - `personCode` string, required

## Response `200`

OK

- ApiResponseDTODianAuthResponseDTO
  - `success` boolean
  - `data` DianAuthResponseDTO
    - `success` boolean
    - `message` string
    - `token` string
    - `tokenType` string
    - `expiresIn` integer
  - `message` string
  - `errorCode` string

## Other responses

- `400` — Bad Request
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.dev/worldoffice/apis/world-office-api.md) · [All operations](https://skmtc.dev/worldoffice/apis/world-office-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/worldoffice/world-office-api/revisions/ab962606cb0a/schema)
