Skip to content
Testsigma DOCS

Get test case types

GET/test_cases/types

Base URL  https://test-management.testsigma.com/api/v1

Retrieves the available test case types that can be used in test planning and execution.

Authenticate with your API key as a Bearer token in the Authorization header. Generate a key →
messageStatus message for the request; may be empty.
data.types[].idUnique identifier for the test case type.
data.types[].nameName of the test case type.
data.types[].orderOrder in which the test case type appears.
data.types[].aliasAlternative name or identifier for the test case type.
data.types[].icon_urlURL pointing to an icon representing the test case type.
page_info.page_sizeNumber of items returned per page.
page_info.total_countTotal number of test case types available.
page_info.nextURL for the next page of results, if applicable.
page_info.prevURL for the previous page of results, if applicable.
REQUEST
curl -X GET \
  'https://test-management.testsigma.com/api/v1/test_cases/types' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://test-management.testsigma.com/api/v1/test_cases/types', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
});
const data = await response.json();
import requests

response = requests.get(
  'https://test-management.testsigma.com/api/v1/test_cases/types',
  headers={
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
)
data = response.json()
RESPONSE200OK
{
  "message": "",
  "data": {
    "types": [
      {
        "id": "c47ade67-0543-4582-a4a5-b7de447c94f5",
        "name": "Functional",
        "order": 1,
        "alias": "functional",
        "icon_url": "https://assets.testsigma.com/icons/types/functional.svg"
      },
      {
        "id": "d91be238-7a16-4c50-bf83-1e6d2a9f0c47",
        "name": "Regression",
        "order": 2,
        "alias": "regression",
        "icon_url": "https://assets.testsigma.com/icons/types/regression.svg"
      }
    ]
  },
  "page_info": {
    "page_size": 25,
    "total_count": 2,
    "next": "",
    "prev": ""
  }
}