POST https://api.cryptohopper.com/v1/user/askai/vote

Rates an Ask AI answer. The vote value is added to the answer's satisfaction score, so send 1 for a helpful answer and -1 for an unhelpful one.

OAuth scope: read user About scopes

Example request

curl -X POST "https://api.cryptohopper.com/v1/user/askai/vote" \
  -H "access-token: YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"vote_id":98765,"vote":1}'

Parameters

Headers

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

Response

Example response (illustrative values)

{
    "data": "Vote saved."
}

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