curl --location --request GET 'https://slack.com/api/admin.users.list?team_id=' \
--header 'token;'
{
"ok": true,
"users": [
{
"email": "bront@slack.com",
"id": "T1234",
"is_admin": false,
"is_bot": false,
"is_owner": false,
"is_primary_owner": false,
"is_restricted": false,
"is_ultra_restricted": false
}
]
}
T1234
) of the workspace.cursor
to next_cursor
returned by the previous call to list items in the next page.admin.users:read