Onboarding a Domain Name via API
The following steps allow organizations to onboard new domain names to the Data Theorem platform, in order to discover and scan APIs.
Step 1: Retrieving an API key
You will first need to retrieve an API key from the Data Theorem portal, at https://www.securetheorem.com/sdlc/api_access. The API key should have the "API Security Results API" setting enabled:
Step 2: Adding a domain name using curl
The following curl
command can then be used to add a domain name to the Data Theorem platform, in order to scan for web servers and available APIs:
curl -H "Authorization: APIKey <enter your API key>" \
-d '{"domain_name":"<enter your domain name>"}' \
"https://api.securetheorem.com/apis/api_security/results/v2/domain_names" |