// Replace API_KEY with your api key
curl --location 'https://api.supahub.com/api/v1/users?email=useremail%40example.com&userId=YOUR_USER_ID&typeOfMembers=all&page=1&limit=10' \
--header 'Authorization: Bearer API_KEY'
GET
method
/users
path

Query Parameters

Below are the query parameters available for customizing the response:
email
string | undefined
Email address to filter the users by.
userId
string | undefined
Secondary identifier to filter the users by.
typeOfMembers
all | user | team
Filter users based on membership type. user are the end users in your workspace and team is the team member (admin/csm) in your workspace.
limit
1-100
default:"10"
Maximum number of labels to retrieve per request.
page
1-n
default:"1"
Page number for pagination.
// Replace API_KEY with your api key
curl --location 'https://api.supahub.com/api/v1/users?email=useremail%40example.com&userId=YOUR_USER_ID&typeOfMembers=all&page=1&limit=10' \
--header 'Authorization: Bearer API_KEY'