Skip to content
You're viewing the v2 docs. Looking for v1?Go to v1 docs
Docs
Testsigma
Popular questions
↑↓ to navigate↵ to selectesc to close
Book a demo

Testsigma REST API

Testsigma exposes a REST API for triggering test plan runs and reading results. The same API creates and updates projects, test cases, test steps, and test data. All endpoints authenticate with an API key and return JSON.

Testsigma serves each account from a regional host, so the host your requests go to depends on where your account lives. To find your region, read the host in your browser’s address bar while signed in to Testsigma — that host is the one your API calls use.

RegionHost
UShttps://app.testsigma.com
EUhttps://app-eu.testsigma.com
Indiahttps://app-in.testsigma.com

Requests to the wrong regional host fail authentication: an API key is issued by one account, on one host, and is not valid on the others. If you run Testsigma on-premise, your base URL is your own deployment’s host instead of any of the above.

Three path prefixes then serve the endpoints in this reference. Every endpoint page names the one that endpoint uses, and carries a region selector that rewrites the samples on that page.

Path prefixEndpoints
/api/v1Projects, test cases, test suites, test plans, test data, environments, elements, uploads
/api/v2Results and test steps
/api_private/v1Salesforce metadata refresh

Endpoint pages in this reference show the US host by default.

Every request carries an API key in the Authorization header as a bearer token. Generate and revoke keys under Settings > API Keys.

Authorization: Bearer <API_KEY>
Content-Type: application/json

File uploads send multipart/form-data instead of a JSON body. Each endpoint page carries a ready-to-run sample in cURL, JavaScript, and Python.

Most endpoints take a project, application, or upload ID in the path or the request body. Upload IDs are returned by the endpoint below.

IDRequestEndpoint
UploadGET /uploadsList uploads

Endpoints in this reference return one of three success codes. Each endpoint page shows that endpoint’s own example response.

CodeMeaningEndpoints
200 OKThe request succeeded and the body carries the result.All except the two below
202 AcceptedTestsigma accepted the request and processes it asynchronously.Delete a scheduled test plan
204 No ContentThe request succeeded and the body is empty.Delete a test step

Was this page helpful?