Skip to content
Dashboard
Theme
Theme

List challenged and blocked end-user sign-ins and sign-ups

GET /v1/user_management/bot_detections: List challenged and blocked end-user sign-ins and sign-ups.

View Markdown

GET /v1/user_management/bot_detections

Newest first, kept 90 days. Entries carry the network prefix (/24 or /48), the email domain, the country and the ASN; never a full address or email.

Scope
users:read
Auth
Secret key (sk_…)
Since
1.0
  • limit integer

    min 1 · max 100 · default 20

  • after string

    Cursor from next_cursor.

  • flow string

    one of sign_in, sign_up

  • action string

    one of challenged, blocked

  • rule_id string

    min length 1 · max length 64

  • reason string

    A rule kind, elevated_velocity or captcha_failed.

    min length 1 · max length 64

  • user string

    Only detections of this end user (a usr_ ID).

    min length 1 · max length 64

  • since string (date-time)

  • until string (date-time)

  • 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/user_management/bot_detections" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "list",
"data": [
{
"object": "bot_detection",
"id": "bdet_01J9ZQ4M7K2X8V3N5B6C1D0E9F",
"created_at": "2026-01-15T09:30:00Z",
"flow": "sign_in",
"action": "challenged",
"challenge": "captcha",
"rule_id": "01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"reasons": [
"Primary SSO connection for Acme Corp."
],
"user": "example_user",
"email_domain": "acme.com",
"country": "US",
"asn": 1,
"network": "example_network"
}
],
"has_more": true,
"next_cursor": "cur_01J9Z3K5V7W8X9Y0Z1A2B3C4D5"
}