# app.bivri.support.addMessage

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

✓ This is the authoritative definition for this NSID.

## Description

Append a message to one of the authenticated member's own inquiry threads. Authentication is required.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uqat5a7hrbww3snbbinxgwah/app.bivri.support.addMessage)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uqat5a7hrbww3snbbinxgwah/app.bivri.support.addMessage/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uqat5a7hrbww3snbbinxgwah/app.bivri.support.addMessage/examples)

## Definitions

### `app.bivri.support.addMessage`

**Type**: `procedure`

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `content` | `string` | Yes | Message text. |
| `inquiryId` | `string` | Yes | UUID of the inquiry to append to. Lexicon has no uuid string format, so the hyphenated 36-character length is the strongest bound the schema can carry; the inquiry_id column is what rejects a non-UUID. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `message` | `ref` → `app.bivri.support.defs#messageView` | Yes |  |

## Raw Schema

```json
{
  "id": "app.bivri.support.addMessage",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "inquiryId",
            "content"
          ],
          "properties": {
            "content": {
              "type": "string",
              "maxLength": 5000,
              "description": "Message text."
            },
            "inquiryId": {
              "type": "string",
              "maxLength": 36,
              "description": "UUID of the inquiry to append to. Lexicon has no uuid string format, so the hyphenated 36-character length is the strongest bound the schema can carry; the inquiry_id column is what rejects a non-UUID."
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "message"
          ],
          "properties": {
            "message": {
              "ref": "app.bivri.support.defs#messageView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Append a message to one of the authenticated member's own inquiry threads. Authentication is required."
}
```
