---
title: "Subir un archivo adjunto al usuario autenticado"
method: POST
path: "/users/attachment"
tags: ["Usuarios"]
---

# Subir un archivo adjunto al usuario autenticado

`POST /users/attachment`

Endpoint que permite subir un archivo adjunto al usuario autenticado en la cuenta de Alegra.

## Response `200`

Retorna información de un usuario

- object
  - `file` string — URL del archivo
  - `type` string — Tipo de archivo

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref

---

[API](https://skmtc.dev/alegra/apis/ingresos.md) · [All operations](https://skmtc.dev/alegra/apis/ingresos/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/alegra/ingresos/revisions/cd52d3f68f1b/schema)
