# Get conversation state

> Read, starred, archived, AI paused and DND for one contact's conversation.

Source: https://docs.mycrmsim.com/docs/conversations/get-conversation-state

```http
GET https://backend.mysmsgateway.app/api/v1/ext/conversations/{contact_id}/state
```

- Category: myCRMSIM Conversations / Conversations
- Auth: Bearer access token
- Scope: `conversations.read`

`thread` is the key the conversation lives under: the contact's phone number, or the email of an email-only iMessage contact. `unread_count` counts inbound messages since `last_read_at`; `is_unread` is the manual "mark as unread" flag; `is_read` is false when either applies — the same three the inbox shows. `is_ai_paused` is the contact's AI toggle (also on *Get contact* / *Update contact*), and `dnd` the same object as *Get DND*.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `contact_id` | path | number | yes | The contact id. Example: `1234` |

## Response 200

OK

```json
{
  "success": true,
  "data": {
    "contact_id": 1234,
    "workspace_id": 7,
    "thread": "+61412345678",
    "unread_count": 1,
    "is_read": false,
    "is_unread": false,
    "is_starred": true,
    "is_archived": false,
    "last_read_at": "2026-10-27T08:00:00.000Z",
    "archived_at": null,
    "is_ai_paused": false,
    "dnd": {
      "outbound": {
        "all": false,
        "channels": []
      },
      "inbound": {
        "all": false,
        "channels": []
      }
    }
  }
}
```

## Response 401

Missing or invalid token

```json
{
  "success": false,
  "message": "Invalid or expired access token."
}
```

## Response 403

Missing scope

```json
{
  "success": false,
  "message": "Missing scope(s): conversations.read. This integration was granted: …"
}
```

## Response 404

Contact does not exist or is not owned by the installer (same response for both)

```json
{
  "success": false,
  "message": "Contact not found or not accessible to this token"
}
```
