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

# Mark an inbox conversation as read or unread

> POST /inbox/tickets/{ticketId}/read
> 
> Changes the read state in Omnicado only; the marketplace is not notified. Without a body the ticket is marked as read.



## 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)



### Body: application/json (object)

- **isRead** (boolean)



## Responses
### 200
The updated ticket, without messages

#### 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)


### 400
Malformed JSON, or `isRead` is not a boolean

### 404
Ticket not found

### 405
Only POST is allowed


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