Skip to content

Authentication

All API requests must include an x-token header with your API token.

x-token: YOUR_TOKEN
Terminal window
curl 'https://api.echovalue.dev/kv/default/mykey' \
-H 'x-token: mytoken'

Every API response includes these headers:

HeaderDescription
x-costCredits deducted from your wallet for this request
x-balanceCredits remaining in your wallet after this request
StatusMeaning
401 UnauthorizedThe x-token header is missing or the token is invalid
402 Payment RequiredYour wallet has no credits remaining

See the Errors page for the full list of error codes.