GetMyAgentDetails retrieves the authenticated user's agent details.
GET/api/v1/auth/unified-agents/me
Returns the unified agent profile for the currently authenticated user, including SIP extension for voice-capable agents. Use this endpoint instead of voice.AgentService.GetMyAgent when you need the unified agent details.
Response
Returns the user's unified agent with all user info and SIP details. For SIP password, use voice.SIPCredentialsService.GetSIPCredentials.
Errors
- NOT_FOUND: Authenticated user has no unified agent
- UNAUTHENTICATED: No valid JWT token provided
NOTE: This route MUST be defined before GetUnifiedAgent to avoid the /{id} pattern matching "me" as an ID.
Responses
- 200
- default
A successful response.
An unexpected error response.