Skip to main content

Get user list by company

GET 

/api/inspect/v1/user

Fetch the list of users in a company.

Request

Query Parameters

    companyID stringrequired

    Company ID for which users are to be fetched.

Responses

200 response

Schema

    data

    object[]

    The list of users.

  • Array [

  • pictureURL uri

    URL of the user's profile picture

    role int32

    Possible values: [0, 1, 6, 2, 3, 5]

    Role of the user. 0 = Normal, 1 = Owner, 6 = Admin, 2 = Manager, 3 = Inspector, 5 = Viewer

    active boolean

    Whether the user is active

    email email

    Email address of the user

    firstName string

    First name of the user

    id int64

    Unique identifier (ID) for the user

    lastName string

    Last name of the user

  • ]

Loading...