---
title: "Close a ticket"
method: POST
path: "/api/public/ticket/close/contact/{contactId}"
tags: ["Ticket"]
---

# Close a ticket

`POST /api/public/ticket/close/contact/{contactId}`

## Request

- Base URL: `https://api.vambe.me`
- URL: `https://api.vambe.me/api/public/ticket/close/contact/{contactId}`
- Auth: none required
- TypeScript: <https://skmtc.dev/vambe/apis/vambe-ai-api/docs/api/public/ticket/close/contact/:contactId/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `contactId` string, required

## Query parameters

- `status` 'won' | 'lost', required

## Headers

- `x-api-key` string, required

## Response `200`

Ticket closed successfully

---

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