---
title: "Validate customer-provided LiveKit credentials."
method: POST
path: "/simulate/api/livekit/validate-credentials/"
tags: ["simulate"]
---

# Validate customer-provided LiveKit credentials.

`POST /simulate/api/livekit/validate-credentials/`

## Request

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

POST /simulate/api/livekit/validate-credentials/

Creates a temporary room on the customer's LiveKit server using their
credentials and immediately deletes it. Returns whether the credentials
are valid.

## Request body

- ValidateLiveKitCredentialsRequest
  - `livekit_url` string, required
  - `api_key` string, required
  - `api_secret` string, required
  - `agent_name` string
  - `agent_definition_id` string, uuid

## Response `200`

OK

- ValidateLiveKitCredentialsResponse
  - `status` boolean
  - `result` ValidateLiveKitCredentialsResult, required
    - `valid` boolean, required
    - `error` string

## Other responses

- `400`: Bad Request
- `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)
