---
title: "Add curp v2"
method: POST
path: "/omni/add/curp/v2"
tags: ["Curp validation"]
---

# Add curp v2

`POST /omni/add/curp/v2`

Add CURP and validation result based on a person data.

## Query parameters

- `interviewId` string

## Headers

- `api-version` string, required

## Request body

- CurpDataRequest
  - `curp` string — User's curp. Has to be in valid format. If it isn't present, then curp value from interview is used.
  - `name` string
  - `firstLastName` string
  - `secondLastName` string
  - `gender` 'H' | 'M' | 'X' — Valid gender values are "H" (Hombre, male), "M" (mujer, female) and "X" (otro, other)
  - `birthDate` string, dd/mm/yyyy
  - `state` string
  - `externalId` string

## Response `200`

Respuesta con validación de CURP

## Other responses

- `400` — Bad Request
- `500` — Internal error during CURP validation.
- `504` — The request to validate the CURP exceeded the allowed time limit

---

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