# com.atproto.server.describeServer

> Describes the server's account creation requirements and capabilities. Implemented by PDS.

- Kind: query
- Authority: server.atproto.com
- Lexicon: 1
- Published by [atproto-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:6msi3pj7krzih5qxqtryxlzw), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.server.describeServer)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.server.describeServer/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.server.describeServer/analytics)

## Query (`com.atproto.server.describeServer`)

Type: query · GET

### Output (application/json)

- `availableUserDomains` (array, required): List of domain suffixes that can be used in account handles.
  - `items` (string)
- `blobUploadLimit` (integer): Maximum size of a blob that can be uploaded via com.atproto.repo.uploadBlob, in bytes.
- `contact` (ref): Contact information
  - Reference: `#contact`
- `did` (string · did, required)
- `inviteCodeRequired` (boolean): If true, an invite code must be supplied to create an account on this instance.
- `links` (ref): URLs of service policy documents.
  - Reference: `#links`
- `phoneVerificationRequired` (boolean): If true, a phone verification token must be supplied to create an account on this instance.

## #contact (`com.atproto.server.describeServer#contact`)

Type: object

### Properties

- `email` (string)

## #links (`com.atproto.server.describeServer#links`)

Type: object

### Properties

- `privacyPolicy` (string · uri)
- `termsOfService` (string · uri)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "contact": {
      "properties": {
        "email": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "links": {
      "properties": {
        "privacyPolicy": {
          "format": "uri",
          "type": "string"
        },
        "termsOfService": {
          "format": "uri",
          "type": "string"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "Describes the server's account creation requirements and capabilities. Implemented by PDS.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "availableUserDomains": {
              "description": "List of domain suffixes that can be used in account handles.",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "blobUploadLimit": {
              "description": "Maximum size of a blob that can be uploaded via com.atproto.repo.uploadBlob, in bytes.",
              "type": "integer"
            },
            "contact": {
              "description": "Contact information",
              "ref": "#contact",
              "type": "ref"
            },
            "did": {
              "format": "did",
              "type": "string"
            },
            "inviteCodeRequired": {
              "description": "If true, an invite code must be supplied to create an account on this instance.",
              "type": "boolean"
            },
            "links": {
              "description": "URLs of service policy documents.",
              "ref": "#links",
              "type": "ref"
            },
            "phoneVerificationRequired": {
              "description": "If true, a phone verification token must be supplied to create an account on this instance.",
              "type": "boolean"
            }
          },
          "required": [
            "did",
            "availableUserDomains"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "com.atproto.server.describeServer",
  "lexicon": 1
}
```
