palbaseDocs

Palbase Auth API · API

POST/auth/installations/{id}/refresh

Mark an installation as seen

Updates last_seen_at on an active installation. Only the user currently bound to it may call this; any other caller, and an unknown or revoked installation, gets 404. Takes no request body.

Called by a signed-in user of your app, with their token and the publishable key.

Path

idstring · requiredInstallation ID (`ins_…`).
curl
curl -X POST "https://<your-ref>.palbase.studio/auth/installations/<id>/refresh" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "authorization: Bearer $USER_ACCESS_TOKEN"

Responses

200Installation refreshed

401Missing, invalid, or expired credentials

404Resource does not exist or is not visible to the caller

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation RefreshInstallation of auth's contract.