Skip to content

Add Risk Intelligence API documentation#98

Merged
greenberga merged 8 commits intomainfrom
risk-intelligence-setup
Mar 10, 2026
Merged

Add Risk Intelligence API documentation#98
greenberga merged 8 commits intomainfrom
risk-intelligence-setup

Conversation

@greenberga
Copy link
Contributor

@greenberga greenberga commented Mar 5, 2026

A bunch of this is auto-generated API documentation. I'd recommend just running this locally and reading through the documentation under Risk Intelligence/Getting Started, following links where necessary.

Closes https://github.com/FriendlyCaptcha/friendly-captcha/issues/3280
Closes https://github.com/FriendlyCaptcha/friendly-captcha/issues/3336

@greenberga greenberga force-pushed the risk-intelligence-setup branch from aeeb8fb to d600ed0 Compare March 9, 2026 14:52
@greenberga greenberga requested a review from rokostik March 9, 2026 14:54
@greenberga greenberga self-assigned this Mar 9, 2026
Copy link
Contributor

@rokostik rokostik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!


## Caching

The SDK caches generated tokens to improve performance and efficiency. For example, if two `sdk.riskIntelligence()` calls get made (with the same sitekey and to the same API endpoint), they will receive the same token. You can disable this behavior by setting the `bypassCache` configuration parameter.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mention that it's cached for roughly 15 minutes?

Comment on lines 10 to 12
The primary way to get Risk Intelligence data is through the Risk Intelligence API. This allows you to collect a risk intelligence token in the frontend and send it to your backend for verification.
The primary way to get Risk Intelligence data is through the Risk Intelligence API. This allows you to collect a risk intelligence token in the frontend and send it to your backend to retrieve the data.

This functionality is currently in private beta and will be available for all **Advanced** and **Enterprise** plans later in Q1 2026. If you are interested in getting early access to this feature, please contact our support team.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would maybe link to the getting started section from here if the users wants to use the "primary" way?

@greenberga greenberga force-pushed the risk-intelligence-setup branch from 1092fc1 to d5f6bc1 Compare March 10, 2026 14:45
@greenberga greenberga merged commit ff05b10 into main Mar 10, 2026
@greenberga greenberga deleted the risk-intelligence-setup branch March 10, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants