cURL
curl --request PUT \ --url https://api.heyy.io/api/v2.0/{channelId}/chats/{chatId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "isUnread": true, "status": "OPEN", "assignedUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "assignedTeamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "data": { "id": "<string>", "channelId": "<string>", "contactId": "<string>", "status": "<string>", "isUnread": true, "createdAt": "<string>", "updatedAt": "<string>", "handleId": "<string>", "assignedUserId": "<string>", "assignedTeamId": "<string>", "lastMessageAt": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OPEN
CLOSED
SNOOZED
Show child attributes