> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# createRsvp

> Create or update an RSVP on an event — for the viewer, or for the member named
by memberId. On the public API, answering for another member additionally
requires the `host:write:network_events` OAuth scope.

**Required scopes:** `write:rsvps`, `host:write:network_events` (any one)



**mutation** `createRsvp(input: CreateRsvpInput!): CreateRsvpPayload`

## Arguments

**`input`**: `CreateRsvpInput!` (required)

Parameters for CreateRsvp

## Returns

`CreateRsvpPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

---

**`rsvp`**: `Rsvp`

## Examples

```graphql Mutation
mutation CreateRsvp($input: CreateRsvpInput!) {
  createRsvp(input: $input) {
    clientMutationId
    errors
    rsvp {
      createdAt
      event {
        assets {
          __typename
        }
        body
        bodyHtml
        bodyText
        cheerCount
        cheersEnabled
      }
      eventInstance {
        attendees {
          __typename
        }
        endsAt
        hasNext
        hasPrevious
        id
        instanceIndex
      }
      id
      instanceAt
      member {
        ambassadorLevel
        ambassadorLevelId
        avatarUrl
        badges {
          __typename
        }
        communityRole
        conversations {
          __typename
        }
      }
    }
  }
}
```

```json Variables
{
  "input": {
    "eventId": "id",
    "status": "string"
  }
}
```

```json Response
{
  "data": {
    "createRsvp": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "rsvp": {
        "createdAt": "value",
        "event": {
          "assets": [
            {
              "__typename": "Asset"
            }
          ],
          "body": "string",
          "bodyHtml": "string",
          "bodyText": "string",
          "cheerCount": 1,
          "cheersEnabled": true
        },
        "eventInstance": {
          "attendees": [
            {
              "__typename": "User"
            }
          ],
          "endsAt": "value",
          "hasNext": true,
          "hasPrevious": true,
          "id": "id",
          "instanceIndex": "string"
        },
        "id": "id",
        "instanceAt": "value",
        "member": {
          "ambassadorLevel": "string",
          "ambassadorLevelId": 1,
          "avatarUrl": "string",
          "badges": [
            {
              "__typename": "Badge"
            }
          ],
          "communityRole": "CONTRIBUTOR",
          "conversations": {
            "__typename": "PublicConversationConnection"
          }
        }
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.