# Hasura auth hook endpoint **GET /api/authn/hasura** The `HASURA_GRAPHQL_AUTH_HOOK` endpoint for Hasura auth. Use this endpoint to integrate Hasura's [webhook authentication flow](https://hasura.io/docs/latest/auth/authentication/webhook/). ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Parameters ### Query parameters - **resource** (string) - **unauthorizedRole** (string) ## Responses ### 200 The authenticated user claims in Hasura format. See [Hasura docs](https://hasura.io/docs/latest/auth/authentication/webhook/#webhook-response) for more information. #### Body: application/json (object) - **X-Hasura-User-Id** (string) - **X-Hasura-Role** (string) ### 400 Bad Request ### 401 Unauthorized [Powered by Bump.sh](https://bump.sh)