/users/v1/{id}

Obtener Usuario

El endpoint de /users/v1/{id} te permite consultar la información de un usuario a través de su id.

Parámetros disponibles

Header Parameters
AuthorizationString
Path Parameters
idString

Detalle de respuestas

401
No autorizado
403
Acceso denegado

Ejemplo de código
curl -X GET "https://api.pomelo.la/users/v1/example_value" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta (200)Usuario encontrado
{
  "data": {
    "id": "usr-203c6jQq0O3nVWXj6jRUQXy7QkC",
    "name": "Diego",
    "surname": "Pomelo",
    "identification_type": "DNI",
    "identification_value": 42345678,
    "birthdate": "1998-08-20",
    "gender": "MALE",
    "email": "[email protected]",
    "phone": "1123456789",
    "tax_identification_type": "CUIL",
    "tax_identification_value": 20423456789,
    "nationality": "ARG",
    "tax_condition": "VAT_REGISTERED",
    "status": "ACTIVE",
    "operation_country": "ARG",
    "legal_address": {
      "street_name": "Av. Corrientes",
      "street_number": 300,
      "floor": 1,
      "apartment": "A",
      "zip_code": 1414,
      "neighborhood": "Villa Crespo",
      "city": "CABA",
      "region": "Buenos Aires",
      "additional_info": "Torre 2",
      "country": "ARG"
    }
  }
}

Pomelo AI

Asistente de inteligencia artificial para consultas sobre la API de Pomelo
¡Hola!¿Cómo puedo ayudarte hoy?