Endpoint Settings REST API Reference
Use the Endpoint Settings REST API to view and update Alexa-connected endpoint settings, such device address, timezone, or do-not-disturb setting. In Alexa Smart Properties (ASP), an endpoint represents an Alexa-connected device or component with which an ASP resident can interact, such as Amazon Echo devices or Alexa-connected lights. You use the Endpoint Settings API along with the Endpoints REST API to view and change settings on devices owned by your Amazon Business account.
API endpoint
Based on the country of your organization, set the Host
parameter in the request header to one of the following API endpoints.
Country | Endpoint |
---|---|
CA, US |
|
DE, ES, FR, IT, UK |
|
JP |
|
Authentication
Each API request must have an authorization header whose value is the access token retrieved from Login with Amazon (LWA). For details, see Manage API Access.
Operations
The Endpoint Settings API includes the following operations.
Operation | HTTP method and URI |
---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
Get multiple settings
Get the current values of more than one setting for the specified endpoint.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource and specify the settings in the query path. If you request multiple settings, the response might be paginated.
Request path and header example
GET /v2/endpoints/{endpointId}/settings?keys={settingName, settingName, ...}&nextToken={nextToken}&maxResults={maxResults}
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Query |
Comma separated list of setting names. |
String |
Yes |
|
Query |
Maximum number of results to return in the response. |
Integer |
No |
|
Query |
Token from the previous response. |
String |
No |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the requested settings for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The following example shows the response to a request for four settings: GET /v2/endpoints/{endpointId}/settings?keys=System.temperatureUnit,System.distanceUnits,Alexa.DoNotDisturb.doNotDisturb,System.timeZone
.
{
"settings": [{
"key": "System.distanceUnits",
"value": "IMPERIAL"
},
{
"key": "System.temperatureUnit",
"value": "CELSIUS"
}
],
"errors": [{
"status": 204,
"key": "System.timeZone",
"code": "NO_CONTENT",
"message": "Setting value is empty"
},
{
"status": 403,
"key": "Alexa.DoNotDisturb.doNotDisturb",
"code": "ACCESS_DENIED",
"message": "The access to the specific setting is unauthorized"
}
],
"paginationContext": {}
}
Response body properties
Property | Description | Type |
---|---|---|
|
Unordered list of requested setting values. |
Array of objects |
|
Setting name from request. |
String |
|
Setting value. |
String |
|
(Optional) List of errors that occurred. |
Array of objects |
|
Setting name from request. |
String |
|
String | |
|
Identifies the error. |
String |
|
Human readable error message. |
String |
|
(Optional) Wrapper for |
Object |
|
Identifies the next set of setting values to return. |
String |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the requested settings on the specified endpoint. If an individual setting fails, the response includes an |
|
Setting exists, but the setting value is empty. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get address setting
Get the address setting for the specified endpoint. For details, see Enhance Your Skill With Address Information.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To get the address, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/address
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
{
"address": {
"addressLine1": "221 Baker Ave",
"addressLine2": "",
"addressLine3": "",
"city": "Sunnyvale",
"stateOrRegion": "CA",
"districtOrCounty": "",
"postalCode": "94085",
"countryCode": "US"
}
}
Response body properties
Property | Description | Type |
---|---|---|
|
Address of the specified endpoint. |
Address object |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the address setting for the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get AlexaCaptions setting
Get the Alexa caption setting for the specified endpoint.
This setting controls whether a multimedia device displays the following information:
- Alexa captions, which provide the text version of what Alexa speaks through the
SpeechSynthesizer
interface. - Captions that accompany AudioPlayer directives.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, CA, IT, DE, ES, JP |
US, UK, CA, FR, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the Alexa captions setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
"ENABLED"
Response body properties
Type | Description |
---|---|
String |
Current value of the Alexa captions setting on the specified endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get ClosedCaptions setting
Get the closed caption setting for the specified endpoint. This setting controls whether a multimedia device displays closed captions for video content.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, CA, IT, DE, ES, JP |
US, UK, CA, FR, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the closed captions setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
"ENABLED"
Response body properties
Type | Description |
---|---|
String |
Current value of the closed captions setting on the specified endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get ColorInversion setting
Get the screen color inversion setting for the specified endpoint. This setting gives the device user the ability to invert the screen display colors to improve readability.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, CA, IT, DE, ES, JP |
US, UK, CA, FR, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/Accessibility.Display.ColorInversion.enablement
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the screen color inversion setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
"ENABLED"
Response body properties
Type | Description |
---|---|
String |
Current value of the color inversion setting on the specified endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get DistanceUnits setting
Get the distance units (metric or imperial) setting for the specified endpoint.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/System.distanceUnits
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the distance units setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
"METRIC"
Response body properties
Type | Description |
---|---|
String |
Current value of the distance units setting on the specified endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get DoNotDisturb setting
Get the do-not-disturb setting for the specified endpoint. This setting prevents notifications and proactive experiences, such as calls, from disturbing the user.
DoNotDisturb
mode, proactive suggestion campaigns only appear when the user has interacted with Alexa recently. After a few minutes of no interaction with Alexa, the device returns to showing the clock.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/Alexa.DoNotDisturb.doNotDisturb
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the do-not-disturb setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
true
Response body properties
Type | Description |
---|---|
Boolean |
Current value of the do-not-disturb setting on the specified endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get ErrorSuppression setting
Get the list of errors that Alexa suppresses for the specified endpoint. This setting controls whether the device plays error audio cues, such as brief, distinctive sounds, when errors occur.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/Alexa.ManagedDevice.Settings.errorSuppression
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the error suppression setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
["CONNECTIVITY"]
Response body properties
Type | Description |
---|---|
Array of strings |
List of errors suppressed on the specified endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get FollowUp setting
Get the follow-up mode setting for the specified endpoint. If enabled, this setting allows Alexa to listen for a subsequent request from the user without requiring the user to say the wake word.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, JP |
US, UK, FR, CA, IT, DE, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/SpeechRecognizer.FollowUp.mode
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the follow-up mode setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
true
Response body properties
Type | Description |
---|---|
Boolean |
Current value of the follow-up mode setting on the specified endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get Locales setting
Get the preferred locales for the specified endpoint. For Alexa-enabled devices, this setting controls which languages Alexa understands and responds with.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/System.locales
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the list of locales for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
["en-US", "es-US"]
Response body properties
Type | Description |
---|---|
Array of strings |
List of up to two locale strings. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get Magnifier setting
Get the magnifier setting for the specified endpoint. This setting gives the user the ability to enlarge items on Alexa-devices with a screen to improve readability.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, CA, IT, DE, ES, JP |
US, UK, CA, FR, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/Accessibility.Display.Magnifier.enablement
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the magnifier setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
"ENABLED"
Response body properties
Type | Description |
---|---|
String |
Current value of the magnifier setting on the specified endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get MaximumVolumeLimit setting
Get the maximum volume-limit setting for the specified endpoint.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/Alexa.ManagedDevice.Settings.maximumVolumeLimit
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the maximum volume-limit setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
90
Response body properties
Type | Description |
---|---|
Integer |
Current value of the maximum volume-limit setting on the specified endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get SetupModePrivileges setting
Get the list of setup-mode privileges for the specified endpoint. This setting controls the user's ability to put a device into configuration mode by using the setup mode process, for example, by long-pressing the action button.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/Alexa.ManagedDevice.Settings.setupModePrivileges
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the list of setup-mode privileges for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
["ALL_SETTINGS"]
Response body properties
Type | Description |
---|---|
Array of strings |
Current list of setup-mode privileges on the specified endpoint. An empty list shows that setup-mode is disabled for the endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get SpeakingRate setting
Get the speaking-rate setting for the specified endpoint. This setting slows or increases Alexa's speech output to a preferred pace on an Alexa-enabled device.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, JP |
US, UK, FR, CA, IT, DE, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/SpeechSynthesizer.speakingRate
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the speaking-rate setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
0.75
Response body properties
Type | Description |
---|---|
Number |
Current value of the speaking-rate setting on the specified endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get SpeechConfirmation setting
Get the end-of-request sound setting for the specified endpoint. This 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.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/SpeechRecognizer.speechConfirmation
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the end-of-request sound setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
"NONE"
Response body properties
Type | Description |
---|---|
String |
Current value of the end-of-request speech confirmation setting on the specified endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get TemperatureUnit setting
Get the temperature scale setting for the specified endpoint.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/System.temperatureUnit
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the temperature scale setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
"FAHRENHEIT"
Response body properties
Type | Description |
---|---|
String |
Current value of the temperature scale setting on the specified endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get TimeFormat setting
Get the clock time-format setting for the specified endpoint.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/Alexa.DataFormat.Time.timeFormat
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the clock time-format setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
"24_HOURS"
Response body properties
Type | Description |
---|---|
String |
Current value of the clock time-format setting on the specified endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get TimeZone setting
Get the time zone setting for the specified endpoint.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/System.timeZone
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the time zone setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
"America/Los_Angeles"
Response body properties
Type | Description |
---|---|
String |
Current time zone setting on the specified endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get WakeWordConfirmation setting
Get the start-of-request wake-word confirmation setting for the specified endpoint. This setting specifies whether to play an audible tone in addition to the visual indicator when Alexa detects the wake word. The tone indicates that Alexa is now listening and capturing the request.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, JP |
US, UK, FR, CA, IT, DE, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/SpeechRecognizer.wakeWordConfirmation
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the start-of-request wake-word confirmation setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
"NONE"
Response body properties
Type | Description |
---|---|
String |
Current value of the start-of-request wake-word confirmation setting on the specified endpoint. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Get WakeWords setting
Get the list of wake words enabled for the specified endpoint. This setting specifies the list of alternative wake words that the user can say to wake up Alexa.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To get the setting, you make a GET
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
GET /v2/endpoints/{endpointId}/settings/SpeechRecognizer.wakeWords
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Accept: application/json
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
The request has no body.
Request body properties
The request has no body.
Response
A successful response returns HTTP 200 OK
, along with the wake-word setting for the specified endpoint.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
["ALEXA"]
Response body properties
Type | Description |
---|---|
Array of strings |
Current value of the wake-word setting on the specified endpoint. At this time, the list can contain one entry. |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the current value of the setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Set address
Set the address to the location of the endpoint. Alexa uses this setting for features like local search and weather. For details, see Enhance Your Skill With Address Information.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, JP |
US, UK, FR, CA, IT, DE, JP |
US |
Request
To create an address for the endpoint, you make a POST
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
POST /v2/endpoints/{endpointId}/settings/address
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
{
"address": {
"addressLine1": "221 Baker Ave",
"addressLine2": "",
"addressLine3": "",
"city": "Sunnyvale",
"stateOrRegion": "CA",
"districtOrCounty": "",
"postalCode": "94085",
"countryCode": "US"
}
}
Request body properties
Property | Description | Type | Required |
---|---|---|---|
|
Address of the specified endpoint. |
Address object |
Yes |
Response
A successful response returns HTTP 201 Created
, along with device address.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The following example shows a successful address creation response.
When the address lookup finds differences from the address given in the request, the response includes address suggestions. In this example, the postal code is different from the postal code in the request.
When the request is missing any required parameters or malformed, the response includes address errors. In this example, the response code is HTTP 400 Bad Request
.
Response body properties
Property | Description | Type |
---|---|---|
|
Address of the specified endpoint. Included on success |
Address object |
|
(Optional) List of address suggestions in descending order of confidence. Included for |
Array of Address objects |
|
(Optional) List of address errors. Included for |
Array of objects |
|
Error code that indicates whether a required address property is missing or an address property isn't valid. The |
String |
|
Additional information about why an address property isn't valid. |
String |
|
Human readable error message. |
String |
|
Address property to which the error applies. |
String |
HTTP status codes
Status | Description |
---|---|
|
Response body contains the address setting on the specified endpoint. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update AlexaCaptions setting
Update the Alexa caption setting on the specified endpoint.
This setting controls whether a multimedia device displays the following information:
- Alexa captions, which provide the text version of what Alexa speaks through the
SpeechSynthesizer
interface. - Captions that accompany AudioPlayer directives.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, CA, IT, DE, ES, JP |
US, UK, CA, FR, IT, DE, ES, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
Request body properties
Type | Description | Required |
---|---|---|
String |
Identifies the Alexa captions value to set on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update ClosedCaptions setting
Update the closed caption setting for the specified endpoint. This setting controls whether a multimedia device displays closed captions for video content.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, CA, IT, DE, JP |
US, UK, CA, FR, IT, DE, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
Request body properties
Type | Description | Required |
---|---|---|
String |
Identifies the closed captions value to set on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update ColorInversion setting
Update the screen color inversion setting for the specified endpoint. This setting gives the device user the ability to invert the screen display colors to improve readability.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, CA, IT, DE, JP |
US, UK, CA, FR, IT, DE, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
PUT /v2/endpoints/{endpointId}/settings/Accessibility.Display.ColorInversion.enablement
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
"ENABLED"
Request body properties
Type | Description | Required |
---|---|---|
String |
Identifies the color inversion value to set on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update DistanceUnits setting
Update the distance units (metric or imperial) setting for the specified endpoint.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, JP |
US, UK, FR, CA, IT, DE, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
PUT /v2/endpoints/{endpointId}/settings/System.distanceUnits
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
"METRIC"
Request body properties
Type | Description | Required |
---|---|---|
String |
Identifies the Alexa distance units value to set on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update DoNotDisturb setting
Update the do-not-disturb setting for the specified endpoint. This setting prevents notifications and proactive experiences, such as calls, from disturbing the user.
DoNotDisturb
mode, proactive suggestion campaigns only appear when the user has interacted with Alexa recently. After a few minutes of no interaction with Alexa, the device returns to showing the clock.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, JP |
US, UK, FR, CA, IT, DE, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
PUT /v2/endpoints/{endpointId}/settings/Alexa.DoNotDisturb.doNotDisturb
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
true
Request body properties
Type | Description | Required |
---|---|---|
Boolean |
Identifies the value of the do-not-disturb value to set on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update ErrorSuppression setting
Update the list of errors that Alexa suppresses for the specified endpoint. This setting controls whether the device plays error audio cues, such as brief, distinctive sounds, when errors occur.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, JP |
US, UK, FR, CA, IT, DE, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
PUT /v2/endpoints/{endpointId}/settings/Alexa.ManagedDevice.Settings.errorSuppression
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
["CONNECTIVITY"]
Request body properties
Type | Description | Required |
---|---|---|
Array of strings |
List of errors to suppress on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update FollowUp setting
Update the follow-up mode setting for the specified endpoint. If enabled, this setting allows Alexa to listen for a subsequent request from the user without requiring the user to say the wake word.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
PUT /v2/endpoints/{endpointId}/settings/SpeechRecognizer.FollowUp.mode
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
false
Request body properties
Type | Description | Required |
---|---|---|
Boolean |
Identifies the follow-up mode value to set on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update Locales setting
Update the preferred locales for the specified endpoint. For Alexa-enabled devices, this setting controls which languages Alexa understands and responds with.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, JP |
US, UK, FR, CA, IT, DE, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
PUT /v2/endpoints/{endpointId}/settings/System.locales
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
["en-US", "fr-FR"]
Request body properties
Type | Description | Required |
---|---|---|
Array of strings |
Locales to set on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update Magnifier setting
Update the magnifier setting for the specified endpoint. This setting gives the user the ability to enlarge items on Alexa-devices with a screen to improve readability.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, CA, IT, DE, JP |
US, UK, CA, FR, IT, DE, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
PUT /v2/endpoints/{endpointId}/settings/Accessibility.Display.Magnifier.enablement
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
"ENABLED"
Request body properties
Type | Description | Required |
---|---|---|
String |
Identifies the magnifier value to set on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update MaximumVolumeLimit setting
Update the maximum volume-limit setting for the specified endpoint.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, JP |
US, UK, FR, CA, IT, DE, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
PUT /v2/endpoints/{endpointId}/settings/Alexa.ManagedDevice.Settings.maximumVolumeLimit
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
95
Request body properties
Type | Description | Required |
---|---|---|
Integer |
Identifies the maximum volume-limit value to set on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update SpeakingRate setting
Update the speaking-rate setting for the specified endpoint. This setting adjusts Alexa's speech to a preferred pace on an Alexa-enabled device.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
PUT /v2/endpoints/{endpointId}/settings/SpeechSynthesizer.speakingRate
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
0.85
Request body properties
Type | Description | Required |
---|---|---|
Number |
Identifies the speaking-rate value to set on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update SpeechConfirmation setting
Update the end-of-request sound confirmation setting for the specified endpoint. This 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.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, JP |
US, UK, FR, CA, IT, DE, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
PUT /v2/endpoints/{endpointId}/settings/SpeechRecognizer.speechConfirmation
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
"TONE"
Request body properties
Type | Description | Required |
---|---|---|
String |
Identifies the end-of-request speech confirmation value to set on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update TemperatureUnit setting
Update the temperature scale setting for the specified endpoint
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, JP |
US, UK, FR, CA, IT, DE, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
PUT /v2/endpoints/{endpointId}/settings/System.temperatureUnit
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
"CELSIUS"
Request body properties
Type | Description | Required |
---|---|---|
String |
Identifies the temperature scale value to set on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update TimeFormat setting
Update the clock time-format setting for the specified endpoint.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, JP |
US, UK, FR, CA, IT, DE, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
PUT /v2/endpoints/{endpointId}/settings/Alexa.DataFormat.Time.timeFormat
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
"12_HOURS"
Request body properties
Type | Description | Required |
---|---|---|
String |
Identifies the clock time-format value to set on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update TimeZone setting
Update the time zone setting for the specified endpoint.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, JP |
US, UK, FR, CA, IT, DE, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
PUT /v2/endpoints/{endpointId}/settings/System.timeZone
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
"America/New_York"
Request body properties
Type | Description | Required |
---|---|---|
String |
Identifies the time zone value to set on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update WakeWordConfirmation setting
Update the start-of-request wake-word confirmation setting for the specified endpoint. This setting specifies whether to play an audible tone in addition to the visual indicator when Alexa detects the wake word. The tone indicates that Alexa is now listening and capturing the request.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES, JP |
US, UK, FR, CA, IT, DE, ES, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
PUT /v2/endpoints/{endpointId}/settings/SpeechRecognizer.wakeWordConfirmation
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
"TONE"
Request body properties
Type | Description | Required |
---|---|---|
String |
Identifies the start-of-request wake-word confirmation value to set on the specified endpoint. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Update WakeWords setting
Update the list of wake words enabled for the specified endpoint. This setting specifies the list of alternative wake words that the user can say to wake up Alexa.
WakeWords
setting for a device, you must set the Locales
setting. For details, see Put Locales
setting.This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, JP |
US, UK, FR, CA, IT, DE, JP |
US |
Request
To update the setting, you make a PUT
request to the /v2/endpoints/{endpointId}/settings
resource.
Request path and header example
PUT /v2/endpoints/{endpointId}/settings/SpeechRecognizer.wakeWords
Host: api.amazonalexa.com
Content-Type: application/json
Authorization: Bearer {access token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Path |
Unique ID for this endpoint that Amazon assigns to each customer device. |
String |
Yes |
|
Header |
Access token for the customer. |
String |
Yes |
Request body example
["ECHO"]
Request body properties
Type | Description | Required |
---|---|---|
String |
Identifies the wake-word value to set on the specified endpoint. At this time, the list can contain one entry. |
Yes |
Response
A successful response returns HTTP 204 No content
.
On error, the response returns the appropriate HTTP status code and includes a response body with an Error object.
Response body example
The response has no body.
Response body properties
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Setting applied successfully. |
|
Indicates that one or more properties in the request body aren't valid. |
|
Request didn't include the authorization token, or the included token expired or isn't valid. Or, you don't have access to the resource. |
|
Indicates that the authorization token is valid, but the requested operation isn't allowed. |
|
Requested resource not found. |
|
Indicates that the resource doesn't support the specified setting. |
|
Permitted rate limit, specified as the number of requests per unit of time, exceeded. You can retry the request by using exponential back-off. |
|
Error occurred on the server. You can retry the request by using exponential back-off. |
|
Server is down for maintenance, overloaded, or otherwise unavailable to handle the incoming request. |
Object definitions
The Endpoint Settings API defines the following objects and property values.
Address
The Address
object describes the location of the specified endpoint device.
Property | Description | Type | Required |
---|---|---|---|
|
First line of the address. |
String |
Yes |
|
Second line of the address. |
String |
Yes |
|
Third line of the address. |
String |
Yes |
|
City name. |
String |
Yes |
|
Abbreviation for the state, province, or region associated with the endpoint. |
String |
Yes |
|
District or county associated with the endpoint. |
String |
Yes |
|
Postal code or zip code. |
String |
Yes |
|
Two-letter country or region code. |
String |
Yes |
Address subCode values
The subCode
property provides additional information about why an address element isn't valid. The following table lists the subCode
values.
Value | Description |
---|---|
|
The address number isn't valid. |
|
The street address was not complete. |
|
The address line field contains junk data. |
|
The length of the address field is greater than allowed. |
|
There is no city of that name in the specified state. |
|
The specified county is incorrect. |
|
The specified state is incorrect. |
|
The specified zip code is incorrect for the specified street, city, or state. |
|
The street wasn't found in the specified city. |
|
The field has multi-byte characters. |
|
The address door-level info is missing. |
|
A required field was empty. |
Address element values
The following table lists the valid values for the address element
property.
Value | Description |
---|---|
|
First line of the address. |
|
Second line of the address, if any. |
|
Third line of the address, if any. |
|
Street name present in the address. |
|
Building number. |
|
Number for smaller units in a building, such as an apartment number. |
|
Neighborhoods are smaller regions of city. |
|
City or municipality that contains the address. |
|
U.S. state or possession that contains the address. |
|
Country that contains the address. |
|
5-digit or 9-digit zip code of the address. |
|
County that contains the address. |
|
Country code of the address. |
Error object
The Error
object defines the error type and message included in the response when an error occurs.
The following example shows the response body with the error type and message.
{
"type": "ENDPOINT_UNREACHABLE",
"message": "The endpoint is offline or unreachable."
}
Property | Description | Type |
---|---|---|
|
Type of error that occurred. |
String |
|
Human-readable error message. The error message appears only for debugging and logging purposes. You must not share it with the customer. No business logic should depend on the content of the error message. |
String |
Related topics
- Alexa Smart Properties REST API Reference
- Endpoints REST API Reference
- Endpoint Features REST API Reference
- Endpoint Wi-Fi Management REST API Reference
Last updated: Nov 04, 2024