sinch.domains.voice.api.v2.sessions_apis module

class sinch.domains.voice.api.v2.sessions_apis.Sessions(sinch)[source]

Bases: BaseVoice

get(
session_id: str,
**kwargs,
) SessionResponse[source]

Retrieve detailed information about a specific session, including all associated calls and their current states. Sessions represent the complete interaction lifecycle and can contain multiple related calls.

Parameters:
  • session_id (str) – (required) The ID of the session.

  • **kwargs

    Additional parameters for the request.

Returns:

The session details.

Return type:

SessionResponse

For detailed documentation, visit https://developers.sinch.com/docs/voice-2.0.