Skip to main content
POST
/
device
/
otp
/
confirm
Confirm One-Time Password
curl --request POST \
  --url https://api.hapticsconnect.com/device/otp/confirm \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "otp": "<string>"
}
'
{
  "token": "jwt-token-123456"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
otp
string

Response

200 - application/json

OK

token
string

The device API token.

Example:

"jwt-token-123456"