# app.bivri.support.createInquiry

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

✓ This is the authoritative definition for this NSID.

## Description

Open a one-to-one support inquiry. Authentication is required.

## Links

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

## Definitions

### `app.bivri.support.createInquiry`

**Type**: `procedure`

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `email` | `string` | Yes | Address to notify when the inquiry is answered. Bounded at the RFC 5321 maximum; Lexicon has no email string format. |
| `title` | `string` | Yes | Subject line of the inquiry. |
| `content` | `string` | Yes | Body of the inquiry. |
| `category` | `string` | Yes | Subject area of the inquiry. Closed rather than known values: 'other' is the catch-all, and both the appview and the inquiry table already reject anything outside this set. |

#### Output

**Encoding**: `application/json`

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

## Raw Schema

```json
{
  "id": "app.bivri.support.createInquiry",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "email",
            "category",
            "title",
            "content"
          ],
          "properties": {
            "email": {
              "type": "string",
              "maxLength": 254,
              "description": "Address to notify when the inquiry is answered. Bounded at the RFC 5321 maximum; Lexicon has no email string format."
            },
            "title": {
              "type": "string",
              "maxLength": 200,
              "description": "Subject line of the inquiry."
            },
            "content": {
              "type": "string",
              "maxLength": 5000,
              "description": "Body of the inquiry."
            },
            "category": {
              "enum": [
                "account",
                "content",
                "payment",
                "other"
              ],
              "type": "string",
              "description": "Subject area of the inquiry. Closed rather than known values: 'other' is the catch-all, and both the appview and the inquiry table already reject anything outside this set."
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "inquiry"
          ],
          "properties": {
            "inquiry": {
              "ref": "app.bivri.support.defs#inquiryView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Open a one-to-one support inquiry. Authentication is required."
}
```
