cURL
curl --request GET \ --url https://productlane.com/api/v1/users \ --header 'Authorization: Bearer <token>'
[ { "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "role": "ADMIN", "userId": "<string>", "workspaceId": "<string>", "user": { "id": "<string>", "email": "<string>", "name": "<string>", "imageUrl": "<string>" } } ]
Get all members of your workspace. Returns a list of memberships with user information, sorted by role (admins first). Authentication is required.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
ADMIN
USER
VIEWER
Show child attributes