---
title: "Receive and process LiveKit server webhooks."
method: POST
path: "/simulate/api/livekit/webhook/"
tags: ["simulate"]
---

# Receive and process LiveKit server webhooks.

`POST /simulate/api/livekit/webhook/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/simulate/api/livekit/webhook/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Handles lifecycle events (room start/finish, participant join/leave,
egress completion). This is the **reliable** path for updating call
lifecycle and signaling Temporal — it fires even if the agent worker
crashes mid-call.

## Request body

- object: LiveKit webhook payload verified against the Authorization JWT.

## Response `200`

OK

- LiveKitOkResponse
  - `ok` boolean, required

## Other responses

- `401`: Unauthorized
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
