# org.atgrp.invite

> An invitation to join the group, written by the group into the invitee's inbox space. Deleting it revokes the invite.

- Kind: record
- Record key: tid
- Authority: atgrp.org
- Lexicon: 1
- Published by [lex.atgrp.org](https://lexicon.garden/identity/did:plc:4pt2cnpyvfgn5b7uxwn2shwv), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:4pt2cnpyvfgn5b7uxwn2shwv/org.atgrp.invite)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:4pt2cnpyvfgn5b7uxwn2shwv/org.atgrp.invite/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:4pt2cnpyvfgn5b7uxwn2shwv/org.atgrp.invite/analytics)

## Record (`org.atgrp.invite`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `expiresAt` (string · datetime)
- `message` (string)
  - Constraints: maxLength: 20000, maxGraphemes: 2000

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An invitation to join the group, written by the group into the invitee's inbox space. Deleting it revokes the invite.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "expiresAt": {
            "format": "datetime",
            "type": "string"
          },
          "message": {
            "maxGraphemes": 2000,
            "maxLength": 20000,
            "type": "string"
          }
        },
        "required": [
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "org.atgrp.invite",
  "lexicon": 1
}
```
