# Módulo Perfil

# /api/app/auth/user

##### Servicio del modulo General.

### Detalles técnicos

- **Endpoint: /api/app/auth/user**
- **Método:** `POST`

### 🌐 Dominios

#### QA

```
https://qapagalo.shalom.pe/api/app/auth/user
```

#### Producción

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-etiqueta-url-princip"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 113px; width: 100%;"><thead class="text-left"><tr><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 23.5939%;">Etiqueta</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 76.3823%;">URL</th></tr></thead><tbody><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Principal</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/app/auth/user</td></tr><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Región 2</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/app/auth/user</td></tr><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Failover</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/app/auth/user</td></tr></tbody></table>

</div>---

### 📋 Headers

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-clave-valor-requerid"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 122.338px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Clave</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Valor</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Requerido</th></tr></thead><tbody><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Content-Type`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">application/x-www-form-urlencoded</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Authorization`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Bearer &lt;token&gt;</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Api-Key-App-Rastrea</td><td style="width: 33.3651%; height: 30.9125px;">N/A</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">No</td></tr><tr><td style="width: 33.3651%;">Accept</td><td style="width: 33.3651%;">*/*</td><td style="width: 33.3651%;">Sí</td></tr></tbody></table>

</div>### 📩 Request

```
document:72607245
```

---

### 📤 Response

```json
{
    "success": true,
    "message": "Datos encontrados.",
    "data": {
        "type_document": "DNI",
        "id": 89744,
        "document": "72607245",
        "name": "DAISY",
        "paternal_surname": "CHIPANA",
        "maternal_surname": "LAPA",
        "birthdate": null,
        "phone": 922749652,
        "email": "dchipanalapa@gmail.com",
        "address": null,
        "ubigeo": null,
        "departament_id": 0,
        "province_id": 0,
        "district_id": 0
    }
}

```

---

### 📍 Contexto funcional (Dónde se usa)

1. **Módulo Perfil → Perfil**
    - **Evento:** Al presionar el item "Perfil"
    - **Uso:** Obtiene la informacion del usuario.

---

### 🖼️ Pantallazos

- **Perfil:**
    
    [![image.png](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/scaled-1680-/XsDimage.png)](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/XsDimage.png)

### 📂 Archivos Flutter relacionados

- - lib/src\\utils\\overskull.dart

---

### 🗒️ Notas adicionales

- - Usa Authorization Bearer generado por Internet.httpPost/httpGet.

# /api/app/auth/user/update

##### Servicio del modulo General.

### Detalles técnicos

- **Endpoint: /api/app/auth/user/update**
- **Método:** `POST`

### 🌐 Dominios

#### QA

```
https://qapagalo.shalom.pe/api/app/auth/user/update
```

#### Producción

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-etiqueta-url-princip"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 135.2px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 23.5939%; height: 29.6px;">Etiqueta</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 76.3823%; height: 29.6px;">URL</th></tr></thead><tbody><tr style="height: 35.2px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Principal</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/app/auth/user/update</td></tr><tr style="height: 35.2px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Región 2</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/app/auth/user/update</td></tr><tr style="height: 35.2px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Failover</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/app/auth/user/update</td></tr></tbody></table>

</div>---

### 📋 Headers

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-clave-valor-requerid"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 122.338px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Clave</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Valor</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Requerido</th></tr></thead><tbody><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Content-Type`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">application/x-www-form-urlencoded</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Authorization`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Bearer &lt;token&gt;</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Api-Key-App-Rastrea</td><td style="width: 33.3651%; height: 30.9125px;">N/A</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">No</td></tr><tr><td style="width: 33.3651%;">Accept</td><td style="width: 33.3651%;">*/*</td><td style="width: 33.3651%;">Sí</td></tr></tbody></table>

</div>### 📩 Request

```
document:75844645
birthdate:
address:Av. prueba2
ubigeo:150108
```

---

### 📤 Response

```json
{
    "success": true,
    "message": "Datos actualizados.",
    "data": {
        "document": "75844645",
        "birthdate": "1995-06-02",
        "address": "Av. prueba23",
        "ubigeo": 150108
    }
}

```

---

### 📍 Contexto funcional (Dónde se usa)

1. **Módulo Perfil → Perfil**
    - **Evento:** Al presionar el boton "Guardar datos".
    - **Uso:** Actualiza los datos del usuario.

---

### 🖼️ Pantallazos

- **Perfil:**
    
    [![image.png](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/scaled-1680-/CsMimage.png)](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/CsMimage.png)

### 📂 Archivos Flutter relacionados

- - lib/src\\utils\\overskull.dart

---

### 🗒️ Notas adicionales

- - Usa Authorization Bearer generado por Internet.httpPost/httpGet.

# /api/app/auth/password

##### Servicio del modulo General.

### Detalles técnicos

- **Endpoint: /api/app/auth/password**
- **Método:** `POST`

### 🌐 Dominios

#### QA

```text
https://qapagalo.shalom.pe/api/app/auth/password
```

#### Producción

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-etiqueta-url-princip"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 135.359px; width: 100%;"><thead class="text-left"><tr style="height: 29.7969px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 23.5939%; height: 29.7969px;">Etiqueta</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 76.3823%; height: 29.7969px;">URL</th></tr></thead><tbody><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Principal</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/password</td></tr><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Región 2</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/password</td></tr><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Failover</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/password</td></tr></tbody></table>

</div>---

### 📋 Headers

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-clave-valor-requerid"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 122.338px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Clave</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Valor</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Requerido</th></tr></thead><tbody><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Content-Type`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">application/x-www-form-urlencoded</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Authorization`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Bearer &lt;token&gt;</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Api-Key-App-Rastrea</td><td style="width: 33.3651%; height: 30.9125px;">N/A</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">No</td></tr><tr><td style="width: 33.3651%;">Accept</td><td style="width: 33.3651%;">*/*</td><td style="width: 33.3651%;">Sí</td></tr></tbody></table>

</div>### 📩 Request

```
email:
phone:922749652
password:Shalom123!!
repeat:Shalom123!!
password_old:
```

---

### 📤 Response

```json
{
    "success": true,
    "message": "La contraseña se creó correctamente."
}

```

---

### 📍 Contexto funcional (Dónde se usa)

1. **Módulo Perfil → Perfil** 
    - **Evento:** Al presionar el boton "Actualizar contraseña".
    - **Uso:** Actualiza la contraseña del usuario.

---

### 🖼️ Pantallazos

- **Perfil:**
    
    [![image.png](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/scaled-1680-/fmAimage.png)](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/fmAimage.png)

### 📂 Archivos Flutter relacionados

- - lib/src\\utils\\overskull.dart

---

### 🗒️ Notas adicionales

- - Usa Authorization Bearer generado por Internet.httpPost/httpGet.

# /api/app/auth/account-deletion/check-send-limit

##### Servicio del modulo General.

### Detalles técnicos

- **Endpoint: /api/app/auth/account-deletion/check-send-limit**
- **Método:** `POST`

### 🌐 Dominios

#### QA

```text
https://qapagalo.shalom.pe/api/app/auth/account-deletion/check-send-limit
```

#### Producción

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-etiqueta-url-princip"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 135.359px; width: 100%;"><thead class="text-left"><tr style="height: 29.7969px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 23.5939%; height: 29.7969px;">Etiqueta</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 76.3823%; height: 29.7969px;">URL</th></tr></thead><tbody><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Principal</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/check-send-limit</td></tr><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Región 2</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/check-send-limit</td></tr><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Failover</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/check-send-limit</td></tr></tbody></table>

</div>---

### 📋 Headers

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-clave-valor-requerid"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 122.338px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Clave</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Valor</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Requerido</th></tr></thead><tbody><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Content-Type`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">application/x-www-form-urlencoded</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Authorization`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Bearer &lt;token&gt;</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Api-Key-App-Rastrea</td><td style="width: 33.3651%; height: 30.9125px;">N/A</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">No</td></tr><tr><td style="width: 33.3651%;">Accept</td><td style="width: 33.3651%;">*/*</td><td style="width: 33.3651%;">Sí</td></tr></tbody></table>

</div>### 📩 Request

```
{
  "user_id": "89744",
  "method": "phone"
}
```

---

### 📤 Response

```json
{
    "success": true,
    "blocked": false,
    "remainingAttempts": 3
}

```

---

### 📍 Contexto funcional (Dónde se usa)

1. **Módulo Perfil → Eliminar Cuenta**
    - **Evento:** Al presionar el boton "Continuar" luego de escoger una opcion.
    - **Uso:** Verifica la cantidad de intentos posibles.

---

### 🖼️ Pantallazos

- **Eliminar Cuenta:**
    
    [![image.png](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/scaled-1680-/pGhimage.png)](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/pGhimage.png)

### 📂 Archivos Flutter relacionados

- - lib/src\\utils\\overskull.dart

---

### 🗒️ Notas adicionales

- - Usa Authorization Bearer generado por Internet.httpPost/httpGet.

# /api/app/auth/account-deletion/send-otp

##### Servicio del modulo General.

### Detalles técnicos

- **Endpoint: /api/app/auth/account-deletion/send-otp**
- **Método:** `POST`

### 🌐 Dominios

#### QA

```text
https://qapagalo.shalom.pe/api/app/auth/account-deletion/send-otp
```

#### Producción

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-etiqueta-url-princip"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 135.359px; width: 100%;"><thead class="text-left"><tr style="height: 29.7969px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 23.5939%; height: 29.7969px;">Etiqueta</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 76.3823%; height: 29.7969px;">URL</th></tr></thead><tbody><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Principal</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/send-otp</td></tr><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Región 2</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/send-otp</td></tr><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Failover</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/send-otp</td></tr></tbody></table>

</div>---

### 📋 Headers

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-clave-valor-requerid"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 122.338px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Clave</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Valor</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Requerido</th></tr></thead><tbody><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Content-Type`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">application/x-www-form-urlencoded</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Authorization`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Bearer &lt;token&gt;</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Api-Key-App-Rastrea</td><td style="width: 33.3651%; height: 30.9125px;">N/A</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">No</td></tr><tr><td style="width: 33.3651%;">Accept</td><td style="width: 33.3651%;">*/*</td><td style="width: 33.3651%;">Sí</td></tr></tbody></table>

</div>### 📩 Request

```json
{
  "user_id": "89744",
  "method": "phone"
}
```

---

### 📤 Response

```json
{
    "success": true,
    "message": "Código enviado correctamente",
    "method": "phone",
    "recipient": "92****652",
    "remainingResendAttempts": 0
}

```

---

### 📍 Contexto funcional (Dónde se usa)

1. **Módulo Perfil → Eliminar cuenta**
    - **Evento:** Al presionar el boton "Continuar" luego de escoger una opcion.
    - **Uso:** Solicita codigo segun la opcion que eligio.

---

### 🖼️ Pantallazos

- **Eliminar cuenta:**
    
    [![image.png](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/scaled-1680-/RUkimage.png)](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/RUkimage.png)

### 📂 Archivos Flutter relacionados

- - lib/src\\utils\\overskull.dart

---

### 🗒️ Notas adicionales

- - Usa Authorization Bearer generado por Internet.httpPost/httpGet.

# /api/app/auth/account-deletion/get-otp-info

##### Servicio del modulo General.

### Detalles técnicos

- **Endpoint: /api/app/auth/account-deletion/get-otp-info**
- **Método:** `POST`

### 🌐 Dominios

#### QA

```text
https://qapagalo.shalom.pe/api/app/auth/account-deletion/get-otp-info
```

#### Producción

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-etiqueta-url-princip"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 135.359px; width: 100%;"><thead class="text-left"><tr style="height: 29.7969px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 23.5939%; height: 29.7969px;">Etiqueta</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 76.3823%; height: 29.7969px;">URL</th></tr></thead><tbody><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Principal</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/get-otp-info</td></tr><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Región 2</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/get-otp-info</td></tr><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Failover</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/get-otp-info</td></tr></tbody></table>

</div>---

### 📋 Headers

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-clave-valor-requerid"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 122.338px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Clave</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Valor</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Requerido</th></tr></thead><tbody><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Content-Type`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">application/x-www-form-urlencoded</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Authorization`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Bearer &lt;token&gt;</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Api-Key-App-Rastrea</td><td style="width: 33.3651%; height: 30.9125px;">N/A</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">No</td></tr><tr><td style="width: 33.3651%;">Accept</td><td style="width: 33.3651%;">*/*</td><td style="width: 33.3651%;">Sí</td></tr></tbody></table>

</div>### 📩 Request

```json
{
  "user_id":"89744",
  "method":"phone"
}
```

---

### 📤 Response

```json
{
  "success":true,
  "remainingSeconds":118,
  "isBlocked":true,
  "failedAttempts":3,
  "remainingAttempts":0
}

```

---

### 📍 Contexto funcional (Dónde se usa)

1. **Módulo Perfil → Ellminar cuenta**
    - **Evento:** Al presionar el boton "Reenviar codigo" de la alerta "Se acabo el tiempo".
    - **Uso:** Obtiene la informacion de cuanto envios tiene segun la opcion que eligio.

---

### 🖼️ Pantallazos

- **Eliminar cuenta:**
    
    [![image.png](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/scaled-1680-/WjNimage.png)](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/WjNimage.png)

### 📂 Archivos Flutter relacionados

- - lib/src\\utils\\overskull.dart

---

### 🗒️ Notas adicionales

- - Usa Authorization Bearer generado por Internet.httpPost/httpGet.

# /api/app/auth/account-deletion/validate-otp

##### Servicio del modulo General.

### Detalles técnicos

- **Endpoint: /api/app/auth/account-deletion**/validate-otp
- **Método:** `POST`

### 🌐 Dominios

#### QA

```text
https://qapagalo.shalom.pe/api/app/auth/account-deletion/validate-otp
```

#### Producción

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-etiqueta-url-princip"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 135.359px; width: 100%;"><thead class="text-left"><tr style="height: 29.7969px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 23.5939%; height: 29.7969px;">Etiqueta</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 76.3823%; height: 29.7969px;">URL</th></tr></thead><tbody><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Principal</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/validate-otp</td></tr><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Región 2</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/validate-otp</td></tr><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Failover</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/validate-otp</td></tr></tbody></table>

</div>---

### 📋 Headers

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-clave-valor-requerid"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 122.338px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Clave</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Valor</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Requerido</th></tr></thead><tbody><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Content-Type`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">application/x-www-form-urlencoded</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Authorization`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Bearer &lt;token&gt;</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Api-Key-App-Rastrea</td><td style="width: 33.3651%; height: 30.9125px;">N/A</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">No</td></tr><tr><td style="width: 33.3651%;">Accept</td><td style="width: 33.3651%;">*/*</td><td style="width: 33.3651%;">Sí</td></tr></tbody></table>

</div>### 📩 Request

```
```

---

### 📤 Response

```json


```

---

### 📍 Contexto funcional (Dónde se usa)

1. **Módulo principal → General**
    - **Evento:**
    - **Uso:**

---

### 🖼️ Pantallazos

- **Login:**

### 📂 Archivos Flutter relacionados

- - lib/src\\utils\\overskull.dart

---

### 🗒️ Notas adicionales

- - Usa Authorization Bearer generado por Internet.httpPost/httpGet.

# /api/app/auth/account-deletion/complete

##### Servicio del modulo General.

### Detalles técnicos

- **Endpoint: /api/app/auth/account-deletion**/complete
- **Método:** `POST`

### 🌐 Dominios

#### QA

```text
https://qapagalo.shalom.pe/api/app/auth/account-deletion/complete
```

#### Producción

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-etiqueta-url-princip"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 135.359px; width: 100%;"><thead class="text-left"><tr style="height: 29.7969px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 23.5939%; height: 29.7969px;">Etiqueta</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 76.3823%; height: 29.7969px;">URL</th></tr></thead><tbody><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Principal</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/complete</td></tr><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Región 2</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/complete</td></tr><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Failover</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/complete</td></tr></tbody></table>

</div>---

### 📋 Headers

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-clave-valor-requerid"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 122.338px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Clave</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Valor</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Requerido</th></tr></thead><tbody><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Content-Type`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">application/x-www-form-urlencoded</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Authorization`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Bearer &lt;token&gt;</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Api-Key-App-Rastrea</td><td style="width: 33.3651%; height: 30.9125px;">N/A</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">No</td></tr><tr><td style="width: 33.3651%;">Accept</td><td style="width: 33.3651%;">*/*</td><td style="width: 33.3651%;">Sí</td></tr></tbody></table>

</div>### 📩 Request

```json
{
  "user_id":"89744"
}
```

---

### 📤 Response

```json
{
  "success":true,
  "message":"Tu cuenta ha sido eliminada correctamente"
}

```

---

### 📍 Contexto funcional (Dónde se usa)

1. **Módulo Perfil → Eliminar Cuenta**
    - **Evento:** Al presionar el boton "Validar codigo"
    - **Uso:** Elimina la cuenta.

---

### 🖼️ Pantallazos

- **Eliminar Cuenta:**
    
    [![image.png](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/scaled-1680-/NIbimage.png)](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/NIbimage.png)

### 📂 Archivos Flutter relacionados

- - lib/src\\utils\\overskull.dart

---

### 🗒️ Notas adicionales

- - Usa Authorization Bearer generado por Internet.httpPost/httpGet.

# /api/app/auth/account-deletion/submit-form-response

##### Servicio del modulo General.

### Detalles técnicos

- **Endpoint: /api/app/auth/account-deletion**/submit-form-response
- **Método:** `POST`

### 🌐 Dominios

#### QA

```text
https://qapagalo.shalom.pe/api/app/auth/account-deletion/submit-form-response
```

#### Producción

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-etiqueta-url-princip"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 135.359px; width: 100%;"><thead class="text-left"><tr style="height: 29.7969px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 23.5939%; height: 29.7969px;">Etiqueta</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 76.3823%; height: 29.7969px;">URL</th></tr></thead><tbody><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Principal</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/submit-form-response</td></tr><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Región 2</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/submit-form-response</td></tr><tr style="height: 35.1875px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.1875px;">Failover</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.1875px;">https://envia.shalom.pe/api/app/auth/account-deletion/submit-form-response</td></tr></tbody></table>

</div>---

### 📋 Headers

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-clave-valor-requerid"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 122.338px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Clave</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Valor</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Requerido</th></tr></thead><tbody><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Content-Type`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">application/x-www-form-urlencoded</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Authorization`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Bearer &lt;token&gt;</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Api-Key-App-Rastrea</td><td style="width: 33.3651%; height: 30.9125px;">N/A</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">No</td></tr><tr><td style="width: 33.3651%;">Accept</td><td style="width: 33.3651%;">*/*</td><td style="width: 33.3651%;">Sí</td></tr></tbody></table>

</div>### 📩 Request

```
{
    "user_id":"89744",
    "reason":2,
    "suggestions":"prueba",
    "name":"Daisy Chipana Lapa",
    "document_type":"1",
    "document":"72607245",
    "phone":"922749652",
    "address":"Chorrillos"
}
```

---

### 📤 Response

```json
{
    "success": true,
    "message": "Respuesta guardada correctamente"
}

```

---

### 📍 Contexto funcional (Dónde se usa)

1. **Módulo Perfil → Eliminar cuenta**
    - **Evento:** Al presionar el boton "Enviar"
    - **Uso:** Registra la razon del usuario porque decidio eliminar su cuenta.

---

### 🖼️ Pantallazos

- **Eliminar cuenta:**
    
    [![image.png](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/scaled-1680-/WsTimage.png)](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/WsTimage.png)

### 📂 Archivos Flutter relacionados

- - lib/src\\utils\\overskull.dart

---

### 🗒️ Notas adicionales

- - Usa Authorization Bearer generado por Internet.httpPost/httpGet.