Note: Beagle Security API v1 has been deprecated. We recommend that you upgrade to v2
Status of a test
Get the status of a test that triggered from the API.
API
POSThttps://api.beaglesecurity.com/v1/test/status
Request headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Request body
| Name | Description |
|---|---|
| access_token | A unique token for accessing the API |
| application_token | A unique token for identifying the application in your account |
| result_token | A unique key for identify result session |
Example request
curl --location --request POST \
'https://api.beaglesecurity.com/v1/test/status' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_token":"7i8cesnridfk0ha65ufm03gctsikiici",
"application_token":"1iwg9chvbqb2uxvtxd8c3bf9c5t026xu",
"result_token":"y4lwsplywaoz135n70b7d49537zk9pbo"
}'
Response
| Name | Description |
|---|---|
| status | Status code for the API call |
| progress | Percentage of test completed |
| message | Success/failure message for the API call |
Example response
{
"status": "running",
"progress": 30,
"message": "Test has started successfully."
}
{
"status": "Failed",
"message": "Invalid application. Start test failed."
}