/v1/me
Bearer auth. See Concepts → Authentication.
GET /v1/me
What it does: Returns the project identity associated with your API key. Useful for verifying a freshly rotated key without sending a real push.
When to use it:
- Smoke-testing a new
lpk_live_*from your terminal. - Health checks in your deploy pipeline.
Authentication: Bearer.
Example:
curl https://api.litepush.dev/v1/me \
-H "Authorization: Bearer lpk_live_xxxxxxxx"
Success — 200 OK:
{
"project": {
"id": "prj_01HXM...",
"name": "My blog",
"domain": "myblog.com",
"vapid_public": "BNcRdreALR..."
}
}
Never returns secrets (the VAPID private key, the API key, the webhook signing secret).
Errors:
401 invalid_api_key.