Get user details
Retrieve the user account for the authenticated organization.
GET
/users/Retrieve the user account for the authenticated organization.
The user is identified via the X-Doctronic-User-ID header; no path parameter is used.
Returns the same shape as the Create User response.
Authorization
HTTPBearer XDoctronicUserID AuthorizationBearer <token>
In: header
X-Doctronic-User-ID<token>
Doctronic user ID returned as data.id by POST /users/. This value identifies the user in your organization scope; it is not an API token.
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/users/"{ "code": "success", "message": "Request successful", "data": { "id": "string", "createdAt": "2019-08-24T14:15:22Z", "firstName": "string", "lastName": "string", "dateOfBirth": "2019-08-24", "email": "string", "phoneNumber": "string", "sex": "male" }}