TestRail API

Note: you are looking at the old API documentation!

TestRail 3.0 introduced a new API which is now part of TestRail. This document describes the old API which is still supported but won't receive any new features. It is recommended to migrate any existing code to the new API.

Please also see the migration guide.

This guide explains how to access and use TestRail's API to integrate automated tests, submit test results and automate various aspects of TestRail. The API is a separate module that can be installed for a local TestRail installation or can be activated for a hosted account.