> ## 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.

# Update guest status

> Update a Luma event guest's approval or check-in status with luma.events.guests.updateStatus(eventId, guestId, body) in the TypeScript SDK.

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

Updates a guest's approval or check-in status.

<RequestExample>
  ```typescript Example theme={null}
  await luma.events.guests.updateStatus("evt-abc123", "gst-xyz789", {
    approval_status: "approved",
  });
  ```
</RequestExample>

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

### Parameters

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

<ParamField path="guestId" type="string" required>
  Guest `api_id` from `events.guests.list()`.
</ParamField>

<ParamField path="body" type="GuestUpdateStatusParams" required>
  Status fields to update. See the [official Luma API docs](https://docs.luma.com) for available fields.
</ParamField>

### Test it

Approve a pending guest on a test event:

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

await luma.events.guests.updateStatus(eventId, guestId, {
  approval_status: "approved",
});
console.log("Status updated");
```
