# createWhiteLabelGuestGroup

> Required permission: WhiteLabelGuestWrite

Source: https://docs.gastrogate.io/docs/api/mutations/createWhiteLabelGuestGroup

```graphql
createWhiteLabelGuestGroup(
  whiteLabelId: ID!
  input: WhiteLabelGuestGroupInput!
): WhiteLabelGuestGroup
```

## Arguments

| Name | Type | Description |
| --- | --- | --- |
| `whiteLabelId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md)! |  |
| `input` | [`WhiteLabelGuestGroupInput`](https://docs.gastrogate.io/docs/api/types/WhiteLabelGuestGroupInput.md)! |  |

## Returns

[`WhiteLabelGuestGroup`](https://docs.gastrogate.io/docs/api/types/WhiteLabelGuestGroup.md)

## Example

```graphql
mutation CreateWhiteLabelGuestGroup($whiteLabelId: ID!, $input: WhiteLabelGuestGroupInput!) {
  createWhiteLabelGuestGroup(whiteLabelId: $whiteLabelId, input: $input) {
    id
    cardBackgroundColor
    cardImageUrl
    invitationCode
    memberCount
    name
  }
}
```

```bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { createWhiteLabelGuestGroup(...) { __typename } }"}'
```
