livekit-phone-admin
Sync Dispatch Rules
Synchronize dispatch rules between database and LiveKit Cloud.
Detects:
- Orphaned rules: in LiveKit but not in DB (can auto-adopt)
- Missing rules: in DB but not in LiveKit (can auto-recreate)
Auto-adopt matches orphaned rules to existing phone numbers by comparing the rule's inbound_numbers against the PhoneNumber table, then links them by populating inbound_voice_agent_id and livekit_dispatch_rule_id.
Run this if dispatch rules were manually created via LiveKit dashboard or if you suspect the database is out of sync.
post/api/v1/admin/livekit/phone-assignments/sync
Request body
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.