Skip to main content

Get application profile details with the REST API

To return the details of a specific application profile based on the application ID, send the following request.

Before you begin​

To authenticate with Veracode, ensure you have set up API authentication for HMAC or OAuth 2.0.

Veracode HMAC authentication​

http --auth-type=veracode_hmac GET "https://api.veracode.com/appsec/v1/applications/{applicationGuid}"

OAuth 2.0 Client Credentials authentication​

http --auth-type=oauth2-client-credentials-flow `
--auth="$($env:VERACODE_CLIENT_ID):$($env:VERACODE_CLIENT_SECRET)" `
--token-endpoint="$($env:VERACODE_TOKEN_URL)" `
--token-request-type=basic GET "https://api.veracode.com/appsec/v1/applications/{applicationGuid}"

Filter application profiles​

To filter application profiles based on a legacy ID and retrieve the results, send the following request.

This call returns information based on the app_id parameter of the XML APIs. The Veracode REST APIs use the application GUID.

Veracode HMAC authentication​

http --auth-type=veracode_hmac GET "https://api.veracode.com/appsec/v1/applications?legacy_id={legacy_id}"

OAuth 2.0 Client Credentials authentication​

http --auth-type=oauth2-client-credentials-flow `
--auth="$($env:VERACODE_CLIENT_ID):$($env:VERACODE_CLIENT_SECRET)" `
--token-endpoint="$($env:VERACODE_TOKEN_URL)" `
--token-request-type=basic GET "https://api.veracode.com/appsec/v1/applications?legacy_id={legacy_id}"