> For the complete documentation index, see [llms.txt](https://api.documentation.omnicado.com/llms.txt)

# Close an inbox conversation

> POST /inbox/tickets/{ticketId}/close
> 
> Closes the conversation. Allegro disputes and claims (`allegro_issue`) and Kaufland tickets (`kaufland_ticket`) are closed on the marketplace too; Allegro message threads (`allegro_messaging`) only in Omnicado. Closing runs asynchronously.



## Servers
- Production API endpoint - live use only: api.services.omnicado.com/api/v2 (Production API endpoint - live use only)
- Development API endpoint - used for testing: api.dev.services.omnicado.com/api/v2 (Development API endpoint - used for testing)


## Authentication methods
- Omnicado token based scheme


## Parameters

### Path parameters

- **ticketId** (integer)




## Responses
### 200
The ticket was already closed; nothing was queued

#### Body: application/json (object)
- **id** (integer)

- **mailboxId** (integer)

- **source** (string)

- **status** (string)

- **remoteId** (string)
  Conversation ID on the marketplace

- **subject** (string | null)

- **buyerLogin** (string | null)

- **orderId** (integer | null)
  Omnicado order ID, when the conversation is paired with an order

- **remoteOrderId** (string | null)
  Order number on the marketplace

- **isRead** (boolean)

- **lastMessageAt** (string(date-time) | null)

- **replyDueAt** (string(date-time) | null)

- **updatedAt** (string(date-time) | null)
  Last change of the ticket - a new message, a status change, a read change or a reply error

- **lastReplyError** (string | null)
  Why the last reply was refused by the marketplace; cleared after a successful reply

- **lastReplyErrorAt** (string(date-time) | null)


### 202
Closing queued

#### Body: application/json (object)
- **status** (string)

- **ticketId** (integer)


### 404
Ticket not found

### 405
Only POST is allowed


[Powered by Bump.sh](https://bump.sh)
