Skip to main content

Fetch User API

The following API allows you to fetch a single user.

Note: All the apis accept api key based token authentication and return data within the wrapper { _data:{}, _meta: {}, _errors:[] }

Fetch by user id

GET /v1/ext/user/<userId>

Following are valid examples of the path

GET /v1/ext/user/a91b5073-e9d4-4959-9fd3-6edf79c2c5a4

Sample Response

{
"_data": {
"phones": [],
"emails": [
{
"id": "9763caa1-cef3-497f-b3b2-f551456b2831",
"createdAt": 1631817298108,
"updatedAt": 1631817298108,
"email": "john@acme.com",
"normalizedEmail": "john@acme.com",
"type": "",
"isVerified": false,
"user": "a91b5073-e9d4-4959-9fd3-6edf79c2c5a4"
}
],
"id": "a91b5073-e9d4-4959-9fd3-6edf79c2c5a4",
"createdAt": 1631817298100,
"updatedAt": 1631817298124,
"username": "johndoe",
"firstName": "John",
"lastName": "Doe",
"middleName": "",
"displayName": "",
"gender": "",
"dob": 0,
"bio": "",
"profileImageUrl": "",
"coverImageUrl": "",
"timezone": "+0530",
"data": null,
"onboardingData": null,
"isActive": true,
"isDeleted": false,
"deletedAt": null,
"availabilityStatus": "AVAILABLE",
"team": "64788f5d-1580-4814-855b-257c7a33aa35",
"role": "11671be1-17bc-453d-8898-c62d94ef2bc1",
"primaryEmail": {
"id": "9763caa1-cef3-497f-b3b2-f551456b2831",
"createdAt": 1631817298108,
"updatedAt": 1631817298108,
"email": "john@acme.com",
"normalizedEmail": "john@acme.com",
"type": "",
"isVerified": false,
"user": "a91b5073-e9d4-4959-9fd3-6edf79c2c5a4"
},
"primaryPhone": null,
"profile": null,
"reportees": []
}
}