> For the complete documentation index, see [llms.txt](https://api-docs.islash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.islash.io/conversation/update-ticket-status.md).

# Update Ticket Status

## PUT /chat/ticket-status

>

```json
{"openapi":"3.0.0","info":{"title":"iSlash API","version":"1.0.1"},"servers":[{"url":"https://{ISLASH_API_ENDPOINT}/api/public","variables":{"ISLASH_API_ENDPOINT":{"default":"{ISLASH_API_ENDPOINT}","description":"The base hostname for the iSlash API platform."}}}],"paths":{"/chat/ticket-status":{"put":{"summary":"","parameters":[{"in":"header","name":"X-USER-TOKEN","schema":{"type":"string"},"required":true,"description":"The secret key provided by iSlash for accessing the iSlash API platform"},{"in":"query","name":"session","schema":{"type":"string"},"required":true,"description":"The session key generated by your admin for controlling which channel is allowed to send message across API"},{"in":"query","name":"hash","schema":{"type":"string"},"required":false,"description":"If no identity, this is a must"},{"in":"query","name":"identity","schema":{"type":"string"},"required":false,"description":"If no hash, this is a must"},{"in":"query","name":"type","schema":{"type":"string","enum":["whatsapp","facebook","instagram"]},"required":true,"description":"Chat type"},{"in":"query","name":"status","schema":{"type":"string","enum":["open","closed"]},"required":true,"description":"To update the chat ticket status"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}},"data":{"type":"object","properties":{}}}}}}}}}}}}
```
