Get User By ID

GET {{baseUrl}}/users/:userID

Returns a users details of the given userID in the request param. Requires access_token as a Bearer {{token}} in the Authorization header with read scope.

HEADERS

KeyDatatypeRequiredDescription
Authorizationnull

RESPONSES

status: OK

{"data":{"id":"5d81d9187000fb6b9def7e31","first_name":"Example","last_name":"User","username_for_display":"user","email":"user@example.com","contact":{"dial_code":"+91","phone_number":"9578628779"},"secondary_emails":[],"email_verified":true,"time_zone":"Asia/Calcutta","title":"","bio":"","notification_rules":[{"type":"Email","time":0},{"type":"Push","time":0},{"type":"SMS","time":1},{"type":"Phone","time":2}],"user_image":false}}