# List discussion threads

The workspace's INTERNAL threads — the Internal section of Communications: every discussion colleagues have started on a record, whatever page that record sits on. `?status=` narrows by state, `?mine=true` to the threads the caller is a participant in, `?limit=` caps it. The one read in this family that is not record-scoped; for one record's threads read `get_definitions_key_rows_rowId_threads`. These are people here talking to each other about a deal, not messages to a merchant — those are the comms conversations.

Access class: `workspace`.

## Endpoint

`GET /v1/threads`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": [
    {
      "createdAt": "string",
      "createdBy": 1.5,
      "definitionKey": "string",
      "id": "",
      "lastMessageAt": "string",
      "messageCount": 1.5,
      "participants": [
        "string"
      ],
      "recordName": "string",
      "resolvedAt": "string",
      "resolvedBy": 1.5,
      "rowId": "",
      "status": "string",
      "subject": "string",
      "unread": 1.5,
      "updatedAt": "string"
    }
  ]
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
