Note: Beagle Security API v1 has been deprecated. We recommend that you upgrade to v2
Get result
Get the result of a test that triggered from the API.
API
POSThttps://api.beaglesecurity.com/v1/test/result
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 identifying the result session |
Example request
curl --location --request POST \
'https://api.beaglesecurity.com/v1/test/result' \
--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 |
| result | Test result in JSON format |
| message | Success/failure message for the API call |
Example response
{
"status": "Success",
"result": {result_json},
"message": "Test has started successfully."
}
{
"status": "Failed",
"result": null,
"message": "Invalid application token found."
}