https://networkcalc.com/api/reports/domain-reports/{domain_id}
Trigger an on-demand report to be run for a domain.
curl -X POST https://networkcalc.com/api/reports/123 \
--header "Authorization: Bearer 2jdS83kfDdDfllHk"
{
"status": "OK",
"domain_id": "123",
"report_url": "https://networkcalc.com/my/reports?highlight=bbbe76a8-d12f-4b24-a30d-0140d6d2e82b"
}
Parameters
{domain_id}(Optional) The unique ID of the domain.
Example: https://networkcalc.com/api/reports/domain-reports/123
Response Format
Response Codes
200
OK - Success.401
INVALID_REQUEST - The authorization header is missing.401
INVALID_GRANT - The given access token is expired or invalid.400
NOT_GENERATED - The report was not generated due to some error.