Features Pricing Regions Support Blog ⚡ Free Audit Start free Log in FR

Get current key

Returns the identity and scopes granted to the authenticated API key. Useful for connectivity checks and verifying that the key has the required permissions.

GET /v1/me

No specific scope required — any valid API key can call this endpoint.

Example request

curl https://api.cache-boost.com/v1/me \
  -H "Authorization: Bearer cb_live_YOUR_KEY"

Response

Returns 200 OK with the key identity and granted scopes.

{
  "user_id": 42,
  "scopes": ["sites:read", "boosts:read", "boosts:write"],
  "site_ids": null
}

site_ids is null when the key has access to all sites, or an array of integers when restricted to specific sites.

Errors

CodeDescription
401Missing or invalid API key.