PUT - Auto Attendant

In this method, you can update your AAs

Parameters

  • service_provider_id (str): Service Provider ID where Group is hosted.

  • group_id (str): Group ID where target Auto Attendant is located.

  • auto_attendant_user_id (str): Target Auto Attendant User ID.

  • updates (dict): Updates to be applied to Auto Attendant.

Return

  • Dict: Updated version of the Auto Attendant with updates applied.

How To Use:

fmy_changes = {
    "serviceInstanceProfile": {
    "name": "Name of Auto Attendant",
    "callingLineIdLastName": "Auto Attendant",
    "callingLineIdFirstName": "Main",
    "hiraganaLastName": "mock-aa-test-1",
    "hiraganaFirstName": "Auto Attendant",
    "language": "English",
    "timeZone": "America/Denver",
    "timeZoneDisplayName": "(GMT-06:00) (US) Mountain Time",
    "aliases": []
  },
  "type": "Basic",
  "enableVideo": False,
  "extensionDialingScope": "Group",
  "nameDialingScope": "Group",
}

my_api.auto_attendants.put_auto_attendant(
    service_provider_id="serviceProviderID",
    group_id="groupID"
    auto_attendant_user_id="AAUserID",
    updates=my_changes
)

Result:

Basic AA updated to deactivated.

Last updated

Was this helpful?