Skip to content
Testsigma DOCS

List test plans

GET/test_plans

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

Get the details of all test plans using the REST API.

Authenticate with your API key as a Bearer token in the Authorization header. Generate a key →
queryFilter expression, e.g. applicationVersionId:<versionid>. The ID of the application version where the test plan is scheduled.
contentArray of test plan objects.
idUnique test plan identifier.
applicationVersionIdID of the application version the test plan belongs to.
nameName of the test plan.
REQUEST
curl -X GET \
  'https://app.testsigma.com/api/v1/test_plans' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://app.testsigma.com/api/v1/test_plans', {
  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_plans',
  headers={
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
)
data = response.json()
RESPONSE200OK
{
  "content": [
    {
      "id": 185,
      "applicationVersionId": 52,
      "name": "TP 1"
    }
  ]
}