Fetch Mobile App asset tags using the Results API
Step 1: Get a valid Results API key
Get or create a Results API Key with both Mobile and API access (alternatively, you can use two different API keys)
Step 2: Fetch the Mobile App uuid
Fetch the uuid
of the Mobile App using the Mobile Security Results API (see documentation)
curl --request GET 'https://api.securetheorem.com/apis/mobile_security/results/v2/mobile_apps/826720001' \
--header 'Authorization: APIKey 12345'
The result will contain a uuid
field
{
....
"uuid": "d8e33494-3e7a-40ca-a7a4-b3f58c4032f8"
}
Step 3: Fetch the asset tags applied to the Mobile App
Use the uuid
from the previous step to fetch the asset tags using the API Security Results API (see documentation)
curl --request GET 'https://api.securetheorem.com/apis/api_security/results/v1beta1/assets/d8e33494-3e7a-40ca-a7a4-b3f58c4032f8/asset_tags' \
--header 'Authorization: APIKey 12345'
The response will contain the asset tags that are applied to this Mobile App