Skip to main content
POST
/
devices
/
{id}
/
restart
restart device
curl --request POST \
  --url https://api.chatlevel.io/v1/devices/{id}/restart \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phoneNumber": "31612345678"
}
'
{
  "status": {
    "code": 200,
    "message": "Device 12345 restarted successfully"
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Provide your API key as: Authorization: Bearer <api_key>

Path Parameters

id
integer
required

Device ID Numeric device identifier

Body

application/json
phoneNumber
string

Phone number for pairing code authentication (alternative to QR code). Must be digits only, include country code.

Example:

"31612345678"

Response

Device restarted successfully

status
object