Get All Users

GET {{baseUrl}}/users

Returns all the users of the organization. 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":"Example1","last_name":"User","username_for_display":"user1","email":"user1@example.com","contact":{"dial_code":"+91","phone_number":"1234567890"},"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,"role_id":"5a425b383c36823b3ed91fb4","role":"account_owner"},{"id":"5d91d262a2c85fa24a27d4d7","first_name":"Example2","last_name":"User","username_for_display":"user2","email":"user2@example.com","contact":{"dial_code":"","phone_number":""},"secondary_emails":null,"email_verified":false,"time_zone":"","title":"","bio":"","notification_rules":[{"type":"Email","time":0},{"type":"Push","time":0},{"type":"SMS","time":1},{"type":"Phone","time":2}],"user_image":false,"role_id":"5a425b383c36823b3ed91fb5","role":"admin"},{"id":"5d91d262a2c85fa24a27d4da","first_name":"Example3","last_name":"User","username_for_display":"user3","email":"user3@example.com","contact":{"dial_code":"","phone_number":""},"secondary_emails":null,"email_verified":false,"time_zone":"","title":"","bio":"","notification_rules":[{"type":"Email","time":0},{"type":"Push","time":0},{"type":"SMS","time":1},{"type":"Phone","time":2}],"user_image":false,"role_id":"5a425b383c36823b3ed91fb6","role":"user"}]}