Update a line
Authentication
Send as Authorization: Bearer <your-key>. Obtain keys from the portal — prefix sk_live_ for production, sk_test_ for sandbox.
Path parameters
Request
Human-readable name for the line
Switch the line’s transport. Switching to audio while the line currently has a webhook_url set implicitly clears webhook_url to null unless webhook_url is also passed in this same request.
WebSocket URL for audio streaming (must be wss://)
Saperly voice slug from GET /v1/voices (e.g. “aria”, “hebrew-warm”)
v0.5.10. Update the Deepgram STT language pin. Pass multi to clear the pin. Rejected with HTTP 400 hosted_mode_language_pinning_unsupported on hosted-mode lines (current OR persisted mode — switching to hosted in this same request also clears any previously-set language to multi).
v0.5.10. Update the per-line endpointing override. Pass null to revert to the platform default (~700ms). Rejected with HTTP 400 hosted_mode_language_pinning_unsupported on hosted-mode lines.
