Skip to content
Dashboard
Theme
Theme

The delivery log of a sign-in hook

GET /v1/sign_in_hooks/{hook}/deliveries: The delivery log of a sign-in hook.

View Markdown

GET /v1/sign_in_hooks/{hook}/deliveries

The hook’s calls, newest first. A pre_profile_issue hook lists one entry per sign-in that called it (outcome, the HTTP status it answered, latency); a post_directory_event hook lists its directory-event deliveries (state, attempts, last status). Never a request or response payload. Entries go with their sign-in or delivery retention.

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

  • limit integer

    min 1 · max 100 · default 20

  • after string

    Cursor from next_cursor.

  • 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/deliveries" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "list",
"data": [
{
"object": "sign_in_hook_delivery",
"id": "01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"hook_id": "hook_01J9ZQ4M7K2X8V3N5B6C1D0E9F",
"kind": "sign_in",
"sign_in_id": "01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"organization_id": "org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"connection_id": "conn_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"event_id": "01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"outcome": "example_outcome",
"status_code": 1,
"duration_ms": 1,
"attempts": 1,
"created_at": "2026-01-15T09:30:00Z"
}
],
"has_more": true,
"next_cursor": "cur_01J9Z3K5V7W8X9Y0Z1A2B3C4D5"
}