---
title: "End a test session"
method: POST
path: "/v1/test-sessions/{call_id}/end"
tags: ["Test sessions"]
---

# End a test session

`POST /v1/test-sessions/{call_id}/end`

## Request

- Base URL: `https://voice-api.kata.ai`
- URL: `https://voice-api.kata.ai/v1/test-sessions/{call_id}/end`
- Auth: API key in header `X-Partner-Key`
- TypeScript: <https://skmtc.dev/kata/apis/kata-voice-api/docs/v1/test-sessions/:call_id/end/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `call_id` string, required

## Response `200`

Ended

- object
  - `status` string

## Other responses

- `401`: Missing, unknown or revoked partner key
- `404`: No such call for this tenant

---

[API](https://skmtc.dev/kata/apis/kata-voice-api.md) - [All operations](https://skmtc.dev/kata/apis/kata-voice-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kata/apis/kata-voice-api/revisions/dacd1e44eb3f?raw)
