Skip to content
Testsigma DOCS

Get users

GET/users

Base URL  https://app.testsigma.com/api/v1

Get all users in the workspace with their roles and status.

Authenticate with your API key as a Bearer token in the Authorization header. Generate a key →
idUnique user identifier.
emailUser's email address.
firstNameUser's first name.
lastNameUser's last name.
userNameUser's login username.
statusAccount status — Active or Inactive.
isAdminWhether the user has admin privileges.
isSuperAdminWhether the user is a super-admin.
isAPIUserWhether this is an API-only user.
createdDateEpoch timestamp of account creation.
REQUEST
curl -X GET \
  'https://app.testsigma.com/api/v1/users' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://app.testsigma.com/api/v1/users', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
});
const data = await response.json();
import requests

response = requests.get(
  'https://app.testsigma.com/api/v1/users',
  headers={
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
)
data = response.json()
RESPONSE200OK
{
  "content": [
    {
      "id": 9,
      "email": "admin@testsigma.com",
      "firstName": "Admin",
      "lastName": "User",
      "userName": "admin",
      "status": "Active",
      "isDeleted": false,
      "isAdmin": true,
      "isSuperAdmin": true,
      "isAPIUser": false,
      "createdDate": 1658237083000
    },
    {
      "id": 10,
      "email": "john.doe@example.com",
      "firstName": "John",
      "lastName": "Doe",
      "userName": "john.doe",
      "status": "Active",
      "isAdmin": false,
      "isSuperAdmin": false,
      "isAPIUser": false,
      "createdDate": 1660000000000
    }
  ],
  "totalElements": 2,
  "totalPages": 1
}