wxc_sdk.me.secondary_line package

class wxc_sdk.me.secondary_line.MeSecondaryLineApi(session: wxc_sdk.rest.RestSession)[source]

Bases: ApiChild

__init__(session: RestSession)[source]
call_park: MeSecondaryLineCallParkApi
call_pickup: MeSecondaryLineCallPickupApi
base = 'telephony/config/people/me'
caller_id: str
endpoints: MeSecondaryLineEndpointsApi
forwarding: MeSecondaryLineForwardingApi
voicemail: MeSecondaryLineVoicemailApi
feature_access_codes(lineowner_id: str) list[FeatureAccessCode][source]

Get My Feature Access Codes For Secondary Line Owner

Retrieve all Feature Access Codes configured for services that are assigned for the secondary line owner. For each feature access code, the name and code are returned. If an alternate code is defined, it is also returned.

Feature access codes (FACs), also known as star codes, give users access to advanced calling features.

This API requires a user auth token with a scope of spark:telephony_config_read.

Parameters:

lineowner_id (str) – Unique identifier for the secondary line owner (applicable only for Virtual Lines).

Return type:

list[FeatureAccessCode]

calling_services_list(lineowner_id: str) list[ServicesEnum][source]

Get My Secondary Line Owner Calling Services List

Retrieves the list of enabled calling services for the secondary line owner of the authenticated user.

These services are designed to improve call handling and ensure that users can manage their communications effectively. They are commonly found in both personal and business telephony systems.

This API requires a user auth token with a scope of spark:telephony_config_read.

Parameters:

lineowner_id (str) – Unique identifier for the secondary line owner (applicable only for Virtual Lines).

Return type:

list[ServicesEnum]

Subpackages