Skip to main content
GET
/
api
/
Usuario
/
{id}
curl --request GET \
  --url https://your-api-host/api/Usuario/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  --header 'Authorization: Bearer <token>'
{
  "Id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "UserName": "jdoe",
  "IdPerfil": 2,
  "NombrePerfil": "Operador",
  "Activo": true,
  "Imagen": "https://res.cloudinary.com/demo/image/upload/v1/usuarios/jdoe.jpg"
}
Returns the full details of a single user account identified by its GUID.

Authentication

Requires a valid Bearer token.
Authorization: Bearer <token>

Path parameters

id
string
required
The GUID of the user to retrieve.

Response fields

Id
string
required
The user’s GUID.
UserName
string
required
The user’s login username.
IdPerfil
integer
required
ID of the profile assigned to this user.
NombrePerfil
string
required
Display name of the assigned profile.
Activo
boolean
required
Whether the account is active. Inactive users cannot log in.
Imagen
string | null
Cloudinary-hosted profile image URL, or null if no image has been uploaded.

Examples

curl --request GET \
  --url https://your-api-host/api/Usuario/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  --header 'Authorization: Bearer <token>'
{
  "Id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "UserName": "jdoe",
  "IdPerfil": 2,
  "NombrePerfil": "Operador",
  "Activo": true,
  "Imagen": "https://res.cloudinary.com/demo/image/upload/v1/usuarios/jdoe.jpg"
}

Build docs developers (and LLMs) love