API ReferenceOverview

API keys

Authenticate every API request with a secret key in the Authorization header.

Create keys under Dashboard → Settings → API keys. Each key belongs to your account and can be revoked at any time.

Shell
curl https://api.riftip.com/v1/account \
  -H "Authorization: Bearer rk_live_4f9c2b1e7a..."

#Key types

PrefixUse
rk_live_Production. Acts on your real account.
rk_test_Test mode. Returns realistic data and never changes anything.

#Scopes

When you create a key, choose what it can do:

ScopeAllows
readAccount, usage, IPs and allowlist — read only
sub_usersCreate, update and delete sub-users
ipsReplace IPs and edit the allowlist

A request outside a key's scopes returns 403 with code insufficient_scope.

Heads up

API keys are secrets. Keep them on your server, never in a browser or mobile app, and rotate a key immediately if it's exposed.