---
title: "Sync Sip Trunks"
method: POST
path: "/internal/sync-sip-trunks"
tags: ["Internal", "Internal"]
---

# Sync Sip Trunks

`POST /internal/sync-sip-trunks`

## Request

- Base URL: `https://api.call2me.app`
- URL: `https://api.call2me.app/internal/sync-sip-trunks`
- Auth: HTTP bearer

Sync SIP trunks from DB to LiveKit.

Called on startup or when LiveKit state is lost (e.g., Redis reset).
Reads all SIP trunks from DB, checks if they exist in LiveKit,
and creates missing ones.

## Headers

- `x-internal-key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/call2me/apis/call2me-api.md) · [All operations](https://skmtc.dev/call2me/apis/call2me-api/llms.txt) · [OpenAPI document](https://skmtc.dev/call2me/apis/call2me-api/revisions/3951f9b7e47d?raw)
