---
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`

## Request

- Base URL: `https://api.alegra.com/api/v1`
- URL: `https://api.alegra.com/api/v1/users/attachment`
- Auth: one of:
  - HTTP basic
  - HTTP bearer

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

## Request body `multipart/form-data`

- object
  - `file` string, binary
  - `type` 'signature'

## 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/configuraciones.md) - [All operations](https://skmtc.dev/alegra/apis/configuraciones/llms.txt) - [OpenAPI document](https://skmtc.dev/alegra/apis/configuraciones/revisions/5a651ca3b942?raw)
