Skip to content
Dashboard
Theme
Theme

Retrieve a sign-in hook

GET /v1/sign_in_hooks/{hook}: Retrieve a sign-in hook.

View Markdown

GET /v1/sign_in_hooks/{hook}

One hook, without its secret.

Scope
policies:read
Auth
Secret key (sk_…)
Since
1.0
  • hook string Required

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X GET \
"https://api.ohauthcat.com/v1/sign_in_hooks/hook_01J9ZQ4M7K2X8V3N5B6C1D0E9F" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"id": "hook_01J9ZQ4M7K2X8V3N5B6C1D0E9F",
"object": "sign_in_hook",
"point": "pre_profile_issue",
"url": "https://app.acme.com/callback",
"fail_mode": "closed",
"timeout_ms": 100,
"enabled": true,
"created_at": "2026-01-15T09:30:00Z",
"updated_at": "2026-01-15T09:30:00Z"
}