Skip to content
Gave

Authentication

Send your API key in the x-api-key header of every request under /v1:

curl https://api.sandbox.gave.sh/v1/users/alice/balance \
  -H "x-api-key: $GAVE_API_KEY"

Every request is scoped to the key's integrator: you only ever see your own users, rewards and vault.

Refusals

StatusErrorMeaningWhat to do
401UnauthorizedThe key is missing or unknownCheck the header and the key
403IntegratorSuspendedYour integrator is suspendedContact Gave
403IntegratorMismatchA spend event's integratorId isn't the key'sSend your own integrator ID
429RateLimitedToo many requestsRetry after retryAfterSeconds
503UnavailableThe key couldn't be checked right nowRetry: it's not a bad key

The response body is described in Errors.