Saltar al contenido
Guías
Referencia de API
estable

Obtener perfil del usuario actual

Devuelve el perfil del usuario

GET/v1/users/me

Devuelve el perfil del usuario

Autorización

bearerAuth
AutorizaciónBearer <token>

Token de acceso OAuth 2.0 emitido por Ecomiq Auth.

Ubicación: header

Cuerpo de la respuesta

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/users/me"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "userName": null,  "email": "string",  "firstName": null,  "lastName": null,  "birthDate": null,  "documentType": null,  "gender": null,  "documentNumber": null,  "phone": null,  "avatarUrl": null,  "address": null,  "countryCode": null,  "isProfileComplete": true,  "isConfirmed": true,  "isEmailConfirmed": true,  "isPhoneNumberConfirmed": true,  "isTwoFactorEnabled": true,  "isActive": true,  "createdOn": "2019-08-24T14:15:22Z",  "roles": [    "string"  ],  "status": "inactive",  "hasPassword": true,  "loginProviders": [    "string"  ]}