Get Webphone Config
GET/api/webphone/config
Get WebPhone configuration for authenticated user.
Returns SIP configuration required for WebPhone initialization in the frontend. This endpoint requires authentication via JWT token.
Args: web_context: Authenticated user context from JWT config: Application configuration phone_number_service: Phone number service for retrieving available phone numbers
Returns: SIPConfigResponse with SIP settings
Raises: HTTPException: 403 if WebPhone is disabled HTTPException: 500 if configuration is incomplete
Request
Responses
- 200
- 404
- 422
Successful Response
Not found
Validation Error