> For the complete documentation index, see [llms.txt](https://docs.testfirst.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.testfirst.com/unified-test-automation/api-testing.md).

# API Testing

Validate APIs and backend services directly from the TestFirst Editor using natural language test steps.

API testing allows you to send requests, validate responses, extract data, and verify integrations without interacting with a user interface. API tests can be executed independently or combined with other automation types as part of an end-to-end testing workflow.

**Example**

```gherkin
Scenario: Get user details
  Given GET HTTP request
  When I send request to "{Endpoints.Users}"
  Then response status should be 200
```

API testing is fully integrated into TestFirst's **Unified Test Automation** approach, allowing API tests to work seamlessly with web, mobile, and other automation types within the same test case.

**Learn more:**

* [Write Test Cases using Gherkin](/testfirst-editor/writing-test-cases/write-test-cases-using-gherkin.md)
* [Endpoints](/data-repository/data-repository/endpoints.md)
* [Variables](/data-repository/data-repository/variables.md)
* [Environments](/data-repository/data-repository/environments.md)
* [Fragments](/testfirst-editor/fragments.md)
