LemursEye
Documentation
API

List users

GEThttps://lemurseye.com/api/v1/users

Returns everyone who can sign in to your company, with their roles and whether they have accepted their invitation.

What each role can do, and which to give whom: People and roles.

Permission: users:read. The token is sent as Authorization: Bearer <token>; see Authentication.

Response

200

An array of people, sorted by email.

Response fields

  • idstring

    The user's id.

  • emailstring

    Their sign-in email.

  • namestring | null

    Full name.

  • enabledboolean

    false when suspended: they cannot sign in.

  • pendingPasswordboolean

    true until they accept the invitation and choose a password.

  • rolesstring[]

    Their roles in your company: owner, manager, viewer, installer.

  • lastSeenAttimestamp | null

    Their last activity, or null if they have never signed in.

Errors

Where a message is listed, it comes back as JSON: { "error": "..." }. Otherwise only the status code is returned.

  • 401

    No token, or it has expired.

  • 403

    The token lacks the permission above.