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!",
});
{}
Guests
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.
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!",
});
{}
SDK
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.
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!",
});
{}
Parameters
string
required
Event
api_id from events.list().GuestSendInvitesParams
required
Guests to invite and an optional message. See the official Luma API docs for available fields.
Test it
Send a test invite on a dedicated test event: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");