Get test case priorities
GET
/test_case_priorities
Base URL
https://app.testsigma.com/api/v1
Retrieve all test case priority levels defined in the project.
Authenticate with your API key as a
Bearer token in the
Authorization header. Generate a key →RESPONSE ATTRIBUTES
id | Unique priority identifier. |
name | Internal priority name. |
displayName | Human-readable display name shown in the UI. |
projectId | ID of the project this priority belongs to. |
createdDate | Epoch timestamp of creation. |
REQUEST
curl -X GET \
'https://app.testsigma.com/api/v1/test_case_priorities' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json'const response = await fetch('https://app.testsigma.com/api/v1/test_case_priorities', {
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/test_case_priorities',
headers={
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
)
data = response.json()RESPONSE200OK
{
"content": [
{
"id": 46,
"name": "Critical",
"displayName": "Critical",
"projectId": 10,
"createdDate": 1550593550000
},
{
"id": 47,
"name": "Major",
"displayName": "Major",
"projectId": 10,
"createdDate": 1550593550000
},
{
"id": 48,
"name": "Medium",
"displayName": "Medium",
"projectId": 10,
"createdDate": 1550593550000
},
{
"id": 49,
"name": "Low",
"displayName": "Low",
"projectId": 10,
"createdDate": 1550593550000
}
],
"totalElements": 4,
"totalPages": 1
}