Skip to content
developers
Open TestCollab

Choose your API region

Use the API for your account’s region. Resource IDs belong to that region; changing the host does not move a project or its data.

Account API base URL
US https://api.testcollab.io
EU https://api-eu.testcollab.io
Self-hosted The API base URL supplied by your TestCollab administrator
region.ts
import { createConfiguration, TestCasesApi } from '@testcollab/sdk';
const config = createConfiguration(process.env.TESTCOLLAB_TOKEN!, {
basePath: 'https://api-eu.testcollab.io',
});
const api = new TestCasesApi(config);
const testCase = await api.getTestCase({ id: 456, project: 123 });
console.log(testCase.title);

Create the configuration once and pass it to each API client in the workflow. Keep project lookups, case updates and report requests on the same base URL.

Terminal window
tc getTestPlan --project 123 --test-plan-id 456 \
--api-url https://api-eu.testcollab.io

Set TC_API_URL to your account’s API base URL in the MCP server environment.

A region mismatch can look like an authentication, permission or missing-record error. Confirm the API host before changing IDs or retrying a write.