PATCH https://api.cryptohopper.com/v1/user/usermetadata

Sets mobile_notifications to 1 in the user's metadata. It takes no input.

OAuth scope: user About scopes

The stored metadata is replaced by {"mobile_notifications": 1}, so any other metadata keys are removed.

Example request

curl -X PATCH "https://api.cryptohopper.com/v1/user/usermetadata" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Response

Example response (illustrative values)

{
    "data": "Mobile notifications enabled"
}

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