{"openapi":"3.0.0","info":{"title":"Alexa For Senior Living APIs Collection","description":"This protocol describes how to use the Alexa for Senior Living API Collection","termsOfService":"","version":"2"},"servers":[{"url":"https://api.amazonalexa.com"},{"url":"http://api.amazonalexa.com"}],"security":[{"bearerAuth":[]}],"tags":[{"name":"Authorization","description":"## To call the Alexa for Hospitality APIs, you must include your API access token as part of the Authorization request header of each API call. ## The API access token generation is based on a [Login With Amazon](https://developer.amazon.com/docs/login-with-amazon/documentation-overview.html) Security Profile usage."},{"name":"Role Management","description":"An Alexa for Hospitality user must have an assigned role before they can access any Alexa for Hospitality resources. The creator of a unit is assigned the administrator role for that unit automatically. ---"},{"name":"Unit Management"},{"name":"Unit Management > Unit Settings","description":"Use the Unit API to manage unit settings for Alexa for Hospitality units such as rooms. ---"},{"name":"Endpoint Management","description":"With this API, you can enumerate the devices owned by your Amazon Business account; view and change settings; and associate endpoints with specific rooms. ---"},{"name":"Device Settings","description":"With this API, you can query and update the values of different settings for endpoints owned by your Amazon Business account or your units (properties, room types, rooms) ---"},{"name":"Device Settings > Speaker"},{"name":"Device Settings > Address"},{"name":"Device Settings > Do Not Disturb"},{"name":"Device Settings > Locales"},{"name":"Device Settings > Wake Word"},{"name":"Device Settings > Speech Confirmation"},{"name":"Device Settings > Error Suppression"},{"name":"Device Settings > Setup Mode Privileges"},{"name":"Device Settings > Max. Volume Limit"},{"name":"Device Settings > TimeZone"},{"name":"Device Settings > Temperature Unit"},{"name":"Device Settings > Distance Unit"},{"name":"Device Settings > Accessibility (Multimodal)"},{"name":"Device Settings > Accessibility (Multimodal) > Alexa Captions"},{"name":"Device Settings > Accessibility (Multimodal) > Closed Captions"},{"name":"Device Settings > Accessibility (Multimodal) > Magnifier"},{"name":"Device Settings > Accessibility (Multimodal) > Color Inversion"},{"name":"Device Settings > SmartHome"},{"name":"Device Settings > SmartHome > Brightness"},{"name":"Device Settings > SmartHome > Color"},{"name":"Device Settings > SmartHome > Color Temperature"},{"name":"Device Settings > SmartHome > Temperature Sensor"},{"name":"Device Settings > SmartHome > Power"},{"name":"Device Settings > SmartHome > Thermostat"},{"name":"Wifi Management","description":"Manage Wi-Fi configuration for Alexa endpoints and track status.\n---"},{"name":"Notifications","description":"You can use the Alexa Notifications REST API to send notifications to your customers. You can specify either of the following notification types: --- - **Device notification** – For headless devices like Amazon Echo Dot, this is a yellow ring and a chime sound. For multimodal devices, it's a banner and a persistent notification indicator. - **Announcement** – For headless and multimodal devices, this is a voice announcement. Multimodal devices also display a message on the screen. - **PersistentVisualAlert** – For multimodal devices only. This a persistent notification that's displayed on the screen until it expires or the guest or resident dismisses it."},{"name":"Notifications > Rotating Cards"},{"name":"Smart Home"},{"name":"Smart Home > Discovery Management","description":"Use the Discovery Session API to find the endpoints associated with a unit. Creating a discovery session instructs Alexa to look for new or updated endpoints, such as those connected via a smart home skill. ---"},{"name":"Smart Home > Device Group Management","description":"In Alexa for Hospitality, you can use the Device Group Management API to create groups of devices within a unit. --- A device group represents a group of devices that a user can control together by speaking to an Alexa Built-in device that's a member of the group. Targeting can be explicit or implicit:  - **Explicit targeting** happens when the user specifies a device group name, for example, \"*Alexa, turn on the living room lights*\". - **Implicit targeting** happens when the user doesn't specify the group name. For example, if a user says, \"*Alexa, turn on the lights*\" to a device that's in a device group, Alexa turns on all lights in the group.  Devices in a device group are typically located in the same physical space, but this isn't a requirement. **Note:** An Alexa Built-in device can only be a member of one device group at a time."},{"name":"Skill Management","description":"Use the Skill Management API to manage skills for Alexa for Hospitality units such as rooms. ---"},{"name":"Communications","description":"With this API, you can manage Address Books, Contacts and Communications Profile to enable Alexa 2 Alexa calling as well as Alexa 2 landline calling (PSTN).\n---\n\nBe aware of the following resources limits:\n\n- Maximum number of contacts allowed in an address book: **2000**\t\n- Maximum number of address books that can be associated with a unit: **10**\n- Maximum number of units that an address book can be associated with: **2500**\n- Max number of phone numbers per contact: **3**\n- Max number of address books per organization: **2500**\n\n**Note**: PSTN calling is not yet supported in FR"},{"name":"Communications > Communication Profile","description":"To support calling, a unit must create a communications profile – communications Profiles aren't auto-created. When you create communication profile for a unit, it's assigned a unique identifier called a profileId. You can then add the profileId as a contact in the address book of a different unit. ---"},{"name":"Communications > Address Books"},{"name":"Communications > Contacts"},{"name":"Communications > Address Book Associations"},{"name":"Communications > Inbound Calling"}],"paths":{"/get":{"get":{"tags":["Authorization"],"summary":"Get Refresh Token","security":[{"oauth2Auth":[]}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/roles":{"get":{"tags":["Role Management"],"summary":"List Roles","description":"Get the list of roles defined for the specified unit (property or room type or room) that can be assigned to a user. --- *Required Request Query Parameters:* - `unitId`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\". --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-role-api.html#listRoles)","parameters":[{"name":"unitId","in":"query","schema":{"type":"string"},"description":"The unit ID, in the format \"amzn1.alexa.unit.did.{id}\" (Required Field).","example":"{{UnitId}}"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/roles/{RoleId}":{"get":{"tags":["Role Management"],"summary":"Get Role","description":"Get the details for the specified role. --- *Required Request Path Parameters:* - `roleId`: The role ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.role.did.{id}\". Use this ID to assign the role to users. --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-role-api.html#get-a-role)","parameters":[{"name":"RoleId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/roles/{RoleId}/assignments":{"get":{"tags":["Role Management"],"summary":"List Principals assigned to Role","description":"Get the list of principal assignments for the specified role. --- *Required Request Path Parameters:* - `roleId`: The role ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.role.did.{id}\". Use this ID to assign the role to users. --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-role-api.html#list-principal-assignments-for-a-role)","parameters":[{"name":"RoleId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"post":{"tags":["Role Management"],"summary":"Assign Role to Principal","description":"Assign a role to the specified principal (user ID). --- *Required Request Path Parameters:* - `roleId`: The role ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.role.did.{id}\". Use this ID to assign the role to users. *Required Request Body Parameters:* - `principalId`: User ID of the principal to whom to assign the role. --- For details about how to retrieve the principal (user ID) that you'll need for the principal, see [Obtain Customer Profile Information](https://developer.amazon.com/docs/login-with-amazon/obtain-customer-profile.html) **Note:** This API throws a 400 Bad Request Exception if you attempt to assign a role to a principal who is already assigned that particular role. [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-role-api.html#assignRole)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"principalId":"{{PrincipalId}}"}}}}},"parameters":[{"name":"RoleId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"delete":{"tags":["Role Management"],"summary":"Revoke Role assignement","description":"Revoke a role for the specified principal (user ID). --- *Required Request Path Parameters:* - `roleId`: The role ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.role.did.{id}\". Use this ID to assign the role to users. *Required Request Query Parameters:* - `principalId`: User ID of the principal to whom to assign the role. --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-role-api.html#revoke-a-role-assignment)","parameters":[{"name":"principalId","in":"query","schema":{"type":"string"},"description":"The principal ID for the principal whose role is to be revoked (Required Field).","example":"{{PrincipalId}}"},{"name":"RoleId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/roles/assignments":{"get":{"tags":["Role Management"],"summary":"List Roles assigned to Principal","description":"Get the list of role assignments for the specified principal for the specified unit (property or room type or room). --- *Required Request Path Parameters:* - `roleId`: The role ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.role.did.{id}\". Use this ID to assign the role to users. *Required Request Query Parameters:* - `principalId`: The principal ID, in the format \"amzn1.account.{id}\". - `unitId`: The unit ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.role.did.{id}\". --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-role-api.html#list-role-assignments-for-a-principal)","parameters":[{"name":"principalId","in":"query","schema":{"type":"string"},"description":"The principal ID, in the format \"amzn1.account.{id}\" (Required Field).","example":"{{PrincipalId}}"},{"name":"unitId","in":"query","schema":{"type":"string"},"description":"The unit ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.role.did.{id}\" (Required Field).","example":"{{UnitId}}"},{"name":"maxResults","in":"query","schema":{"type":"string"},"description":"Maximum number of results to display. The value of this parameter must between 1 and 10. Default is 10 (Optional Field)","example":"{{MaxResults}}"},{"name":"nextToken","in":"query","schema":{"type":"string"},"description":"Token used for getting the next page of results. (Optional Field)","example":"{{NextToken}}"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/units/{UnitId}/settings/MusicExperience.defaultStationPreferences":{"get":{"tags":["Unit Management > Unit Settings"],"summary":"Get Music Station","description":"Get the default music station preferences for a given unit. --- *Required Request Path Parameters:* - `unitId`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\". --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-unit-api.html#get-the-default-music-station-setting)","parameters":[{"name":"UnitId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Unit Management > Unit Settings"],"summary":"Set Music Station","description":"Set the default music station preferences for a given unit. --- *Required Request Path Parameters:* - `unitId`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\". *Required Request BOdy Parameters:* - `providerId`: The radio station provider ID. - `stationId`: The station ID. **Note:** Supported values for both `providerId` and `sationId` are available from online documentation. --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-unit-api.html#set-the-default-music-station-setting)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"providerId":"TUNEIN","stationId":"s16492"}}}}},"parameters":[{"name":"UnitId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/alerts/alarms":{"delete":{"tags":["Unit Management > Unit Settings"],"summary":"Delete Alarms","description":"Delete all alarms on all endpoints in a unit. --- *Required Request Query Parameters:* - `unitId`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\". --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-unit-api.html#delete-all-alarms-for-unit)","security":[{"noauthAuth":[]}],"parameters":[{"name":"Authorization Token","in":"header","schema":{"type":"string"},"example":"{{AccessToken}}"},{"name":"unitId","in":"query","schema":{"type":"string"},"description":"The unit ID, in the format \"amzn1.alexa.unit.did.{id}\" (Required Field).","example":"{{UnitId}}"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/units":{"get":{"tags":["Unit Management"],"summary":"List Units (Full Depth Level)","description":"List Units --- Call `GET /v2/units/` to retrieve units. If there are no child units, an empty list will be returned. Only units that are accessible by the caller will be returned. All subunits will be returned up to depth specified (if any). *Required Request Path Parameters:* - `parentId` : Identifier of the unit for which child units should be returned. In format of \"amzn1.alexa.unit.did.{id}\". --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-property-hierarchy-management-api.html#list-units)","parameters":[{"name":"parentId","in":"query","schema":{"type":"string"},"example":"{{UnitId}}"},{"name":"queryDepth","in":"query","schema":{"type":"string"},"example":"all"},{"name":"expand","in":"query","schema":{"type":"string"},"example":"all"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/unit"}}}}},"201":{"description":"Successful response - returns a list of all units","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/unit"}}}}}}},"post":{"tags":["Unit Management"],"summary":"Create Unit","description":"Create a unit to represent a physical unit (e.g. property, floor, wing, room) in your property --- A Unit is an administrative construct for organizing people and resources (skill, devices) that interact with Alexa systems. Units are hierarchical in nature and can have zero or more sub units. A Unit's parent cannot be any of its sub units. *Required Request Body Parameters:* - `name.type` : The type of format the name.value field is expected in. Accepted value: PLAIN - `name.value` : The name of the unit. - `parentId` : Unit under which the newly created unit will exist. --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-property-hierarchy-management-api.html#create-a-unit)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"name":{"type":"PLAIN","value":{"text":"name of unit"}},"parentId":"amzn1.alexa.unit.did.{unitId}"}}}}},"responses":{"200":{"description":"Successfully added a unit","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}}}}}}}}},"/v2/units/{UnitId}":{"get":{"tags":["Unit Management"],"summary":"Read Unit","description":"Retrieve Unit --- *Required Request Path Parameters:* - `unitId`: Identifier for the unit you want to retrieve in the following format \"amzn1.alexa.unit.did.{id}\". --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-property-hierarchy-management-api.html#get-a-unit)","parameters":[{"name":"UnitId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/unit"}}}},"201":{"description":"Successful response - a list of all units as no id specified","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/unit"}}}}}}},"put":{"tags":["Unit Management"],"summary":"Update Unit Friendly Name","description":"Update the name of the unit --- Currently an endpoint can only be associated with one unit at a time. *Required Request Path Parameters:* - `unitId`: Identifier for the unit you want to update in the following format \"amzn1.alexa.unit.did.{id}\". --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-property-hierarchy-management-api.html#update-a-unit)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"name":{"type":"PLAIN","value":{"text":"name of unit"}},"parentId":"amzn1.alexa.unit.did.{unitId}"}}}}},"parameters":[{"name":"UnitId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"delete":{"tags":["Unit Management"],"summary":"Delete Unit","description":"Delete a unit. --- Currently an endpoint can only be associated with one unit at a time. *Required Request Path Parameters:* - `unitId`: Identifier for the unit you want to update in the following format \"amzn1.alexa.unit.did.{id}\". **Important**: If the unit has child Units, 400 Bad request will be returned. --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-property-hierarchy-management-api.html#delete-a-unit)","parameters":[{"name":"UnitId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/skills/amzn1.ask.skill.6a39c06f-58b4-4adb-8c7f-a75a9ca3f7e1/enablements":{"post":{"tags":["Unit Management"],"summary":"Assign Senior Living Subscription to Property","description":"Enable Senior Living Subscription on a property --- *Required Request Path Parameters:* - `skillId`: amzn1.ask.skill.6a39c06f-58b4-4adb-8c7f-a75a9ca3f7e1 (Senior Living Subscription) *Required Request Body Parameters:* - `unitId`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\". - `stage`: The selected skill stage: `development` or `live` --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-managing-subscriptions.html)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"unitId":"{{UnitId}}","stage":"{{SkillStageLive}}"}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints":{"get":{"tags":["Endpoint Management"],"summary":"List Devices in Unit","description":"Enumerate endpoints associated with a particular unit that the caller has permission to access --- *Required Request Query Parameters:* - `associatedUnits.id`: Filter endpoints to only those endpoints that are associated with a particular unit. **Note:** This call only returns endpoints that are associated with the given unit. To enumerate endpoints associated with your Amazon Business Account, see [Enumerate endpoints associated with a unit](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#enumerate-endpoints). --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#enumerate-unit-endpoints)","parameters":[{"name":"associatedUnits.id","in":"query","schema":{"type":"string"},"description":"Filter endpoints to only those endpoints that are associated with a particular unit (Required Field).","example":"{{UnitId}}"},{"name":"expand","in":"query","schema":{"type":"string"},"description":"An attribute (or set of attributes) to include in the response.","example":"all"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}":{"get":{"tags":["Endpoint Management"],"summary":"Get Device","description":"Retrieve an endpoint and list values for all endpoint attributes the caller has permission to access. --- *Required Request Path Parameters:* - `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\". --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#retrieve-endpoint)","parameters":[{"name":"expand","in":"query","schema":{"type":"string"},"description":"An attribute (or set of attributes) to include in the response.","example":"all"},{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/connectivity":{"get":{"tags":["Endpoint Management"],"summary":"Get Device Connectivity Status","description":"Get states and attributes related to connectivity of the endpoint --- *Required Request Path Parameters:* - `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\". --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#query-connectivity-status)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/deregister":{"post":{"tags":["Endpoint Management"],"summary":"Remove Device from Account","description":"Deregister an endpoint from your Amazon Business account. --- *Required Request Path Parameters:* - `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\". --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#deregister-endpoint)","requestBody":{"content":{}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/forget":{"post":{"tags":["Endpoint Management"],"summary":"Forget Device","description":"Forget an endpoint. --- *Required Request Path Parameters:* - `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\". **Note:** This call only applies to Alexa's representation of the endpoint. It doesn't propagate back to the entity that reported the endpoint to Alexa (for example, a smart home skill). To ensure the endpoint is not automatically reconnected to Alexa, remove it from the reporter. For example, for endpoints that are reported by a manufacturer's smart home skill, remove the endpoint from the manufacturer's app before calling forget. --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#forget-endpoint)","requestBody":{"content":{}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/friendlyName":{"post":{"tags":["Endpoint Management"],"summary":"Update Device Friendly Name","description":"Change the friendly name for an endpoint. --- *Required Request Path Parameters:* - `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\". *Required Request Body Parameters:* - `type`: The name value type. Currently the only supported value is \"PLAIN\". - `value`: A Value object containing the friendly name for the endpoint. **Note:** Alexa uses the friendly name for all GUI and VUI experiences. Customers can use the friendly name to control an endpoint, for example, \"*Alexa, turn on {friendlyName}*\". --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#change-an-endpoints-friendly-name)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"type":"PLAIN","value":{"text":"dark vador"}}}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/associatedUnits":{"put":{"tags":["Endpoint Management"],"summary":"Reset Device to Account","description":"Update the list of associated units for an endpoint.\n---\n\nCurrently an endpoint can only be associated with one unit at a time.\n\n*Required Request Path Parameters:*\n- `endpointid`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Parameters:*\n- The list of units to associate with the endpoint. To reset device to your Amazon Business Account, you will specify the caller's default unit by using \"~caller.defaultUnitId\" \n\n**Important**: The endpoint must have an active connection when changing unit associations. Please keep the device powered on and online for 1 minute after successfully calling this API.\n\n**Warning**: *When you change unit associations for an endpoint, the `endpointId` might change. The new `endpointId` is returned in the response.*\n\n**Note:** Settings should be applied only after a device is associated with a unit. Any settings that have been applied to a device are cleared when its unit association is updated. After the `PUT associatedUnits` API is called and a 200 code is returned, you should confirm that the endpoint was successfully restarted. \n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#assign-endpoint-to-unit)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":[{"id":"~caller.defaultUnitId"}]}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/speaker":{"get":{"tags":["Device Settings > Speaker"],"summary":"Get Speaker Settings","description":"Retrieve speaker-feature properties (e.g volume) and their corresponding values of the specified endpoint.\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-featuresspeaker)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/speaker/setVolume":{"post":{"tags":["Device Settings > Speaker"],"summary":"Set Volume","description":"Set speaker volume to the specified value on the specified endpoint.\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Parameters:*\n- `volume`: The absolute volume to set endpoint's speaker volume to. Valid range is 0 to 100.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#post-featuresspeaker)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"payload":{"volume":40}}}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/speaker/adjustVolume":{"post":{"tags":["Device Settings > Speaker"],"summary":"Adjust Volume","description":"Adjust speaker volume by the specified value on the specified endpoint.\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Parameters:*\n- `volumeDelta`: The relative volume to adjust the endpoint's speaker volume by. Valid range is -100 to 100. If the volume of the endpoint is already set to '20', and adjustVolume operation is invoked to adjust the endpoint volume by '-30', the endpoint volume is set to 0. Similarly, if the volume of the endpoint is already set to '20' and adjustVolume operation is invoked to adjust the endpoint volume by '90', the endpoint volume is set to 100\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#post-featuresspeaker)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"payload":{"volumeDelta":-60}}}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/settings/address":{"get":{"tags":["Device Settings > Address"],"summary":"Get Address","description":"Get the address where an endpoint is located. \n---\n\nAlexa uses this setting for features like Local Search and Weather.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-address-setting)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"post":{"tags":["Device Settings > Address"],"summary":"Set Address","description":"Set the address where an endpoint is located. \n---\n\nAlexa uses this setting for features like Local Search and Weather.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Parameters:*\n- `address`: The device address object\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#post-address-setting)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"address":{"addressLine1":"221 Baker Ave","addressLine2":"","addressLine3":"","city":"Sunnyvale","stateOrRegion":"California","districtOrCounty":"","postalCode":"94085","countryCode":"US"}}}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/settings/Alexa.DoNotDisturb.doNotDisturb":{"get":{"tags":["Device Settings > Do Not Disturb"],"summary":"Get Do Not Disturb Mode","description":"Get the DoNotDisturb setting. \n---\n\nThis setting prevents notifications and proactive experiences (calls, etc.) from disturbing the user.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-donotdisturb-setting)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Device Settings > Do Not Disturb"],"summary":"Set Do Not Disturb Mode","description":"Update the DoNotDisturb setting. \n---\n\nThis setting prevents notifications and proactive experiences (calls, etc.) from disturbing the user.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Value:*\n- A Boolean value: `true` to enable the DoNotDisturb setting, or `false` otherwise.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#put-donotdisturb-setting)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":true}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/settings/System.locales":{"get":{"tags":["Device Settings > Locales"],"summary":"Get Locales","description":"Get the user's preferred locales.\n---\n\nIn the context of an Alexa device, this setting controls which languages the Alexa-enabled device is expected to understand and respond with.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-locales-setting)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Device Settings > Locales"],"summary":"Set Locales","description":"Update the locale setting of the endpoint\n---\n\nIn the context of an Alexa device, this setting controls which languages the Alexa-enabled device is expected to understand and respond with.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Value:*\n- List of locale strings. Specify at least one and no more than two locales. The first element in the list specifies the preferred locale. The following locales are supported: `de-DE`, `en-AU`, `en-CA`, `en-GB`, `en-IN`, `en-US`, `es-ES`, `es-MX`, `fr-FR`, `fr-CA`, `hi-IN`, `it-IT`, `ja-JP`, `pt-BR`. \n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#put-locales-setting)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":["en-US","fr-FR"]}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/settings/SpeechRecognizer.wakeWords":{"get":{"tags":["Device Settings > Wake Word"],"summary":"Get Wake Word","description":"Get the WakeWords setting.\n---\n\nThis setting controls what alternative wake words the user can say to wake up Alexa.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-wakewords-setting)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Device Settings > Wake Word"],"summary":"Set Wake Word","description":"Update the WakeWords setting.\n---\n\nThis setting controls what alternative wake words the user can say to wake up Alexa.\n\nThe supported wake words are: `ALEXA`, `AMAZON`, `COMPUTER`, and `ECHO`. \n\nCurrently you can only specify one wake word at a time. \n\nNot all devices support all wake words.\n\nNot all locales support all wake words (e.g `COMPUTER` is not supported in `fr-FR`)\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Value:*\n- List of wake words, for example, [\"ALEXA\"].\n\n\n**Note:** Before you can update the `WakeWords` setting for a device, you must set the `Locales` setting. \n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#put-wakewords-setting)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":["AMAZON"]}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/settings/SpeechRecognizer.speechConfirmation":{"get":{"tags":["Device Settings > Speech Confirmation"],"summary":"Get Speech Confirmation","description":"Get the end-of-request sound.\n---\n\nThis setting allows the user to specify whether they want a short tone to play at the end of their request to Alexa to indicate that Alexa has finished listening to and capturing the request.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-speechconfirmation-setting)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Device Settings > Speech Confirmation"],"summary":"Set Speech Confirmation","description":"Update the end-of-request sound setting.\n---\n\nThis setting allows the user to specify whether they want a short tone to play at the end of their request to Alexa to indicate that Alexa has finished listening to and capturing the request.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Value:*\n- A string containing the desired speech confirmation setting. Alexa supported speech confirmation settings are `\"TONE\"` and `\"NONE\"`.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#put-speechconfirmation-setting)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":"NONE"}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/settings/Alexa.ManagedDevice.Settings.errorSuppression":{"get":{"tags":["Device Settings > Error Suppression"],"summary":"Get Error Suppression","description":"Get the list of error suppressions.\n---\n\nThis setting controls whether the device plays error audio cues (brief, distinctive sounds) for certain errors.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-errorsuppression-setting)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Device Settings > Error Suppression"],"summary":"Set Error Suppression","description":"Update the list of error suppressions.\n---\n\nThis setting controls whether the device plays error audio cues (brief, distinctive sounds) for certain errors.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Query Parameters:*\n- The list of error suppressions. Currently the only supported value is `[\"CONNECTIVITY\"]`. An empty list shows that no errors are to be suppressed.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#put-errorsuppression-setting)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":["CONNECTIVITY"]}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/settings/Alexa.ManagedDevice.Settings.setupModePrivileges":{"get":{"tags":["Device Settings > Setup Mode Privileges"],"summary":"Get Setup Mode Privileges","description":"Get the list of setup mode privileges.\n---\n\nThis setting controls the end user's ability to put a device into configuration mode via the setup mode process (for example, by long-pressing the Action button on a device).\n\nAlexa supported list of setup mode privileges is, `[\"ALL_SETTINGS\"]`. `[\"ALL_SETTINGS\"]` allows the end user to put a device into setup mode. An empty list (`[]`) shows that setup mode is disabled.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n**Note:** Setup mode is disabled when the endpoint is associated with a unit within a property. It's enabled when the endpoint is associated with the caller's default unit or when it's not associated with any unit.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-setupmodeprivileges-setting)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/settings/Alexa.ManagedDevice.Settings.maximumVolumeLimit":{"get":{"tags":["Device Settings > Max. Volume Limit"],"summary":"Get Maximum Volume","description":"Get the maximum volume limit.\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-maximumvolumelimit-setting)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Device Settings > Max. Volume Limit"],"summary":"Set Maximum Volume","description":"Update the maximum volume limit.\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Value:*\n- An integer value from 0 to 100, inclusive.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#put-maximumvolumelimit-setting)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":80}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/settings/System.timeZone":{"get":{"tags":["Device Settings > TimeZone"],"summary":"Get TimeZone","description":"Get the time zone.\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-timezone-setting)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Device Settings > TimeZone"],"summary":"Set TimeZone","description":"Update the time zone.\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Value:*\n- A time zone string, following the Olson format defined in the [Timezone Database](https://www.iana.org/time-zones). For example: `\"Europe/Paris\"`.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#put-timezone-setting)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":"Europe/Paris"}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/settings/System.temperatureUnit":{"get":{"tags":["Device Settings > Temperature Unit"],"summary":"Get Temperature Unit","description":"Get the temperature scale (Celsius or Fahrenheit) setting.\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-temperatureunit-setting)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Device Settings > Temperature Unit"],"summary":"Set Temperature Unit","description":"Set the temperature scale (Celsius or Fahrenheit) setting.\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Value:*\n- A temperature string: `\"CELSIUS\"` or `\"FAHRENHEIT\"`.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#put-temperatureunit-setting)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":"CELSIUS"}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/settings/System.distanceUnits":{"get":{"tags":["Device Settings > Distance Unit"],"summary":"Get Distance Unit","description":"Get the distance units (Metric or Imperial) setting.\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-distanceunits-setting)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Device Settings > Distance Unit"],"summary":"Set Distance Unit","description":"Update the distance units (Metric or Imperial) setting.\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Value:*\n- A temperature string: `\"METRIC\"` or `\"IMPERIAL\"`.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#put-distanceunits-setting)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":"METRIC"}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/settings/Accessibility.Captions.AlexaCaptions.enablement":{"get":{"tags":["Device Settings > Accessibility (Multimodal) > Alexa Captions"],"summary":"Get Alexa Captions Enablement","description":"Get the Alexa caption setting.\n---\n\nThis setting controls whether a multimedia device displays the following information:\n\n- Alexa captions, which provide the text version of what Alexa speaks via SpeechSynthesizer.\n- The captions that accompany [AudioPlayer directives](https://developer.amazon.com/en-US/docs/alexa/custom-skills/audioplayer-interface-reference.html).\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-alexacaptions-setting)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Device Settings > Accessibility (Multimodal) > Alexa Captions"],"summary":"Set Alexa Captions","description":"Update the Alexa caption setting.\n---\n\nThis setting controls whether a multimedia device displays the following information:\n\n- Alexa captions, which provide the text version of what Alexa speaks via SpeechSynthesizer.\n- The captions that accompany [AudioPlayer directives](https://developer.amazon.com/en-US/docs/alexa/custom-skills/audioplayer-interface-reference.html).\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Value:*\n- A string representing the desired value of this setting: `\"ENABLED\"` or `\"DISABLED\"`.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#put-alexacaptions-setting)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":"ENABLED"}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/settings/Accessibility.Captions.ClosedCaptions.enablement":{"get":{"tags":["Device Settings > Accessibility (Multimodal) > Closed Captions"],"summary":"Get Closed Captions Enablement (for Video Content)","description":"Get the closed caption setting.\n---\n\nThis setting controls whether a multimedia device displays closed captions for video content.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-closedcaptions-setting)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Device Settings > Accessibility (Multimodal) > Closed Captions"],"summary":"Set Closed Captions","description":"Update the closed caption setting.\n---\n\nThis setting controls whether a multimedia device displays closed captions for video content.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Value:*\n- A string representing the desired value of this setting: `\"ENABLED\"` or `\"DISABLED\"`.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#put-closedcaptions-setting)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":"ENABLED"}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/settings/Accessibility.Display.Magnifier.enablement":{"get":{"tags":["Device Settings > Accessibility (Multimodal) > Magnifier"],"summary":"Get Magnifier Enablement","description":"Get the device magnifier setting.\n---\n\nThis setting gives the device user the ability to enlarge items on the screen to improve readability.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-magnifier-setting)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Device Settings > Accessibility (Multimodal) > Magnifier"],"summary":"Set Magnifier","description":"Update the device magnifier setting\n---\n\nThis setting gives the device user the ability to enlarge items on the screen to improve readability.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Value:*\n- A string representing the desired value of this setting: `\"ENABLED\"` or `\"DISABLED\"`.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#put-magnifier-setting)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":"ENABLED"}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/settings/Accessibility.Display.ColorInversion.enablement":{"get":{"tags":["Device Settings > Accessibility (Multimodal) > Color Inversion"],"summary":"Get Color Inversion Enablement","description":"Get the screen color inversion setting.\n---\n\nThis setting gives the device user the ability to invert the screen display colors to improve readability.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-colorinversion-setting)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Device Settings > Accessibility (Multimodal) > Color Inversion"],"summary":"Set Color Inversion","description":"Update the screen color inversion setting.\n---\n\nThis setting gives the device user the ability to invert the screen display colors to improve readability.\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n*Required Request Body Value:*\n- A string representing the desired value of this setting: `\"ENABLED\"` or `\"DISABLED\"`.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#put-colorinversion-setting)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":"ENABLED"}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/brightness":{"get":{"tags":["Device Settings > SmartHome > Brightness"],"summary":"Get Brightness","description":"Get the endpoint brightness level.\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#query-brightness-state)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/brightness/setBrightness":{"post":{"tags":["Device Settings > SmartHome > Brightness"],"summary":"Set Brightness","description":"Update the brightness level of the endpoint\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n- `operation`: The operation to perform: setBrightness\n\n*Required Request Body Value:*\n- `payload.brightness`: Brightness value. Valid values are from 0 to 100, inclusive. \n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#set-brightness-state)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"payload":{"brightness":50}}}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/brightness/adjustBrightness":{"post":{"tags":["Device Settings > SmartHome > Brightness"],"summary":"Adjust Brightness","description":"Update the brightness level of the endpoint\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n- `operation`: The operation to perform: adjustBrightness\n\n*Required Request Body Value:*\n- `payload.brightnessDelta`: Brightness delta value. Valid values are from -100 to 100, inclusive. \n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#set-brightness-state)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"payload":{"brightnessDelta":10}}}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/color":{"get":{"tags":["Device Settings > SmartHome > Color"],"summary":"Get Color","description":"Get the endpoint color property\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#query-color-state)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/color/setColor":{"post":{"tags":["Device Settings > SmartHome > Color"],"summary":"Set Color","description":"Set the endpoint color property\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n- `operation`: The operation to perform: setColor\n\n*Required Request Body Value:*\n- `payload.color.hue`: Hue value. \n- `payload.color.saturation`: Saturation value\n- `payload.color.brightness`: Brightness value\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#set-color-state)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"payload":{"color":{"hue":20,"saturation":0.75,"brightness":0.34}}}}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/colorTemperature":{"get":{"tags":["Device Settings > SmartHome > Color Temperature"],"summary":"Get Color Temperature","description":"Get the endpoint color temperature property\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#query-colortemperature-state)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/colorTemperature/setColorTemperature":{"post":{"tags":["Device Settings > SmartHome > Color Temperature"],"summary":"Set Color Temperature","description":"Set the endpoint color temperature property\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n- `operation`: The operation to perform: setColorTemperature\n\n*Required Request Body Value:*\n- `payload.colorTemperatureInKelvin`: Color temperature value. From 1000 to 10000, inclusive.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#set-colortemperature-state)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"payload":{"colorTemperatureInKelvin":2700}}}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/colorTemperature/increaseColorTemperature":{"post":{"tags":["Device Settings > SmartHome > Color Temperature"],"summary":"Increase Color Temperature","description":"Increase color temperature property for an endpoint\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n- `operation`: The operation to perform: setColorTemperature\n\n*Required Request Body Value:*\n- `payload.colorTemperatureInKelvin`: Color temperature value. From 1000 to 10000, inclusive.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#set-colortemperature-state)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"payload":{"colorTemperatureInKelvin":2700}}}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/colorTemperature/decreaseColorTemperature":{"post":{"tags":["Device Settings > SmartHome > Color Temperature"],"summary":"Decrease Color Temperature","description":"Decrease the endpoint color temperature property\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n- `operation`: The operation to perform: setColorTemperature\n\n*Required Request Body Value:*\n- `payload.colorTemperatureInKelvin`: Color temperature value. From 1000 to 10000, inclusive.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#set-colortemperature-state)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"payload":{"colorTemperatureInKelvin":2700}}}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/temperatureSensor":{"get":{"tags":["Device Settings > SmartHome > Temperature Sensor"],"summary":"Get Temperature","description":"Get the endpoint temperature sensor\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#query-temperatureSensor-state)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/power":{"get":{"tags":["Device Settings > SmartHome > Power"],"summary":"Get Power State","description":"Get the endpoint color property\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#query-power-state)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/power/turnOn":{"post":{"tags":["Device Settings > SmartHome > Power"],"summary":"Turn On Endpoint Power","description":"Turn on the endpoint power\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n- `operation`: The operation to perform: turnOn\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#set-power-state)","requestBody":{"content":{}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/power/turnOff":{"post":{"tags":["Device Settings > SmartHome > Power"],"summary":"Turn Off Endpoint Power","description":"Turn off the endpoint power\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n- `operation`: The operation to perform: turnOff\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#set-power-state)","requestBody":{"content":{}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/thermostat":{"get":{"tags":["Device Settings > SmartHome > Thermostat"],"summary":"Get Thermostat Value","description":"Get the endpoint thermostat value\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#query-thermostat-state)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/thermostat/setTargetSetpoint":{"post":{"tags":["Device Settings > SmartHome > Thermostat"],"summary":"Set Manual Setpoint","description":"Set Thermostat Manual Setpoint for an endpoint\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n- `operation`: The operation to perform: setTargetSetpoint\n\n*Required Request Body Value:*\n- `payload.targetSetpoint`: target set point for a single setpoint thermostat.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#settargetsetpoint)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"payload":{"targetSetpoint":{"value":21,"scale":"CELSIUS"}}}}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/thermostat/adjustTargetSetpoint":{"post":{"tags":["Device Settings > SmartHome > Thermostat"],"summary":"Adjust Manual Setpoint","description":"Adjust Thermostat Manual Setpoint for an endpoint\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n- `operation`: The operation to perform: adjustTargetSetpoint\n\n*Required Request Body Value:*\n- `payload.targetSetpointDelta`: The amount by which the thermostat should adjust the set point.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#adjusttargetsetpoint)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"payload":{"targetSetpointDelta":{"value":-2,"scale":"CELSIUS"}}}}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/thermostat/setThermostatMode":{"post":{"tags":["Device Settings > SmartHome > Thermostat"],"summary":"Set Thermostat Mode","description":"Set the mode of the thermostat\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n- `operation`: The operation to perform: setThermostatMode\n\n*Required Request Body Value:*\n- `payload.thermostatMode`: The mode to set the thermostat to.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#setthermostatmode)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"payload":{"thermostatMode":"HEAT"}}}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/thermostat/resumeSchedule":{"post":{"tags":["Device Settings > SmartHome > Thermostat"],"summary":"Resume Schedule","description":"Revert the thermostat mode and setpoint(s) to a pre-programmed schedule\n---\n\n*Required Request Query Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n- `operation`: The operation to perform: resumeSchedule\n\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-endpoint-api.html#resumeschedule)","requestBody":{"content":{}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/credentiallocker/v2/saveWifiConfigurations":{"post":{"tags":["Wifi Management"],"summary":"Save Wifi Configuration","description":"Save Wi-Fi configurations in Amazon Locker for later use with an endpoint.\n---\n*Required Request Body Parameters:*\n- `credentialConfiguration.privateSharedKey`: Private shared key. Must be enclosed in double quotation marks.\n- `ssid`: Wifi configuration network name. Must be enclosed in double quotation marks.\n- `keyManagement`: Wifi configuration security type. Valid values are NONE for open networks or WPAPSK for password-based Wi-Fi SSIDs.\n\n**Note:** To use these requests, you'll need an LWA token with \"credential_locker::wifi_management\" and \"alexa::enterprise:management\" scopes.\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#post-savewificonfigurations)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"wifiConfigurations":[{"credentialConfiguration":{"privateSharedKey":"\"{{WifiPassword}}\""},"ssid":"\"{{WifiSsid}}\"","keyManagement":"WPAPSK"}]}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/connectivity/addOrUpdateWifiConfigurations":{"post":{"tags":["Wifi Management"],"summary":"Assign WIfi to Device","description":"Associate saved Wi-Fi configurations with an endpoint.\n---\n\n*Required Request Path Parameters:*\n- `endpointId`: The endpoint ID returned by the [Enumerate endpoints](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#enumerate-endpoints) call.\n\n*Required Request Body Parameters:*\n- `ssid`: Wifi configuration network name. Must be enclosed in double quotation marks. Must be the same value used in the call to POST saveWifiConfigurations.\n- `keyManagement`: Wifi configuration security type. Must be the same value used in the call to POST saveWifiConfigurations.\n\n**Note:** You can associate up to 32 Wi-Fi configurations with each endpoint.\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#post-addorupdatewificonfigurations)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"payload":{"wifiConfigurations":[{"ssid":"\"{{WifiPassword}}\"","keyManagement":"WPAPSK"}]}}}}}},"parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{EndpointId}/features/connectivity/addOrUpdateWifiConfigurations/submittedOperations/{WifiOperationId}":{"get":{"tags":["Wifi Management"],"summary":"Get Wifi Installation Status","description":"Get the status of an `addOrUpdateWifiConfigurations` operation.\n---\n\n*Required Request Path Parameters:*\n- `endpointId`: The endpoint ID. Must be the same ID that you used in the call to POST `addOrUpdateWiFiConfigurations`.\n- `operationId`: The operation ID. Must be the `submittedOperationId` value returned by the POST `addOrUpdateWifiConfigurations` call\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#get-wifi-installation-status)","parameters":[{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true},{"name":"WifiOperationId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/proactive/campaigns":{"get":{"tags":["Notifications > Rotating Cards"],"summary":"List Cards","responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"post":{"tags":["Notifications > Rotating Cards"],"summary":"Create Card","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"suggestion":{"variants":[{"placement":{"channel":"HOME"},"content":{"values":[{"locale":"en-US","document":{"type":"Link","src":"doc://alexa/apl/documents/enterprise/suggestions/home/defaultTemplate"},"datasources":{"displayText":{"headerText":"Pool Party","primaryText":"Happy hour is starting now in the pool area!","secondaryText":"Try \"{WakeWord}, where is the swimming pool\""},"background":{"backgroundImageSource":"https://www.zephyrus.de/wp-content/uploads/Header-Startseite-1024x465.jpg"}}}]}}]},"targeting":{"type":"UNITS","values":[{"id":"{{UnitId}}"}]},"scheduling":{"activationWindow":{}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/proactive/campaigns/{CampaignId}":{"get":{"tags":["Notifications > Rotating Cards"],"summary":"Read Card","parameters":[{"name":"CampaignId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"delete":{"tags":["Notifications > Rotating Cards"],"summary":"Delete Card","parameters":[{"name":"CampaignId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v3/notifications":{"post":{"tags":["Notifications"],"summary":"Send Pinned Cards","description":"Send a voice announcement into a unit\n---\n\nSee more details about the different types of Notification [here](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-notifications-api.html#notification-types)\n\n**Note:** `notification.variants[].type` must be of type `DeviceNotification ` to send a device notification.\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-notifications-api.html#sendNotifications)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"recipients":[{"type":"Unit","id":"{{UnitId}}"}],"notification":{"variants":[{"type":"PersistentVisualAlert","content":{"variants":[{"type":"V0Template","values":[{"locale":"en-US","document":{"type":"Link","src":"doc://alexa/apl/documents/enterprise/notifications/persistentvisualalert/defaultTemplate"},"datasources":{"displayText":{"title":"Continental breakfast","body":"Breakfast is served until 11:30 am!"},"background":{"backgroundImageSource":"https://www.gutekueche.ch/upload/rezept/709/croissants-grundrezept.jpg"}}}]}]},"dismissalTime":"2022-01-21T00:00:00.00Z"}]}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/discoverySessions/{DiscoverySessionId}":{"get":{"tags":["Smart Home > Discovery Management"],"summary":"Get Discovery Session Status","description":"Determine the status of a Discovery Session.\n---\n\n*Required Request Path Parameters:*\n- `id`: The discovery session ID, in the format \"amzn1.alexa.discoverySession.{id}\". Must be the `id` value returned by the `POST discoverySessions` call.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-discovery-session-api.html#get-discovery-session)","parameters":[{"name":"DiscoverySessionId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/discoverySessions":{"post":{"tags":["Smart Home > Discovery Management"],"summary":"Initiate Discovery Session","description":"Create a Discovery Session\n---\nThis is initiated a discovery session on the Alexa Built-in device associated into a unit (e.g a room).\n\n*Required Request Query Parameters:*\n- `unit`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\".\n\n*Required Request Body Parameters:*\n- `endpointReporter.type`: The endpoint reporter type. Currently only SKILL is supported.\n- `endpointReporter.value.skillId`: The skill ID, in the format \"amzn1.alexa.skill.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-discovery-session-api.html#create-discovery-session)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"endpointReporter":{"type":"SKILL","value":{"skillId":"{{SkillId}}","skillStage":"{{SkillStageLive}}"}}}}}}},"parameters":[{"name":"unit","in":"query","schema":{"type":"string"},"description":"The unit ID, in the format \"amzn1.alexa.unit.did.{id}\" (Required Field).","example":"{{UnitId}}"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v2/endpoints/{ApplianceId}/forget":{"post":{"tags":["Smart Home > Discovery Management"],"summary":"Forget Appliance","description":"Forget an endpoint.\n---\n\n*Required Request Path Parameters:*\n- `endpointId`: The endpoint ID, in the Amazon Common Identifier (ACI) format \"amzn1.alexa.endpoint.{id}\".\n\n**Note:** This call only applies to Alexa's representation of the endpoint. It doesn't propagate back to the entity that reported the endpoint to Alexa (for example, a smart home skill). To ensure the endpoint is not automatically reconnected to Alexa, remove it from the reporter. For example, for endpoints that are reported by a manufacturer's smart home skill, remove the endpoint from the manufacturer's app before calling forget.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-endpoint-api.html#forget-endpoint)","requestBody":{"content":{}},"parameters":[{"name":"ApplianceId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/deviceGroups":{"get":{"tags":["Smart Home > Device Group Management"],"summary":"List Device Groups into a Unit","description":"Retrieve a list of device groups from a given unit (property, room type or room).\n---\n\n*Required Request Query Parameters:*\n- `associatedUnits.id`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-device-group-mgt-api.html#list-groups)","parameters":[{"name":"associatedUnits.id","in":"query","schema":{"type":"string"},"description":"The unit ID, in the format \"amzn1.alexa.unit.did.{id}\".","example":"{{UnitId}}"},{"name":"expand","in":"query","schema":{"type":"string"},"description":"The set of properties to return in the response. Currently the only supported value is \"all\". If this parameter isn't specified, only the \"id\" property is returned.","example":"all"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"post":{"tags":["Smart Home > Device Group Management"],"summary":"Create Device Group","description":"Create a device group into a given unit (property, room type or room).\n---\n\n*Required Request Body Parameters:*\n- `friendlyName`: The device group's friendly name, as a [`NameValue`](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-device-group-mgt-api.html#namevalue-object) object. All device groups within a unit must have unique names.\n- `associatedUnits`: Unit identifiers to associate with the device group.\n\n**Note**: Keep in mind the following constraints:\n\n1. Exactly one unit must be specified.\n\n2. The specified unit must exist and the caller must have access to it.\n\n3. Once created, a device group's associated unit cannot be changed.\n\n4. A unit cannot be associated with a device group after the device group has been created.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-device-group-mgt-api.html#create-group)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"friendlyName":{"type":"PLAIN","value":{"text":"{{FriendlyName}}"}},"associatedUnits":[{"id":"{{UnitId}}"}]}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/deviceGroups/{EndpointGroupId}/friendlyName":{"post":{"tags":["Smart Home > Device Group Management"],"summary":"Update Device Group Friendly Name","description":"Change a device group's friendly name.\n---\n*Required Request Path Parameters:*\n- `id`: The device group identifier. Must represent a valid device group.\n\n*Required Request Body Parameters:*\n- `friendlyName`: The new friendly name for the device group, as a [`NameValue`](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-device-group-mgt-api.html#namevalue-object) object.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-device-group-mgt-api.html#change-friendly-name)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"type":"PLAIN","value":{"text":"{{FriendlyName}}"}}}}}},"parameters":[{"name":"EndpointGroupId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/deviceGroups/{EndpointGroupId}/memberDevices":{"post":{"tags":["Smart Home > Device Group Management"],"summary":"Add Endpoint to Group","description":"Add a device to a device group.\n---\n*Required Request Path Parameters:*\n- `id`: The device group identifier. Must represent a valid device group.\n\n*Required Request Body Parameters:*\n- `memberDevice`: Device to add to the device group as a member. as a [`Endpoint`](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-device-group-mgt-api.html#endpoint-object) object.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-device-group-mgt-api.html#add-device)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"memberDevice":{"id":"{{EndpointId}}"}}}}}},"parameters":[{"name":"EndpointGroupId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/deviceGroups/{EndpointGroupId}/memberDevices/{EndpointId}":{"delete":{"tags":["Smart Home > Device Group Management"],"summary":"Remove Endpoint from Group","description":"Remove a device from a device group.\n---\n*Required Request Path Parameters:*\n- `id`: The device group identifier. Must represent a valid device group.\n- `endpointId`: The endpoint identifier for the device to remove from the device group.  Must represent a valid [`Endpoint`](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-device-group-mgt-api.html#endpoint-object) object for a member device in the device group.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-device-group-mgt-api.html#remove-device)","parameters":[{"name":"EndpointGroupId","in":"path","schema":{"type":"string"},"required":true},{"name":"EndpointId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/deviceGroups/{EndpointGroupId}":{"delete":{"tags":["Smart Home > Device Group Management"],"summary":"Delete Device Group","description":"Delete a device group.\n---\n\n*Required Request Path Parameters:*\n- `id`: The device group identifier. Must represent a valid device group.\n\n**Note:** All member devices and associated units are removed from the device group upon deletion, but they continue to exist.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-device-group-mgt-api.html#delete-group)","parameters":[{"name":"EndpointGroupId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/skills/enablements":{"get":{"tags":["Skill Management"],"summary":"List All Skill Enablement","description":"Get a list of all skill enablements for a unit.\n---\n\n*Required Request Query Parameters:*\n- `unitId`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\".\n\n**Note:** This will give you all skill enablement whatever skill stage has been enabled.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-skill-management-api.html#list-skill-enablements-for-a-unit)","parameters":[{"name":"unitId","in":"query","schema":{"type":"string"},"description":"The unit ID, in the format \"amzn1.alexa.unit.did.{id}\" (Required Field).","example":"{{UnitId}}"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/skills/{SkillId}/enablements":{"get":{"tags":["Skill Management"],"summary":"Get Skill Status in Unit","description":"Get the skill enablement record for a specific skill for a unit.\n---\n\n*Required Request Path Parameters:*\n- `skillId`: The skill ID, in the format \"amzn1.alexa.skill.{id}\".\n\n*Required Request Query Parameters:*\n- `unitId`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-skill-management-api.html#get-skill-enablement-record-for-a-unit)","parameters":[{"name":"unitId","in":"query","schema":{"type":"string"},"description":"The unit ID, in the format \"amzn1.alexa.unit.did.{id}\" (Required Field).","example":"{{UnitId}}"},{"name":"SkillId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"post":{"tags":["Skill Management"],"summary":"Enable a Skill into a Unit","description":"Enable a skill for a unit.\n---\n\n*Required Request Path Parameters:*\n- `skillId`: The skill ID, in the format \"amzn1.alexa.skill.{id}\".\n\n*Required Request Body Parameters:*\n- `unitId`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\".\n- `stage`: The selected skill stage: `development` or `live`\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-skill-management-api.html#enable-a-skill)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"unitId":"{{UnitId}}","stage":"{{SkillStageLive}}"}}}}},"parameters":[{"name":"SkillId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"delete":{"tags":["Skill Management"],"summary":"Disable a Skill from a Unit","description":"Disable a skill for a unit.\n---\n\n*Required Request Path Parameters:*\n- `skillId`: The skill ID, in the format \"amzn1.alexa.skill.{id}\".\n\n*Required Request Query Parameters:*\n- `unitId`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\".\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-skill-management-api.html#disable-a-skill)","parameters":[{"name":"unitId","in":"query","schema":{"type":"string"},"description":"The unit ID, in the format \"amzn1.alexa.unit.did.{id}\" (Required Field).","example":"{{UnitId}}"},{"name":"SkillId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/skills/{SkillId}/enablements/batch":{"post":{"tags":["Skill Management"],"summary":"Bulk Enablement - Same Skill - Multiple Units","description":"Enable the same skill for multiple units in a single request.\n---\n\n*Required Request Path Parameters:*\n- `skillId`: The skill ID, in the format \"amzn1.alexa.skill.{id}\".\n\n*Required Request Body Parameters:*\n- `unitId`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\".\n- `stage`: The selected skill stage: `development` or `live`\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-skill-management-api.html#enable-a-skill-bulk)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"items":[{"itemId":0,"unitId":"amzn1.alexa.unit.unitId1","stage":"live","partitionName":"10-101","accountLinkRequest":{"redirectUri":"https://redirecturi.com","authCode":"3pauthcode1","type":"AUTH_CODE"}},{"itemId":1,"unitId":"amzn1.alexa.unit.unitId2","stage":"live","partitionName":"11-101,11-102,11-103"}]}}}}},"parameters":[{"name":"SkillId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/communications/profile/":{"post":{"tags":["Communications > Communication Profile"],"summary":"Create Communication Profile","description":"Create a communication profile.\n---\n\nWhen you create a communication profile, it enables the communication capability and creates a profileId for a unit.\n\n*Required Request Body Parameters:*\n- `type`: The type of ID you are using to create a communication profile.\n- `id`: The unit ID you are using to create a communications profile, in the format \"amzn1.alexa.unit.did.{UnitId}\"\n\n**Note:**  If a profile already exists for the unit, the existing profileID for the unit is returned.\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#create-profile)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"entity":{"type":"UNIT","id":"amzn1.alexa.unit.did.{UnitId}"},"name":"profile display name"}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/communications/profiles/batch":{"post":{"tags":["Communications > Communication Profile"],"summary":"Bulk Creation - Communication Profile","description":"Create communication profiles in batch.\n---\n\nYou can create profiles for up to 100 units in a single request (one profile per unit). \n\nEach unit receives a unique `profileId`. \n\nYou can then add the `profileId` as a contact in the address book of a different unit.\n\n*Required Request Body Parameters:*\n- `type`: The type of ID you are using to create a communication profile.\n- `id`: The unit ID you are using to create a communications profile, in the format \"amzn1.alexa.unit.did.{UnitId}\"\n- `itemId`: The unique ID of a request item. Typically item IDs are a sequence of numbers from starting from 1.\n\n**Note:**  If a profile already exists for the unit, the existing profileID for the unit is returned.\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#create-communication-profiles-in-bulk)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":"{\n    \"items\": [\n        {\n            \"itemId\": {uniqueRequestItemId1},\n            \"entity\": {\n                \"type\": \"UNIT\",\n                \"id\": \"amzn1.alexa.unit.did.{unitId-1}\"\n            },\n            \"name\": \"{optionalProfileDisplayName1}\"\n        },\n        {\n            \"itemId\": {uniqueRequestItemId2},\n            \"entity\": {\n                \"type\": \"UNIT\",\n                \"id\": \"amzn1.alexa.unit.did.{unitId-2}\"\n            },\n            \"name\": \"{optionalProfileDisplayName2}\"\n        }\n    ]\n}"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/communications/profile/{CommsProfileId}":{"get":{"tags":["Communications > Communication Profile"],"summary":"Get a Unit ID from a Communication ProfileId","description":"Get the unit ID associated with a communication profile.\n---\n\n*Required Request Path Parameters:*\n- `profileId `: The unique profile id that identifies the communication profile you are fetching. Generated when you created a communication profile for the first time.\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#get-a-communication-profile-by-profileid)","parameters":[{"name":"CommsProfileId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Communications > Communication Profile"],"summary":"Update Communication Profile Display Name","description":"Create a communication profile.\n---\n\nWhen you create a communication profile, it enables the communication capability and creates a profileId for a unit.\n\n*Required Request Body Parameters:*\n- `type`: The type of ID you are using to create a communication profile.\n- `id`: The unit ID you are using to create a communications profile, in the format \"amzn1.alexa.unit.did.{UnitId}\"\n\n**Note:**  If a profile already exists for the unit, the existing profileID for the unit is returned.\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#create-profile)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"name":"<profile display name>"}}}}},"parameters":[{"name":"CommsProfileId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"delete":{"tags":["Communications > Communication Profile"],"summary":"Delete Communication Profile","description":"Delete a communication profile.\n---\n\nThis call completes the following actions:\n\n1. Disables the communication capability.\n2. Deletes the profileId assigned to a unit.\n3. Delete any contacts in address books where profileID is the contact.\n\n*Required Request Path Parameters:*\n- `profileId`: The unique profile id that identifies the communication profile you are deleting. Generated when you created a communication profile for the first time.\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#delete-a-communication-profile)","parameters":[{"name":"CommsProfileId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/communications/profile":{"get":{"tags":["Communications > Communication Profile"],"summary":"Get a Communication Profile by Unit ID","description":"Get the Communication Profile associated with a unit.\n---\n\n*Required Request Query Parameters:*\n- `entity.type`: The type of id for the communication profile you are fetching.\n- `entity.id`: The unit ID of the communication profile you are fetching, in the format \"amzn1.alexa.unit.did.{UnitId}\"\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#get-a-communication-profile-by-entity-id)","parameters":[{"name":"entity.type","in":"query","schema":{"type":"string"},"description":"The type of id for the communication profile you are fetching.","example":"UNIT"},{"name":"entity.id","in":"query","schema":{"type":"string"},"description":"The unit ID of the communication profile you are fetching, in the format \"amzn1.alexa.unit.did.{UnitId}\"","example":"{{RoomId}}"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/addressBooks":{"get":{"tags":["Communications > Address Books"],"summary":"List Address Books","description":"Retrieve the list of address books.\n---\n\nThe optional `maxResults` and `nextToken` values provide pagination for the results.\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#list-address-books)","responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"post":{"tags":["Communications > Address Books"],"summary":"Create Address Book","description":"Create an address book.\n---\n\n*Required Request Body Parameters:*\n- `name`: The address book name. Must be between 1 and 50 characters long.\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#create-an-address-book)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"name":"Hotel Address Book"}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/addressBooks/{AddressBookId}":{"get":{"tags":["Communications > Address Books"],"summary":"Read Address Book","description":"Retrieve the metadata for an address book.\n---\n\n*Required Request Path Parameters:*\n- `addressBookId`: The address book ID, in the format \"amzn1.alexa.addressbook.did.{id}\".\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#get-address-book)","parameters":[{"name":"AddressBookId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Communications > Address Books"],"summary":"Update Address Book","description":"Update the address book name.\n---\n\n*Required Request Path Parameters:*\n- `addressBookId`: The address book ID, in the format \"amzn1.alexa.addressbook.did.{id}\".\n\n*Required Request Body Parameters:*\n- `name`: The new address book name. Must be between 1 and 50 characters long.\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#update-address-book)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"name":"my address book name"}}}}},"parameters":[{"name":"AddressBookId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"delete":{"tags":["Communications > Address Books"],"summary":"Delete Address Book","description":"Update the address book name.\n---\n\n*Required Request Path Parameters:*\n- `addressBookId`: The address book ID, in the format \"amzn1.alexa.addressbook.did.{id}\".\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#delete-an-address-book)","parameters":[{"name":"AddressBookId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/addressBooks/{AddressBookId}/contacts":{"get":{"tags":["Communications > Contacts"],"summary":"List Contacts","description":"Retrieve the contacts for a given address book.\n---\n\n*Required Request Path Parameters:*\n- `addressBookId`: The address book ID, in the format \"amzn1.alexa.addressbook.did.{id}\".\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#list-contacts)","parameters":[{"name":"AddressBookId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"post":{"tags":["Communications > Contacts"],"summary":"Create Contact with Phone Numbers","description":"Add a contact to an address book with phone numbers for PSTN calling.\n---\n\nA contact is an address book entry that represents a callable Alexa device or PSTN number. \n\nYou can create a contact with either a phone number or a communication profile.\n\n*Required Request Path Parameters:*\n- `addressBookId`: The address book ID, in the format \"amzn1.alexa.addressbook.did.{id}\".\n\n*Required Request Body Parameters:*\n- `name`: The contact name. Must be between 1 and 50 characters long.\n- `number`: The contact phone number. Must be a US, UK, or Canada (CA) telephone number in E.164 format. Up to three phone numbers can be specified for a contact. \n\n**Note:** You can't add both a phone number and a alexaCommunicationProfileId to the same contact.\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#create-contact)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"contact":{"name":"{{ContactName}}","phoneNumbers":[{"number":"+12055551233"},{"number":"+12055551244"}]}}}}}},"parameters":[{"name":"AddressBookId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/addressBooks/{AddressBookId}/contacts/batch":{"post":{"tags":["Communications > Contacts"],"summary":"Bulk Creation - Contacts","description":"Create address book contacts in batch.\n---\n You can create up to 100 contacts in a single request.\n\nA contact is an address book entry that represents a callable Alexa device or PSTN number. \n\nYou can create a contact with either a phone number or a communication profile.\n\n*Required Request Path Parameters:*\n- `addressBookId`: The address book ID, in the format \"amzn1.alexa.addressbook.did.{id}\".\n\n*Required Request Body Parameters:*\n- `items`: A list of items for which to execute the operation.\n- `itemId`: \tThe unique ID of a request item. Typically item IDs are a sequence of numbers from starting from 1.\n- `number`: The contact phone number. Must be in E.164 format. Up to three phone numbers can be added.\n- `alexaCommunicationProfileId`:The id of your communication profile.\n- `name`: The contact name. Must be between 1 and 50 characters long.\n\n**Note:** You can't add both a phone number and a alexaCommunicationProfileId to the same contact.\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#create-contacts-in-bulk)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":"{\n    \"items\": [\n        {\n            \"itemId\": {uniqueRequestItemId1},\n            \"contact\": {\n                \"name\": \"{contactName}\",\n                \"phoneNumbers\": [\n                    {\n                        \"number\": \"{phoneNumber}\"\n                    }\n                ]\n            }\n        },\n        {\n            \"itemId\": {uniqueRequestItemId2},\n            \"contact\": {\n              \"name\": \"{contactName}\",\n              \"alexaCommunicationProfileId\": \"{communicationProfile}\"\n            }\n        }\n    ]\n}"}}}},"parameters":[{"name":"AddressBookId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/addressBooks/{AddressBookId}/contacts/{ContactId}":{"get":{"tags":["Communications > Contacts"],"summary":"Read Contact","description":"Retrieve the metadata for a contact.\n---\n\nA contact is an address book entry that represents a callable Alexa device or PSTN number.\n\n*Required Request Path Parameters:*\n- `addressBookId`: The address book ID, in the format \"amzn1.alexa.addressbook.did.{id}\".\n- `contactId`: The contact ID, in the format \"amzn1.alexa.contacts.did.{id}\".\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#get-contact)","parameters":[{"name":"AddressBookId","in":"path","schema":{"type":"string"},"required":true},{"name":"ContactId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"put":{"tags":["Communications > Contacts"],"summary":"Update Contact for Communication Profile","description":"Update the metadata for a contact.\n---\n\nA contact is an address book entry that represents a callable Alexa device or PSTN number.\n\nYou can update a contact with either a phone number or a communication profile.\n\n*Required Request Path Parameters:*\n- `addressBookId`: The address book ID, in the format \"amzn1.alexa.addressbook.did.{id}\".\n- `contactId`: The contact ID, in the format \"amzn1.alexa.contacts.did.{id}\".\n\n*Required Request Body Parameters:*\n- `name`: The contact name. Must be between 1 and 50 characters long.\n- `alexaCommunicationProfileId`: The id of your communication profile. \n\n**Note:** You can't add both a phone number and a alexaCommunicationProfileId to the same contact.\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#update-a-contact)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"contact":{"name":"space","alexaCommunicationProfileId":"{{CommsProfileId}}"}}}}}},"parameters":[{"name":"AddressBookId","in":"path","schema":{"type":"string"},"required":true},{"name":"ContactId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"delete":{"tags":["Communications > Contacts"],"summary":"Delete Contact","description":"Delete a contact from an address book.\n---\n\nA contact is an address book entry that represents a callable Alexa device or PSTN number.\n\n*Required Request Path Parameters:*\n- `addressBookId`: The address book ID, in the format \"amzn1.alexa.addressbook.did.{id}\".\n- `contactId`: The contact ID, in the format \"amzn1.alexa.contacts.did.{id}\".\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#delete-a-contact)","parameters":[{"name":"AddressBookId","in":"path","schema":{"type":"string"},"required":true},{"name":"ContactId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/addressBooks/unitAssociations":{"get":{"tags":["Communications > Address Book Associations"],"summary":"List Address Book Asssociations into a Unit","description":"Retrieve the list of address books that are associated with a unit.\n---\n\n*Required Request Query Parameters:*\n- `unitId`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\".\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#list-address-book-associations-for-a-unit)","parameters":[{"name":"unitId","in":"query","schema":{"type":"string"},"example":"{{RoomId}}"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/addressBooks/{AddressBookId}/unitAssociations":{"post":{"tags":["Communications > Address Book Associations"],"summary":"Create Address Book Association","description":"Associate an address book with a unit.\n---\n\n*Required Request Query Parameters:*\n- `addressBookId`: The address book ID, in the format \"amzn1.alexa.addressbook.did.{id}\".\n\n*Required Request Body Parameters:*\n- `unitId`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\".\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#create-address-book-association)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"unitId":"amzn1.alexa.unit.did.{id}"}}}}},"parameters":[{"name":"AddressBookId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"get":{"tags":["Communications > Address Book Associations"],"summary":"Read Address Book Association","description":"Retrieve an address book association with a unit.\n---\n\n*Required Request Query Parameters:*\n- `addressBookId`: The address book ID, in the format \"amzn1.alexa.addressbook.did.{id}\".\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#get-address-book-association)","parameters":[{"name":"AddressBookId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"delete":{"tags":["Communications > Address Book Associations"],"summary":"Delete Address Book Association","description":"Remove the association between an address book and a unit.\n---\n\n*Required Request Query Parameters:*\n- `addressBookId`: The address book ID, in the format \"amzn1.alexa.addressbook.did.{id}\".\n\n*Required Request Path Parameters:*\n- `unitId`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\".\n\n**Note:** All of a unit's address book associations must be deleted before the unit itself can be deleted.\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#delete-address-book-association)","parameters":[{"name":"unitId","in":"query","schema":{"type":"string"},"description":"The unit ID, in the format \"amzn1.alexa.unit.did.{id}\" (Required Field).","example":"{{RoomId}}"},{"name":"AddressBookId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/addressBooks/{AddressBookId}/unitAssociations/batch":{"post":{"tags":["Communications > Address Book Associations"],"summary":"Bulk Creation - Address Book Association","description":"Associate in batch the same address book with multiple units.\n---\n\nA single call can associate an address book with up to 100 units.\n\n*Required Request Query Parameters:*\n- `addressBookId`: The address book ID, in the format \"amzn1.alexa.addressbook.did.{id}\".\n\n*Required Request Body Parameters:*\n- `itemId`: The unique ID of a request item. Typically item IDs are a sequence of numbers from starting from 1.\n- `unitId`: The unit ID, in the format \"amzn1.alexa.unit.did.{id}\".\n\n---\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-communications-api.html#create-address-book-associations-in-bulk)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":"{\n    \"items\": [\n        {\n            \"itemId\": {uniqueRequestItemId1},\n             \"unitId\": \"amzn1.alexa.unit.did.{unitId-1}\"\n        },\n        {\n            \"itemId\": {uniqueRequestItemId2},\n             \"unitId\": \"amzn1.alexa.unit.did.{unitId-2}\"\n        }\n    ]\n}"}}}},"parameters":[{"name":"AddressBookId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}},"/v1/communications/profile/{CommsProfileId}/reciprocalAssociations":{"get":{"tags":["Communications > Inbound Calling"],"summary":"Get Reciprocal Association Status","description":"Get reciprocal association status between profileId and contactId\n---\n\n*Required Request Path Parameters:*\n- `profileId`: The unique profile id that identifies the communication profile for an entity. Generated when you created a communication profile for the first time.\n\n*Required Request Query Parameters:*\n- `contactId`: ContactId for which reciprocal association status against profileId will be retrieved.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-communications-api.html#get-reciprocal-association-status)","parameters":[{"name":"contactId","in":"query","schema":{"type":"string"},"example":"{{ContactId}}"},{"name":"CommsProfileId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"post":{"tags":["Communications > Inbound Calling"],"summary":"Create Reciprocal Association","description":"Create a reciprocal association between profileId of a property unit and contactId of an external contact\n---\n\n*Required Request Path Parameters:*\n- `profileId`: The unique profile id that identifies the communication profile for an entity. Generated when you created a communication profile for the first time..\n\n*Required Request Body Parameters:*\n- `contact.id`: contactId of the external contact for which reciprocal contact will be created against profileId. \n\n**Note:** Messaging and Drop-In calling are not supported with the Inbound Calling feature.\n\n---\n\n[see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-communications-api.html#create-recriprocal-association)","requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"contact":{"id":"{{ContactId}}"}}}}}},"parameters":[{"name":"CommsProfileId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}},"delete":{"tags":["Communications > Inbound Calling"],"summary":"Delete a Reciprocal Association Status","description":"Delete the reciprocal association between profileId and contactId. ---\nThis API will remove entity (UNIT) as contact from contactId’s customer’s addressBook and will send an Alexa message to external user’s Alexa companion app and Echo devices informing them that the association has been deleted.  The deletion of reciprocal association disables Inbound Calling for that external contact to that unit. *Required Request Path Parameters:* - `profileId`: The unique profile id that identifies the communication profile for an entity. Generated when you created a communication profile for the first time. *Required Request Body Parameters:* - `contactId`:ContactId for which reciprocal association status against profileId will be retrieved. --- [see Online Doc](https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/asp-in-senior-living-communications-api.html#delete-reciprocal-association)","parameters":[{"name":"contactId","in":"query","schema":{"type":"string"},"example":"{{ContactId}}"},{"name":"CommsProfileId","in":"path","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}}},"components":{"schemas":{"unit":{"type":"object","required":["id","parentId","name"],"properties":{"id":{"type":"string"},"level":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"name":{"type":"object"},"unitId":{"type":"string"},"stage":{"type":"string"}}}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"},"oauth2Auth":{"type":"http","scheme":"oauth2"},"noauthAuth":{"type":"http","scheme":"noauth"}}}}