Get Profile

Details about the profile can be retrieved by this.

Node
  • /users/me
Examples

Send a GET request

Sample Request
curl -X GET \
  https://cloud.modjoul.com/dev/users/me \
  -H 'Authorization: your-authorization-token-here' 
Sample Response
{
    "authRef": {
        "orgId": "ABC12345676Z"
    },
    "notifications": {
        "device_tokens": [],
        "push": [],
        "email": []
    },
    "surveyCompleted": false,
    "profileMimeType": "image/png",
    "isEmailVerified": false,
    "isDeleted": false,
    "_id": "ABC12345676Z",
    "firstName": "John",
    "lastName": "Doe",
    "userName": "user@example.com",
    "verifiableEmail": "user@example.com",
    "employeeId": "EXAMPLE0001",
    "email": "user@example.com",
    "orgId": "ABC12345676Z",
    "subscriptionStartDate": "1980-01-01T09:02:27.290Z",
    "subscriptionEndDate": "1980-01-01T09:02:27.290Z",
    "createdTimestamp": "1980-01-01T09:02:27.547Z",
    "__v": 0
}