# group_offer_accept

Accepts or rejects a group invitation sent by another avatar.

```csharp
// See "LSL Helper Functions" page for this function
smartbotsAPI("group_offer_accept", [
  "avatar_uuid", event.avatar_uuid,
  "session_id", event.session_id,
  "accept", 1
]);
```

See [group_invite](/doc/82ae84e6-e07c-46ff-9d23-c6733932cf6b) HTTP callback for event details.

```snippet http-api-variables-OmJyUigTgO
```

```snippet http-api-input-basic-parameters-5FcVlaJbq0 action="group_offer_accept"
```

```snippet http-api-input-q5yvAagqsZ
avatar_uuid | yes | The UUID of the inviter avatar
session_id  | yes | Offer session ID
accept      | yes | Set to `1` to accept the invitation. Leave empty, `"0"`, or omit to reject the offer.
```

```snippet http-api-output-JAwUcmg7i7
```