Récupère les détails d'un utilisateur spécifique.
Paramètre uid:
- Peut être un ObjectId MongoDB
- Ou une adresse email
L'API détecte automatiquement le format.
GET
/user/{uid}
curl \
--request GET 'https://wuro.pro/api/v3.2/user/{uid}' \
--header "X-APP-ID: $API_KEY" \
--header "X-APP-SECRET: $API_KEY"
Response examples (200)
{
"user": {
"_id": "string",
"email": "hello@example.com",
"first_name": "string",
"last_name": "string",
"avatar": "string",
"state": "inactive",
"positions": [
"string"
],
"phone": {
"number": "string"
},
"address": {
"street": "string",
"street_end": "string",
"zip_code": "string",
"city": "string",
"country": "string"
},
"birthdate": "2025-05-04T09:42:00Z",
"gender": "H",
"terms_of_sale_signature": "2025-05-04T09:42:00Z",
"createdAt": "2025-05-04T09:42:00Z",
"updatedAt": "2025-05-04T09:42:00Z"
}
}