# app.didpic.chat.getConversation

> Published by [lexicons.didpic.app](https://lexicon.garden/identity/did:plc:an2jtp4jgkkbtmwfzhpbxawd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.chat.getConversation)
- [Documentation](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.chat.getConversation/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.chat.getConversation/examples)

## Definitions

### `app.didpic.chat.getConversation`

**Type**: `query`

A single conversation the viewer participates in.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `conversationId` | `string` | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `conversation` | `ref` → `app.didpic.chat.defs#conversationView` | Yes |  |

#### Errors

- **NotFound**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A single conversation the viewer participates in.",
      "errors": [
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "conversation": {
              "ref": "app.didpic.chat.defs#conversationView",
              "type": "ref"
            }
          },
          "required": [
            "conversation"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "conversationId": {
            "type": "string"
          }
        },
        "required": [
          "conversationId"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.didpic.chat.getConversation",
  "lexicon": 1
}
```
