Skip to content
Testsigma DOCS

Get test case priorities

GET/test_cases/priorities

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

Retrieves the list of priority levels that can be assigned to test cases.

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.priorities[].idUnique identifier for the priority.
data.priorities[].nameName of the priority.
data.priorities[].orderNumerical value indicating the order of the priority relative to others.
data.priorities[].aliasAlternative name or shorthand for the priority.
data.priorities[].icon_urlURL pointing to an icon representing the priority.
page_info.page_sizeNumber of items returned per page.
page_info.total_countTotal number of priorities 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/priorities' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://test-management.testsigma.com/api/v1/test_cases/priorities', {
  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/priorities',
  headers={
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
)
data = response.json()
RESPONSE200OK
{
  "message": "",
  "data": {
    "priorities": [
      {
        "id": "1b9c4e72-0a35-4d18-9f62-7c3e8a1b0d49",
        "name": "High",
        "order": 1,
        "alias": "high",
        "icon_url": "https://assets.testsigma.com/icons/priorities/high.svg"
      },
      {
        "id": "2c8d5f83-1b46-4e29-8a73-6d4f9b2c1e50",
        "name": "Medium",
        "order": 2,
        "alias": "medium",
        "icon_url": "https://assets.testsigma.com/icons/priorities/medium.svg"
      }
    ]
  },
  "page_info": {
    "page_size": 25,
    "total_count": 2,
    "next": "",
    "prev": ""
  }
}