Get auth configs API in Website Scanner
Use this API to get a list of auth configs created for your website scans.
get auth configs
For geo-restricted data, use the following endpoints:
https://accessibility-eu.browserstack.com/api/website-scanner/v1/auth_configs (European Union)
https://accessibility.browserstack.com/api/website-scanner/v1/auth_configs (United States)
https://accessibility-in.browserstack.com/api/website-scanner/v1/auth_configs (India)
Request parameters
Request
curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
https://api-accessibility.browserstack.com/api/website-scanner/v1/auth_configs
-
No parameter required.
Response Attributes 200 OK JSON
Response
{
"success": true,
"data": {
"authConfigs": [
{
"id": 1560,
"name": "sampleform",
"type": "form",
"authData": {
"url": "https://sampleurl.com",
"username": "sample@sample.com",
"password": "sample_password",
"usernameSelector": "input[name=\"userName\"]",
"passwordSelector": "input[name=\"password\"]",
"submitSelector": "button[type=\"submit\"]"
}
}
{
"id": 1561,
"name": "samplebasic",
"type": "basic",
"data": {
"username": "sample@sample.com",
"password": "sample_password"
}
}
]
}
}
-
success Boolean
Indicates whether the request was successful.
-
data Object
â–¶ SHOW VALUESContains the list of authentication configurations.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.