Get a domain's scan login
curl --request GET \
--url https://app.ilitylabs.com/v1/domains/{slug}/scan-auth \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.ilitylabs.com/v1/domains/{slug}/scan-auth', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.ilitylabs.com/v1/domains/{slug}/scan-auth"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"available": true,
"configured": true,
"method": "basic",
"username": "<string>",
"has_password": true,
"login_url": "<string>",
"username_selector": "<string>",
"password_selector": "<string>",
"submit_selector": "<string>",
"logged_in_selector": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}{
"detail": "<string>",
"reason": "<string>"
}Domains
Get a domain's scan login
Returns how ility signs in to the domain’s site before crawling and scanning it. The password is never returned: has_password says whether one is stored. configured: false means scans run as an anonymous visitor. available: false means scan logins aren’t set up on this deployment.
GET
/
v1
/
domains
/
{slug}
/
scan-auth
Get a domain's scan login
curl --request GET \
--url https://app.ilitylabs.com/v1/domains/{slug}/scan-auth \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.ilitylabs.com/v1/domains/{slug}/scan-auth', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.ilitylabs.com/v1/domains/{slug}/scan-auth"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"available": true,
"configured": true,
"method": "basic",
"username": "<string>",
"has_password": true,
"login_url": "<string>",
"username_selector": "<string>",
"password_selector": "<string>",
"submit_selector": "<string>",
"logged_in_selector": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}{
"detail": "<string>",
"reason": "<string>"
}Authorizations
Response
OK