Authentication

Check whether the x-api-key header contains a valid API key. Returns 204 No Content when the key is valid and 401 Unauthorized otherwise. Useful as a lightweight connectivity and credential check.

get/v1/auth/verify

Request

  • Base URL
    https://api.bey.dev
  • URL
    https://api.bey.dev/v1/auth/verify
  • Auth
    API key in header x-api-key

Response

Valid API Key

Changes

    • breaking

      removed the success response with the status

    • info

      api tag Authentication added

    • info

      api tag auth removed

    • info

      added the non-success response with the status

    • info

      added the success response with the status