As an option to increase org security, Okta supports CAPTCHA services to prevent automated sign-in attempts. You can integrate one of two providers: hCaptcha or reCAPTCHA v2.
The vendor implementations supported by Okta are both invisible. They each run risk-analysis software in the background during user sign in to determine the likelihood that the user is a bot. This risk analysis is based on the settings that you configure with the provider that you choose.
Before you configure your org to use CAPTCHA, sign in to the vendor of your choice or sign up for an account. For more details, refer to CAPTCHA integration.
okta.captchas.read
Lists all CAPTCHA instances with pagination support. A subset of CAPTCHA instances can be returned that match a supported filter expression or query.
OK
Forbidden
Too Many Requests
[- {
- "id": "string",
- "name": "string",
- "siteKey": "string",
- "type": "HCAPTCHA",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
]
okta.captchas.manage
Creates a new CAPTCHA instance. Currently, an org can only configure a single CAPTCHA instance.
Created
Bad Request
Forbidden
Too Many Requests
{- "name": "myHCaptcha",
- "secretKey": "xxxxxxxxxxx",
- "siteKey": "xxxxxxxxxxx",
- "type": "HCAPTCHA"
}
{- "id": "abcd1234",
- "name": "myHCaptcha",
- "siteKey": "xxxxxxxxxxx",
- "type": "HCAPTCHA",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "POST",
- "PUT",
- "DELETE"
]
}
}
}
}
okta.captchas.read
Retrieves the properties of a specified CAPTCHA instance
OK
Forbidden
Not Found
Too Many Requests
{- "id": "abcd1234",
- "name": "myHCaptcha",
- "siteKey": "xxxxxxxxxxx",
- "type": "HCAPTCHA",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "POST",
- "PUT",
- "DELETE"
]
}
}
}
}
okta.captchas.manage
Partially updates the properties of a specified CAPTCHA instance
OK
Bad Request
Forbidden
Not Found
Too Many Requests
{- "name": "myHCaptcha",
- "secretKey": "xxxxxxxxxxx",
- "siteKey": "xxxxxxxxxxx",
- "type": "HCAPTCHA"
}
{- "id": "abcd1234",
- "name": "myHCaptcha",
- "siteKey": "xxxxxxxxxxx",
- "type": "HCAPTCHA",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "POST",
- "PUT",
- "DELETE"
]
}
}
}
}
okta.captchas.manage
Replaces the properties for a specified CAPTCHA instance
OK
Bad Request
Forbidden
Not Found
Too Many Requests
{- "name": "myHCaptcha",
- "secretKey": "xxxxxxxxxxx",
- "siteKey": "xxxxxxxxxxx",
- "type": "HCAPTCHA"
}
{- "id": "abcd1234",
- "name": "myHCaptcha",
- "siteKey": "xxxxxxxxxxx",
- "type": "HCAPTCHA",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "POST",
- "PUT",
- "DELETE"
]
}
}
}
}
okta.captchas.manage
Deletes a specified CAPTCHA instance
Note: If your CAPTCHA instance is still associated with your org, the request fails. You must first update your Org-wide CAPTCHA settings to remove the CAPTCHA instance.
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}
okta.captchas.read
Retrieves the CAPTCHA settings object for your organization
Note: If the current organization hasn't configured CAPTCHA Settings, the request returns an empty object.
Success
Forbidden
Too Many Requests
{- "captchaId": "abcd4567",
- "enabledPages": [
- "SSR",
- "SIGN_IN"
], - "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "POST",
- "PUT",
- "DELETE"
]
}
}
}
}
okta.captchas.manage
Replaces the CAPTCHA settings object for your organization
Note: You can disable CAPTCHA for your organization by setting
captchaId
andenabledPages
tonull
.
Success
Bad Request
Forbidden
Too Many Requests
{- "captchaId": "abcd4567",
- "enabledPages": [
- "SSR",
- "SIGN_IN"
]
}
{- "captchaId": "abcd4567",
- "enabledPages": [
- "SSR",
- "SIGN_IN"
], - "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "POST",
- "PUT",
- "DELETE"
]
}
}
}
}
okta.captchas.manage
Deletes the CAPTCHA settings object for your organization
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}