# community.lexicon.calendar.getRSVP

> Published by [lexicons.lexicon.community](https://lexicon.garden/identity/did:plc:mtr7qrqtcyseedx3jyr5o7db)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:mtr7qrqtcyseedx3jyr5o7db/community.lexicon.calendar.getRSVP)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mtr7qrqtcyseedx3jyr5o7db/community.lexicon.calendar.getRSVP/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mtr7qrqtcyseedx3jyr5o7db/community.lexicon.calendar.getRSVP/examples)

## Definitions

### `community.lexicon.calendar.getRSVP`

**Type**: `query`

Get an RSVP record for a specific identity and event.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `event` | `string` (at-uri) | Yes | AT-URI of the event. |
| `identity` | `string` (did) | Yes | DID of the identity to get the RSVP for. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` | Yes | CID of the RSVP record. |
| `uri` | `string` (at-uri) | Yes | AT-URI of the RSVP record. |
| `record` | `ref` → `community.lexicon.calendar.rsvp` | Yes | The RSVP record. |

#### Errors

- **NotFound**

## Raw Schema

```json
{
  "id": "community.lexicon.calendar.getRSVP",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "uri",
            "cid",
            "record"
          ],
          "properties": {
            "cid": {
              "type": "string",
              "description": "CID of the RSVP record."
            },
            "uri": {
              "type": "string",
              "format": "at-uri",
              "description": "AT-URI of the RSVP record."
            },
            "record": {
              "ref": "community.lexicon.calendar.rsvp",
              "type": "ref",
              "description": "The RSVP record."
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "event",
          "identity"
        ],
        "properties": {
          "event": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the event."
          },
          "identity": {
            "type": "string",
            "format": "did",
            "description": "DID of the identity to get the RSVP for."
          }
        }
      },
      "description": "Get an RSVP record for a specific identity and event."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
