Check Device API

Used to check device status before pairing.


API Endpoint

POST
https://speaker-api.sepay.vn/devices/v1/speaker/pair/check

Request Parameters

hardwareIdstringrequired

Device serial number, printed on the device

Code Examples

>
>
>
>
>
curl --request POST \
--url https://speaker-api.sepay.vn/devices/v1/speaker/pair/check \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"hardwareId":"VNS52508000001"}'

API Response

Response 200 - Success
{
  "code": 200,
  "message": "Thành công",
  "data": {
    "hardwareId": "VNS52508000001",
    "model": "S5 Plus",
    "isPaired": false,
    "online": false
  }
}
codeinteger

Response code

messagestring

Result description

dataobject