Bluetooth API Reference
The Bluetooth API enables you to get Bluetooth feature properties and to unpair Bluetooth devices from an Alexa-enabled device.
API endpoint
The endpoint of the Bluetooth API is https://api.amazonalexa.com
.
Authentication
Each API request must have an authorization header whose value is the access token retrieved from Login with Amazon (LWA).
Operations
The Bluetooth API includes the following operations.
Operation | HTTP Method and URI |
---|---|
| |
|
Get Bluetooth features
Gets Bluetooth feature properties, operations, and the configuration.
This operation is available in the following countries.
Healthcare | Hospitality | Residential | Senior Living | Core |
---|---|---|---|---|
None |
US, UK, FR, CA, IT, DE |
US, CA |
US, UK, FR, CA, IT, DE |
None |
Request
To get the Bluetooth feature properties, operations, and configuration, you make a GET request to the /v2/endpoints/{id}/features/bluetooth
resource.
Request header example
GET /v2/endpoints/{id}/features/bluetooth HTTP/1.1
Host: api.amazonalexa.com
Authorization: Bearer {access token}
Request header parameters
Parameter | Description | Type | Required |
---|---|---|---|
|
String |
Yes | |
|
Endpoint identifier. The format of the ID must be |
String |
Yes |
Request body example
The request has no body.
Request body parameters
The request has no body.
Response
A successful response returns HTTP 200.
Response body example
The following example shows a response.
HTTP/1.1 200 OK
{
"operations": [
{
"name": "unpair",
"path": "/v2/endpoints/{id}/features/bluetooth/unpair"
}
]
}
Response body parameters
Parameter | Description | Type |
---|---|---|
|
Supported properties accessible to the caller. Currently limited to |
List of objects |
|
Supported operations accessible to the caller. Currently limited to |
List of operation objects |
|
Operation name. Currently limited to |
String |
|
Full path to invoke the operation. |
String |
|
Configuration data accessible to the caller. Currently limited |
List of configuration objects |
HTTP status codes
Status | Description |
---|---|
|
The request succeeded. |
|
The request was malformed or missing required parameters. |
|
Authorization token is invalid, expired, or doesn't have access to the resource. |
|
The request couldn't complete because of the client doesn't have permission to perform the operation. |
|
The endpoint is not found or the specified feature or operation isn't available on the endpoint. |
|
User has exceeded the permitted rate limit (specified number of requests per unit of time). |
|
Server has encountered an error. |
Unpair all Bluetooth devices from the Alexa-enabled device
Unpairs all of the Bluetooth devices from the Alexa-enabled device.
This operation is available in the following countries.
Healthcare | Hospitality | Residential | Senior Living | Core |
---|---|---|---|---|
None |
US, UK, FR, CA, IT, DE |
US, CA |
US, UK, FR, CA, IT, DE |
None |
Request
To unpair the Bluetooth devices, you make a POST
request to the /v2/endpoints/{endpointId}/features/bluetooth/unpair
resource.
Request header example
POST /v2/endpoints/{endpointId}/features/bluetooth/unpair HTTP/1.1
Host: api.amazonalexa.com
Authorization: Bearer {access token}
Request header parameters
Parameter | Description | Type | Required |
---|---|---|---|
|
String |
Yes | |
|
Endpoint identifier. The format of the ID must be |
String |
Yes |
Request body example
The request has no body.
Request body parameters
The request has no body.
Response
A successful response returns HTTP 202
.
Response body example
The response has no body.
Response body parameters
The response has no body.
HTTP status codes
Status | Description |
---|---|
|
Devices were unpaired. |
|
The request was malformed or missing required parameters. |
|
Authorization token is invalid, expired, or doesn't have access to the resource. |
|
The request couldn't complete because of the client doesn't have permission to perform the operation. |
|
The endpoint is not found or the specified feature or operation isn't available on the endpoint. |
|
User has exceeded the permitted rate limit (specified number of requests per unit of time). |
|
Server has encountered an error. |
|
Endpoint is not reachable |
Related topics
- Get Started with Alexa Smart Properties for Residential APIs
- REST API Reference
- About Alexa Smart Properties
Last updated: Nov 22, 2022