Skip to main content
The Direct API authenticates every request with an API key passed in the x-api-key header.

API keys

  • Keys are issued per business. After Direct API access is enabled, a team administrator creates and manages keys from the Reap dashboard.
  • Keys carry scopes that limit which endpoints they can call.
  • Requests without a valid key receive 401 Unauthorized; requests with a valid key but insufficient scope receive 403 Forbidden.
  • Key management (creating, listing, updating, and revoking keys) is restricted to team administrators signed in to the dashboard; other roles receive 403 Forbidden. Keys themselves cannot manage keys.

Scopes

Treat API keys like passwords. Store them in a secrets manager, never commit them to source control, and rotate them immediately if exposed.