GetSIPCredentials retrieves SIP credentials for the authenticated agent.
GET/api/v1/voice/sip-credentials
Returns credentials for connecting to the phone system.
Authentication
Uses JWT token from Authorization header to identify the agent. No request parameters needed.
Response
- extension: Agent's SIP extension
- password: SIP password (one-time retrieval recommended)
- domain: SIP registrar domain
- ws_server: WebSocket URL for WebRTC
Errors
- UNAUTHENTICATED: Missing or invalid JWT token
- NOT_FOUND: No agent record for authenticated user
- PERMISSION_DENIED: User not authorized for voice
Responses
- 200
- default
A successful response.
An unexpected error response.