Add guests
lemonvite_add_guestsUse this when the user wants people actually added to the guest list of an existing Lemonvite invitation; do not use it while the user is only brainstorming whom to invite. Send the whole list in one call of up to 50 guests, not one call per guest; each needs at least a name, email or phone. Get event_id from lemonvite_list_invitations. On a published invitation, new guests with an email or phone are invited immediately; on a draft, invitations go out at publish. Adding a guest by phone requires host_confirms_sms_consent=true, meaning the host confirmed these people agreed to receive SMS about this event. The total guest_limit applies to drafts too; only support can raise it. Phone guests beyond the phone allowance are priced in saved batches at publishing on a draft; on a published invitation they return payment_required for the whole call, and none of its guests is saved. Explain the credit cost and the new phone allowance. If needed: Buy the creditsToBuy shortfall with lemonvite_start_checkout without event_id. Then retry only the unsaved guests with authorized_credits after explicit host confirmation. Those credits are shared with publishing; these guests add no further publishing charge. Each guest gets its own result; an invalid or already-invited guest fails alone without stopping the others. To fix an existing guest use lemonvite_update_guests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guests | Yes | Batch of 1–50 guests to add. Each needs at least a name, email, or phone. Guests with contact details are invited immediately if the event is published. | |
| event_id | Yes | Lemonvite event_id returned by lemonvite_create_invitation or lemonvite_list_invitations. Identifies the event to act on; not a guest invitation_id or RSVP URL. | |
| authorized_credits | No | Maximum shared account credits the host explicitly agreed to spend across this entire request. Default 0: return payment_required without spending. Explain the credits used and the increased phone allowance, and obtain confirmation before setting this. | |
| host_confirms_sms_consent | No | Set true only when the host confirms the guests agreed to receive SMS about this event. Required when adding guests with phone numbers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| added | Yes | ||
| failed | Yes | ||
| results | Yes | ||
| guest_count | Yes | ||
| credits_used | Yes | ||
| payment_required | No | Present when the batch needs phone allowance credits the call did not authorize. No guest was saved. |