Skip to main content
A few lightweight endpoints let you inspect the key you’re calling with — useful for health checks, diagnostics, and surfacing key state in your own UI.

Is the key valid?

GET /auth/validate confirms the key is active and returns basic identity info (Valid, UserId).
curl https://dev.api.nestapi.com/auth/validate \
  -H "Authorization: Bearer YOUR_API_KEY"

When does the key expire?

GET /apiKey/validUntil returns the key’s expiry. A key with no expiry returns 31/12/9999.
curl https://dev.api.nestapi.com/apiKey/validUntil \
  -H "Authorization: Bearer YOUR_API_KEY"
Poll validUntil in scheduled jobs to warn before an integration’s key lapses, and rotate it ahead of time from your dashboard (see API keys).