GET https://api.cryptohopper.com/v1/device/check

For the Cryptohopper mobile apps, checks that the device in the deviceId header exists and is authorized. For any other app it always returns ok.

The handler checks no OAuth scope. Returns 404 Device not found or 402 Device not authorized when the check fails.

Example request

curl "https://api.cryptohopper.com/v1/device/check" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

NameTypeRequiredDescription
client_id string Optional Not read by the handler.
access-token string Optional The OAuth access token of the user.

Response

Example response (illustrative values)

{
    "data": "ok"
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.