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

# Send invites

> Send email and SMS invites to guests for a Luma event with luma.events.guests.sendInvites(), with an optional personalized message up to 200 characters.

<Badge color="purple">SDK</Badge> `luma.events.guests.sendInvites(eventId: string, body: GuestSendInvitesParams): Promise<void>`

Sends guests an invite to an event. Luma emails each guest and sends SMS when a phone number is linked to their Luma account.

<RequestExample>
  ```typescript Example theme={null}
  await luma.events.guests.sendInvites("evt-abc123", {
    guests: [
      { email: "jane@example.com", name: "Jane Doe" },
      { email: "john@example.com", name: "John Doe" },
    ],
    message: "Hope you can make it!",
  });
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {}
  ```
</ResponseExample>

### Parameters

<ParamField path="eventId" type="string" required>
  Event `api_id` from `events.list()`.
</ParamField>

<ParamField path="body" type="GuestSendInvitesParams" required>
  Guests to invite and an optional message. See the [official Luma API docs](https://docs.luma.com/reference/post_v1-events-guests-send-invites) for available fields.
</ParamField>

### Test it

Send a test invite on a dedicated test event:

```typescript theme={null}
const eventId = "evt-abc123";

await luma.events.guests.sendInvites(eventId, {
  guests: [{ email: "test@example.com", name: "Test Guest" }],
  message: "You're invited!",
});
console.log("Invites sent");
```
