livekit-phone-admin
Sync Dispatch Rules
Changed onSynchronize 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
- Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
- URL: https://api.getanana.com/api/v1/admin/livekit/phone-assignments/sync
- Auth: none declared
Request body
Response
Successful Response
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info